Difference between revisions of "Custom Menu Screens"
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
== Placing Your Menu Camera == | == Placing Your Menu Camera == | ||
− | * Select the SpectatorCameraTrigger from your Root Templates and add it somewhere in your level. | + | * Select the SpectatorCameraTrigger from your Root Templates and add it somewhere in your level. Alternatively, the editor has a convenience option under the Tools menu to ''Place spec cam at current pos'', which will place a SpectatorCameraTrigger at the current position of the camera in the editor. |
− | * Give | + | |
+ | * Give your new SpectatorCameraTrigger the name 'Camera_Start'. | ||
[[File:StartMenuTut SpectatorCameraAdd.png|frame|left|Adding a Spectator Camera Trigger]] | [[File:StartMenuTut SpectatorCameraAdd.png|frame|left|Adding a Spectator Camera Trigger]] | ||
[[File:Tut StartMenu SpectatorCameraName.png|none|x300px|Assign 'Start_Camera' to the name]] | [[File:Tut StartMenu SpectatorCameraName.png|none|x300px|Assign 'Start_Camera' to the name]] |
Latest revision as of 00:28, 6 September 2017
Preparing the Level
Custom Menu Screens are created by adding a Spectator Camera Trigger to a level and then linking it to the project settings for your mod. There are some special rules to know about when designing your level to be used as a Menu Screen. When the menu screen is displayed from the game menu, there is no server running, which means that spawned creatures and interactive items will not display. For this reason, most artists prefer to create levels or terrains specifically tailored as menus screens rather than using the ones played in game. Doing this also allows for more creativity in moving objects around and adjusting the lighting for the specific field of view that the camera will have.
Placing Your Menu Camera
- Select the SpectatorCameraTrigger from your Root Templates and add it somewhere in your level. Alternatively, the editor has a convenience option under the Tools menu to Place spec cam at current pos, which will place a SpectatorCameraTrigger at the current position of the camera in the editor.
- Give your new SpectatorCameraTrigger the name 'Camera_Start'.
- Once your Spectator Camera is placed in your level, you can move it around and rotate it with the translation controls like any other object.
- You can get a live preview of how the Start Menu will look by selecting the Spectator Camera->right mouse click->"Activate in FX Preview".
- Keep in mind that the game places a thin UI overlay towards the right hand of the screen, so you may want to account for it.
Assigning the Menu Level to your Mod
Once you are happy with the placement and field of view of the Start Camera in your menu level, you simply assign it to the project through the "Project->Project Settings..." menu under the 'General' tab.
When you start up the game, you will see your menu anytime you return to playing your mod!