Unreal Engine 4 Game Development Quick Start Guide
上QQ阅读APP看书,第一时间看更新

World settings

Most of these properties aren't used too often, but there are a few here that interest us:

  • Enable World Composition: For open world style games, this option would need to be enabled. Epic Games has good resources for creating this type of world. Searching for UE4 World Composition will provide you with plenty of tutorials for that.
  • KillZ: This is the height at which actors get destroyed. If you're creating a level with a lot of height and your character keeps disappearing when you drop down, check this value to make sure it's low enough. It will appear as a red line in any of the side/front Viewports.
  • GameMode Override: Instead of using the default GameMode class (which we will discuss with other Project Settings shortly), each level can override that with a specific GameMode class. For example, if you were making a third-person game, but one level was a car race, you could use this to set specific rules and character/HUD classes for this level, instead of needing to integrate both types of gameplay into one GameMode class. Once a GameMode override is set, each individual class default can be edited in the Selected GameMode dropdown beneath it.
  • Override World Gravity: As withGameMode, instead of using the Project Settings value for gravity, each level can have its own.

Next, we will take a look at how to customize the editor itself with editor preferences to make our workflow easier.