Prefabs including Kismet references
In this short recipe we'll furnish the scene with two Shrines using a pre-built asset that has been saved as a Prefab. A Prefab combines any number of actors into a single unit. The point of this recipe is to note that if the Prefab actors include references to Kismet, then the Kismet is saved with the Prefab asset as a Sub-Sequence.
Getting ready
Open the map Packt_04_Prefabs_Start.UDK. The scene consists of a cave mouth, looking out onto a landscape that the player cannot reach during gameplay.
How to do it...
- First, let's look at how to create a Prefab which includes objects that participate in Kismet. Open Kismet [ ] and look for the section commented NightDayCycle. This is an example that is set up in the bonus online recipe Creating an animated day to night transition (available at http://www.packtpub.com/sites/default/files/downloads/1802EXPUnrealDevelopmentKitGameDesignCookbook_BonusRecipes.PDF) introducing topics such as sky dome creation, a Night...