Game Modes

From Unreal Wiki
Revision as of 15:36, 24 April 2025 by Unreal583 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Game Mode

GameModes or GameMode is a class that the Unreal Engine utilizes for each map inside GameMode

The game mode also specifies

  1. Default Pawn Class
  2. HUD Class
  3. Player Controller Class
  4. Game State Class
  5. Player State Class
  6. 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