Counter-Strike: Global Offensive/Game Modes/Danger Zone: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Otherlang2 -> Lang. Added icon. Used colorful game links. Map prefix is a Map Requirement. Removed duplicate text about point_dz_weaponspawn entities. Compressed overview sections.)
No edit summary
Line 16: Line 16:
:See dedicated page of this entity for more information.
:See dedicated page of this entity for more information.
:{{Warning|This brush needs to be at least 13440x13440 units big, if not the game will crash upon deploying. Recommended size is 16384x16384.}}
:{{Warning|This brush needs to be at least 13440x13440 units big, if not the game will crash upon deploying. Recommended size is 16384x16384.}}
:{{Warning|The recommended footprint{{clarify}} of a Danger Zone map is 20480x20480 units, combined with a trigger_survival_playarea sized 16384x16384.}}
:{{Warning|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).
: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.}}  
:Using other sizes for the map footprint or the trigger_survival_playarea may cause the deployment menu and the tablet radar to become misaligned.}}  


* '''[[point_dz_weaponspawn]]'''
* '''[[point_dz_weaponspawn]]'''
:These should be scattered around the map, there needs to be some distance between these otherwise they might fail to spawn.
:See dedicated page of this entity for more information.
:{{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 ===
=== Fundamental Entities ===


* '''[[info_gascanister_launchpoint]]'''
* '''[[info_gascanister_launchpoint]]'''
: Point entity to specify location where gas canisters should launch from.
: Point entity to specify location where gas canisters should launch from, usually in the 3d skybox.
* '''[[info_map_region]]'''
* '''[[info_map_region]]'''
: Point entity for setting the name of a map region to display.
: Point entity for setting the name of a map region to display.
Line 45: Line 43:
: A trigger volume that defines the bounds of the survival play area.
: A trigger volume that defines the bounds of the survival play area.
* '''[[dz_door]]'''
* '''[[dz_door]]'''
: 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.
: 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|How to set up this entity correctly is documented on page dedicated to this entity. [[dz_door#Setting up Security Doors for Danger Zone|Quick Link]]}}
{{note|How to set up this entity correctly is documented on page dedicated to this entity. [[dz_door#Setting up Security Doors for Danger Zone|Quick Link]]}}
* '''[[point_dz_weaponspawn]]'''
* '''[[point_dz_weaponspawn]]'''

Revision as of 06:05, 28 September 2021

English (en)Русский (ru)Translate (Translate)
Counter-Strike: Global Offensive Level Creation
Csgo icon dangerzone.png

Danger Zone (internally: survival) is a fast-paced battle royale game mode built on Template:Game name'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 CS:GO Game Mode Commands.

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

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.

Spawnmask texture used for Blacksite

Adding overview image for tablet

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.
Tablet overview image of Blacksite

Adding overview image for deployment selection

This is controlled by a PNG that needs to be located in csgo/materials/panorama/images/survival/spawnselect/ with name format map_dz_<mapname>.

Deployment overview image of Blacksite

Prefabs

See Also