Today I will be showing how to add end game cinematic camera movement at the end which will replace the generic "level failed" screen, a video can be found below.
- Open Radiant
- Right click in the 2D view and navigate to script>struct. You will see a small orange box spawn, with the box selected open the entity window and type the KVPs:
Note: INT stands for "integer". In the value place a whole number of your choice must be entered for the speed of the camera. Usually between 10-40 is good.
- Create another script_struct and place it where you want the camera to move, and at the angle you want the camera to be in at the end of the cinematic transition.
- You can now link the two structs together. The first script_struct you applied the KVPs to is the root entity, and the second one you placed for the camera to move to is the target/link. Once they are linked they should look like this:
|Note: You can use this as many times as you want, copy and place the two structs as you please around your map for randomized different camera angles on your end game screen.|
- Save and compile your map, simple as that! You have officially added end game cameras to your custom zombie map.