Sin Episodes Level Creation/Making Your First Arena Mode Map

From Valve Developer Community
Revision as of 06:10, 31 January 2010 by Dmx6 (talk | contribs) (Created page with '== Making The Map == {{note|This tutorial assumes that you are familiar with the creation of maps using the Source SDK.}} *1. Start the SiN Episodes SDK. *2. Launch Hammer. *3.…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Making The Map

Note.pngNote:This tutorial assumes that you are familiar with the creation of maps using the Source SDK.
  • 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.
      1. Name the entity. (We'll assume that you have named it arenaGrunt01.)
      2. Set the "Fade Corpse" flag.
      3. Set the "Template NPC" flag.
  • 6. In the template room, create an npc_template_maker entity.
      1. Name the entity. (We'll assume that you have named it arenaTemplate01.)
      2. Set "Start Disabled" to Yes.
      3. Set "Frequency" to -1.
      4. Set "Name of Template NPC" to arenaGrunt01.
      5. Set "Name of Destination Group" to arenaSpawn01.
      6. Set the "Infinite Children" flag.
  • 7. In the template room, create a logic_auto entity.
      1. 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.
      1. 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.
      1. To change the time limit, go to the Map menu, and select Map Properties...".
      2. 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).