Danger Zone

From Valve Developer Community
Jump to navigation Jump to search
English (en)Русский (ru)Translate (Translate)
Counter-Strike: Global Offensive Level Creation
Icon-delisted.png
This page documents information about a game or software, Counter-Strike: Global Offensive Counter-Strike: Global Offensive, that is no longer available for purchase or download digitally.
It is covered here for historical and technical reference.
Csgo icon dangerzone.png

Danger Zone (internally: survival) 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.

To launch a map in the Danger Zone game mode, invoke the commands game_type 6; game_mode 0; map <mapname> or shorter: map <mapname> survival. See Counter-Strike: Global Offensive/Game Modes.

Note.pngNote:Maps must be designed for this game mode (see below). If they are not, one should reckon with game crashes.
Note.pngNote:Valve has released no documentation about this game mode and everything is researched by players.

Map Requirements

See dedicated page of this entity for more information.
Warning.pngWarning:This brush needs to be at least 13440x13440 units big, if not the game will crash upon deploying. Recommended size is 16384x16384.
Warning.pngWarning:The recommended footprint of a Danger Zone map is 20480x20480 units, combined with a trigger_survival_playarea sized 16384x16384.
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.}}
See dedicated page of this entity for more information.

Fundamental Entities

Point entity to specify location where gas canisters should launch from, usually in the 3d skybox.
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.pngNote: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 identically to prop_door_rotating, but can be locked and set up with prop_counter and point_dz_weaponspawn to create a door which requires money to unlock.
Note.pngNote: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.pngNote:What kind of entities this creates is specified on its page.

Map Overviews

Limiting area where players can deploy

Spawnmask texture used for Blacksite

This is controlled by a PNG file 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 file that needs to be located in csgo/materials/models/weapons/v_models/tablet/ with name format tablet_radar_dz_<mapname>.

Note.pngNote:A VMT is not needed.
Note.pngNote:The tablet overview image is not same as map overview image, it needs to line up with the entire world. One 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>.

Prefabs

See also