Learn how to use the Alien Swarm SDK to produce a Holdout/Survival Map.

Posted by Adamw on Jul 20th, 2010 - Intermediate Mapping/Technical

(1)

1a)Open up hammer and create a basic room. (Including a player start and appropriate lighting).

1b)Locate the "asw_holdout_mode" entity and place it in your map. (NOTE: it doesn't really matter where you put it, just place it somewhere convenient).



(2)

2a)You will see the option "Holdout Filename".



2b)These files can be found in "C:\Program Files\Steam\steamapps\common\alien swarm\swarm\resource\holdout".



2c)Open the file "holdoutwaves_default".



Here's an example of the first paragraph:

"WAVE"

{

"Name" "Intro"

"EnvironmentModifiers" "0"

"Resupply" "1"

"ENTRY"

{

"AlienClass" "asw_drone"

"Quantity" "5"

"SpawnDelay" "0.0"

"SpawnDuration" "0.0"

"SpawnGroup" "Spawn_Left_Group"

"Modifiers" "0"

}

The bit in red is the name of the "asw_spawn_group" entity that needs to be placed in your map.

The bit in blue is the name of the "asw_holdout_spawner" that needs to be placed in your map.

2d)Create a text file in the Holdout folder and paste the paragraph in. Then insert the name of the text file into the "Holdout Filename" field in hammer.



(3)

3a)Make a "asw_spawn_group" using the name provided.

3b)Make a "asw_holdout_spawner" using the name provided. (Make sure it is situated near the spawn group, this is where the Aliens will spawn).

VIDEO EXAMPLE:

Hard to explain but i hope you understand :P.

To make more waves you just make a duplicate of the paragraph.alter the value in blue in the text file, make a duplicate of the "asw_holdout_spawner" and make sure that the values match up. Then enter the name of the next wave, (the name of the holdout spawner) ,into the "Spawner 02" field in the "asw_spawn_group" entity.

Example VMF:

Speedyshare.com