Game Modes: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
==Notes== | |||
Game mode can't be changed at runtime, which is why projects like UltimateFpsV3, have multiple copies of maps | |||
and each of those copies simply change the game mode | |||
GameModes or GameMode is a class that the Unreal Engine utilizes for each map inside GameMode | GameModes or GameMode is a class that the Unreal Engine utilizes for each map inside GameMode | ||
The game mode also specifies | The game mode also specifies | ||
Revision as of 14:23, 24 April 2025
Notes
Game mode can't be changed at runtime, which is why projects like UltimateFpsV3, have multiple copies of maps and each of those copies simply change the game mode
GameModes or GameMode is a class that the Unreal Engine utilizes for each map inside GameMode
The game mode also specifies
- Default Pawn Class
- HUD Class
- Player Controller Class
- Game State Class
- Player State Class
- Spectator Class
These classes are called at certain events within your game or level, or provide special functionality for example
Player State Class is replicated automatically for multiplier, (If your're making a single player game it doesn't matter)
In The World Settings of the map you can specify a game mode
If the World Settings Panel isn't showing, open your map(or select your map tab), than click on Window->World Settings
If you want to create your own game mode you can simply create a new blueprint class that inherits from GameMode