Creating a Danger Zone Map

From Valve Developer Community
Jump to: navigation, search
Counter-Strike: Global Offensive Level Creation

Danger Zone is a fast-paced battle royale game mode built on <Counter-Strike: Global Offensive> Counter-Strike: Global Offensive's tactical gameplay where players use their wits, skill, and resources to fight to the finish. Featuring solo or team play.

Warning.png Warning:  For a map to function correctly, it needs to have a dz_ prefix, with game_mode set to 0 and game_type set to 6.
Note.png Note: Valve has released no documentation about this game mode and everything is researched by players.

Basic requirements for a DZ map

See dedicated page of this entity for more information.
Warning.png Warning: This brush needs to be at least 13440x13440 units big, if not the game will crash upon deploying. Recommended size is 16384x16384.
Warning.png Warning: The recommended footprint of a dz map is 20480x20480 units, combined with a trigger_survival_playarea sized 16384x16384.2
The footprint of the map must be made of a solid texture (nodraw or skybox will not work).
Using other sizes for the map footprint or the trigger_survival_playarea may cause the deployment menu and the tablet radar to become misaligned.
These should be scattered around the map, there needs to be some distance between these otherwise they might fail to spawn.
Warning.png Warning: Not having enough of these can result in game crash upon deploying. Numbers that are verified to work are 41 and 321.
A single point_dz_weaponspawn is enough to prevent the game from crashing upon deployment. It is however common that no item will spawn from this point_dz_weaponspawn. This method may be useful for playtesting the map early on in development, before loot locations are decided upon.

Fundamental Entities

Point entity to specify location where gas canisters should launch from.
Point entity for setting the name of a map region to display.
Point entity for spawning drone guns.
Point entity for spawning a parachute upgrade.
A trigger volume for hostage rescue zone.
A trigger volume that disables Tablets when players are inside of it.
An entity that will fire outputs when events happen during Survival Mode. For example playing ambient_generic after missiles launch.
Note.png Note: This entity is not required for the map to work.
A trigger volume that defines the bounds of the survival play area.
Point entity that acts samely to prop_door_rotating, but can be locked and set up with prop_counter and point_dz_weaponspawn to create a door that requires money to unlock.
Note.png Note: How to set up this entity correctly is documented on page dedicated to this entity. Quick Link
Point entity that acts as spawn point for various survival entities.
Note.png Note: What kind of entities this creates is specified below.

Entities spawned by point_dz_weaponspawn

Warning.png Warning: Placing these manually in Hammer can lead to undesirable effects!
Safe with money.
Parachute backpack.
Tablet upgrade that shows next safe zone.
Tablet upgrade that shows drones and their trace.
Tablet upgrade that improves zone precision.
Contract to kill a player that will reward $500.
Armor and Helmet.
Bag with money.
Metal crate with SMG weapons.
Can be various crates, utility, explosives, pistols, melees.
Ammo box.
Stack of banknotes.
Drone turret.
A hostage.

Limiting area where players can deploy

Spawnmask texture used for Blacksite

This is controlled by a png that needs to be located in csgo/maps/ with name format dz_mapname_spawnmask. It should represent an overview of the map, where black filled areas block deploy points. The surface area covered by this image corresponds to the play area trigger.

Adding overview image for tablet

Tablet overview image of Blacksite

This is controlled by a vtf texture that needs to be located in csgo/materials/models/weapons/v_models/tablet/ with name format tablet_radar_dz_mapname

Note.png Note:  A vmt is not needed.
Note.png Note:  The tablet overview image is not same as map overview image, it needs to line up with the entire world (1 pixel on a 1024x1024 image corresponds to 20 units on a 20480x20480 map).

Adding overview image for deployment selection

Deployment overview image of Blacksite

This is controlled by a png that needs to be located in csgo/materials/panorama/images/survival/spawnselect/ with name format map_dz_mapname.


See Also

Creating custom terrain with Worldmachine