Difference between revisions of "Insurgency:Creating Levels"

From New World Interactive Wiki
Jump to: navigation, search
m (Added page to Insurgency category)
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
[[Category:Insurgency]]
 
Insurgency uses {{hammer}} [https://developer.valvesoftware.com/wiki/Category:Hammer Valve's Hammer World Editor] for Level Design.
 
Insurgency uses {{hammer}} [https://developer.valvesoftware.com/wiki/Category:Hammer Valve's Hammer World Editor] for Level Design.
 
Although this page won't teach you how to use the tool from scratch, here you will find Insurgency specific level creation tutorials.
 
Although this page won't teach you how to use the tool from scratch, here you will find Insurgency specific level creation tutorials.
Line 12: Line 13:
 
* Click Browse Local Files.
 
* Click Browse Local Files.
  
  [[File:Insurgency_LevelDesign_Tut01_01.jpg]]
+
  [[File:Insurgency BrowseLocalFiles.jpg]]
  
 
* Open the bin folder
 
* Open the bin folder
 
* Open {{hammer}} [https://developer.valvesoftware.com/wiki/Category:Hammer Hammer.exe]
 
* Open {{hammer}} [https://developer.valvesoftware.com/wiki/Category:Hammer Hammer.exe]
  
== Basic Setup ==
+
== Setting up your map for Insurgency ==
*[[Level Design Overview]]
+
Once you have a basic level layout, it is recommended to start testing gameplay as soon as possible to iterate and improve your level.
  
== Game Mode Setup ==
+
*[[Spawnzones & Blockzones]]
 +
*[[Capture Zones & Weapon Caches]]
 +
*[[Basic Gamemodes Layout]]
 +
*[[Destructible & Interactive props]]
 +
 
 +
 
 +
''For example vmfs, it is recommended to open the example maps in your "insurgency2/sdk_content/maps" folder.''
  
 
== Map Scripts ==
 
== Map Scripts ==
 +
 +
Each map (.bsp) file has an associated *.txt file that is referred to as a map script.
 +
 +
The map script contains the following values :
 +
*"compassOffset" - specify an angle to offset the compass. ''(0 - 359)''
 +
*"navfile" - name of the nav file to use
 +
*"nightlighting" - whether the level takes place at night or not. ''(0 - 1)''
 +
*"theaterfile" - if specified, sets a specific [[Theaters|theater]] for the map. ''(ex. "doi" for Day of Infamy)''
 +
*[[Insurgency:Game Modes|Game mode]] specific setup
 +
 +
''For examples on map scripts, it is recommended to open the example map scripts found in your "insurgency2/sdk_content/maps" folder.''
  
 
== Navigation Meshes ==
 
== Navigation Meshes ==
  
[https://developer.valvesoftware.com/wiki/Navigation_Meshes Navigation Meshes (CSS)]
+
Insurgency uses Nextbot Navigation Meshes for the AI, which is the same system used in Left 4 Dead and Counter Strike Source. The concept is to draw 2D flat meshes on top of the world geometry to indicate the walkable space to the AI.
 +
 
 +
Although there are many automated systems to facilitate the process, it is always necessary to manually polish the nav mesh after generating.
  
 +
Here are a few tutorials about Navigation Meshes:
 +
* [https://developer.valvesoftware.com/wiki/Navigation_Meshes Navigation Meshes Tutorial (CSS)]
 +
* [https://developer.valvesoftware.com/wiki/L4D_Level_Design/Nav_Meshes Basic Nav Editing (L4D)]
 +
* [https://developer.valvesoftware.com/wiki/L4D_Level_Design/Advanced_Nav_Editing Advanced Nav Editing (L4D)]
  
== Testing and Iterating ==
+
''Pro Tip : The game will automatically analyze the nav after generating it. Since you will have to re-analyze the nav after any changes you do, you can speed up the process by entering the following cvar "nav_max_distance 1"''
 +
''Once you are done editing your nav, simply reset this cvar to the default value, and analyze the nav.''

Latest revision as of 09:44, 11 March 2016

Insurgency uses <Insurgency> Valve's Hammer World Editor for Level Design. Although this page won't teach you how to use the tool from scratch, here you will find Insurgency specific level creation tutorials.

If you want to learn how to use Hammer from scratch, we highly recommend heading over the <Insurgency> Source SDK Wiki where you can find everything you need to become proficient with Source Level Design.

Getting Started

To locate <Insurgency> Hammer :

  • Right click on your Insurgency game in your Steam Library
  • Click on properties
  • Click on Local Files tab
  • Click Browse Local Files.
Insurgency BrowseLocalFiles.jpg

Setting up your map for Insurgency

Once you have a basic level layout, it is recommended to start testing gameplay as soon as possible to iterate and improve your level.


For example vmfs, it is recommended to open the example maps in your "insurgency2/sdk_content/maps" folder.

Map Scripts

Each map (.bsp) file has an associated *.txt file that is referred to as a map script.

The map script contains the following values :

  • "compassOffset" - specify an angle to offset the compass. (0 - 359)
  • "navfile" - name of the nav file to use
  • "nightlighting" - whether the level takes place at night or not. (0 - 1)
  • "theaterfile" - if specified, sets a specific theater for the map. (ex. "doi" for Day of Infamy)
  • Game mode specific setup

For examples on map scripts, it is recommended to open the example map scripts found in your "insurgency2/sdk_content/maps" folder.

Navigation Meshes

Insurgency uses Nextbot Navigation Meshes for the AI, which is the same system used in Left 4 Dead and Counter Strike Source. The concept is to draw 2D flat meshes on top of the world geometry to indicate the walkable space to the AI.

Although there are many automated systems to facilitate the process, it is always necessary to manually polish the nav mesh after generating.

Here are a few tutorials about Navigation Meshes:

Pro Tip : The game will automatically analyze the nav after generating it. Since you will have to re-analyze the nav after any changes you do, you can speed up the process by entering the following cvar "nav_max_distance 1" Once you are done editing your nav, simply reset this cvar to the default value, and analyze the nav.