Sin Episodes Level Creation/Making Your First Arena Mode Map
Jump to navigation
Jump to search
Making The Map

- 1. Start the SiN Episodes SDK.
- 2. Launch Hammer.
- 3. Create a new map.
- 4. Create a room to hold your template(s). This will be called the template room in this document.
- 5. In the template room, create an npc_druglab_grunt_pistol entity.
- Name the entity. (We'll assume that you have named it arenaGrunt01.)
- Set the "Fade Corpse" flag.
- Set the "Template NPC" flag.
- 6. In the template room, create an npc_template_maker entity.
- Name the entity. (We'll assume that you have named it arenaTemplate01.)
- Set "Start Disabled" to Yes.
- Set "Frequency" to -1.
- Set "Name of Template NPC" to arenaGrunt01.
- Set "Name of Destination Group" to arenaSpawn01.
- Set the "Infinite Children" flag.
- 7. In the template room, create a logic_auto entity.
- Create a new OnMapSpawn output pointing to the Enable endpoint on arenaTemplate01. Have a 5 second delay on it.
- 8. Create the remainder of your map.
- 9. When you are ready to place spawn points for the grunts, create several info_npc_spawn_destination entities around the level.
- Name all of them arenaSpawn01, or whatever you named them in step 6.5.
- 10. Create an info_player_start entity somewhere in your level.
- 11. Add whichever weapons you want the player to start to the level, and position them inside the bounding box for the info_player_start entity. Remember to set their ammo counts.
- 12. If you want your map to run the default 15 minutes, go on to the next step.
- To change the time limit, go to the Map menu, and select Map Properties...".
- Select the "Arena Mode Time Limit" property, and set it to the number of seconds that you want the level to last. (15 minutes is 900 seconds.)
- 13.Save your map with a name starting with arena_. If your map name does not start with arena_, it will not appear in the map list.
- 14. Compile and run the map.
Testing The Map
- Make sure that you compiled your map.
- If you set it up so that the game runs automatically after every compile, exit out to the main menu.
- If it doesn’t run automatically, compile then run Sin Episodes.
- Once there, click on Play Arena, where you select maps, your custom map should now appear in the list as long as you named it correctly (ex, arena_xxxx).