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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Nesciuse moved page Counter-Strike: Global Offensive/Game Modes/Danger Zone/en to Counter-Strike: Global Offensive/Game Modes/Danger Zone without leaving a redirect: Move en subpage to basepage)
 
(38 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{otherlang2|title=Creating a Danger Zone Map|ru=Creating a Danger Zone Map:ru}}
{{LanguageBar}}
'''Danger Zone''' is a fast-paced battle royale game mode built on {{csgo}} <i>Counter-Strike: Global Offensive</i>'s tactical gameplay where players use their wits, skill, and resources to fight to the finish. Featuring solo or team play.
{{back|Counter-Strike: Global Offensive Level Creation}}{{Delisted|csgo}}


{{Warning| For proper map functionality, map needs to have '''dz_''' prefix and '''game_mode''' set to '''0''' and '''game_type''' set to '''6'''.}}
[[File:Csgo icon dangerzone.png|left|link=]]


{{note|Valve has released no documentation about this game mode and everything is researched by players.}}
'''Danger Zone''' (internally: '''survival''') is a fast-paced battle royale [[Counter-Strike: Global Offensive/Game Modes/en|game mode]] built on {{csgo|4}}'s tactical gameplay where players use their wits, skill, and resources to fight to the finish. Featuring solo or team play.


== Basic requirements for a DZ map ==
To launch a map in the Danger Zone game mode, invoke the commands {{Code|game_type 6; game_mode 0; [[map (console command)|map]] <mapname>}} or shorter: {{Code|map <mapname> survival}}. See [[Counter-Strike: Global Offensive/Game Modes]].
* '''[[trigger_survival_playarea]]'''
: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.}}
* '''[[point_dz_weaponspawn]]'''
:These should be scattered around the map, there needs to be some distance between these otherwise they might fail to spawn.
:{{Warning|There '''needs''' to be at least 321 of these in the level, if not the game will crash upon deploying.}}


YOU WRONG MAN - LOOCK IT IS: https://vk.com/doc-60405636_484720396?dl=a23e92c3106924881b (just 41 and work)
{{note|Maps must be designed for this game mode (see below). If they are not, one should reckon with game crashes.}}
 
== Fundamental Entities ==
 
* '''[[info_gascanister_launchpoint]]'''
: Point entity to specify location where gas canisters should launch from.
* '''[[info_map_region]]'''
: Point entity for setting the name of a map region for display.
* '''[[point_dz_dronegun]]'''
: Point entity for spawning drone guns.
* '''[[point_dz_parachute]]'''
: Point entity for spawning Parachute upgrade.
* '''[[func_hostage_rescue]]'''
: A trigger volume for hostage rescue zone.
* '''[[func_tablet_blocker]]'''
: A trigger volume that disables Tablets for players inside of it.
* '''[[game_survival_logic]]'''
: An entity that will fire outputs when events happen during Survival Mode. For example playing [[ambient_generic]] after missiles launch.
:{{note|This entity is not needed for map to work.}}
* '''[[trigger_survival_playarea]]'''
: A trigger volume that defines the bounds of the survival play area.
* '''[[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.
{{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 entity that acts as spawn point for various survival entities.
:{{note|What kind of entities this creates is specified below.}}
 
== Entities spawned by [[point_dz_weaponspawn]] ==
{{Warning|Placing these manually in Hammer can lead to undesirable effects!}}
* '''[[func_survival_c4_target]]'''
: Safe with money.
* '''[[prop_weapon_upgrade_chute]]'''
: Parachute backpack.
* '''[[prop_weapon_upgrade_tablet_zoneintel]]'''
: Tablet upgrade that shows next safe zone.
* '''[[prop_weapon_upgrade_tablet_droneintel]]'''
: Tablet upgrade that shows drones and their trace.
* '''[[prop_weapon_upgrade_tablet_highres]]'''
: Tablet upgrade that improves zone precision.
* '''[[prop_weapon_upgrade_contractkill]]'''
: Contract to kill a player that will reward $500.
* '''[[prop_weapon_upgrade_armor_helmet]]'''
: Armor and Helmet.
* '''[[prop_money_crate]]'''
: Bag with money.
* '''[[prop_metal_crate]]'''
: Metal crate with SMG weapons.
* '''[[prop_loot_crate]]'''
: Can be various crates, utility, explosives, pistols, melees.
* '''[[prop_ammo_box_generic]]'''
: Ammo box.
* '''[[item_cash]]'''
: Stack of banknotes.
* '''[[dronegun]]'''
: Drone turret.
* '''[[hostage_entity]]'''
: A hostage.
 
== Limiting area where players can deploy ==
[[File:dz_blacksite_spawnmask.png|thumb|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 overview of the map, black filled areas block deploy points.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
== Adding overview image for tablet ==
[[File:tablet_radar_dz_blacksite.jpg|thumb|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| A [[vmt]] is '''not''' needed.}}
{{note| The tablet overview image is not same as map overview image, it needs to be roughly 30%(?) smaller in order to line up with world.}}
:{{TODO| Figure out how to make tablet overview to line up with actual map.}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
== Adding overview image for deployment selection ==
[[File:map_dz_blacksite.png|thumb|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'''''.


{{note|Valve has released no documentation about this game mode and everything is researched by players.}}


== Map Requirements ==
* The [[BSP]] needs the '''dz_''' [[Map_prefixes#Counter-Strike.2C_Counter-Strike:_Condition_Zero.2C_Counter-Strike:_Source_and_Counter-Strike:_Global_Offensive|map prefix]].


* '''{{Ent|trigger_survival_playarea}}'''
: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|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.}}


* '''{{Ent|point_dz_weaponspawn}}'''
:See dedicated page of this entity for more information.


=== Fundamental Entities ===
* '''{{Ent|info_gascanister_launchpoint}}'''
: Point entity to specify location where gas canisters should launch from, usually in the 3d skybox.


* '''{{Ent|info_map_region}}'''
: Point entity for setting the name of a map region to display.


* '''{{Ent|point_dz_dronegun}}'''
: Point entity for spawning drone guns.


* '''{{Ent|point_dz_parachute}}'''
: Point entity for spawning a parachute upgrade.


* '''{{Ent|func_hostage_rescue}}'''
: A trigger volume for hostage rescue zone.


* '''{{Ent|func_tablet_blocker}}'''
: A trigger volume that disables Tablets when players are inside of it.


* '''{{Ent|game_survival_logic}}'''
: An entity that will fire outputs when events happen during Survival Mode. For example playing {{Ent|ambient_generic}} after missiles launch.
: {{Note|This entity is not required for the map to work.}}


* '''{{Ent|trigger_survival_playarea}}'''
: A trigger volume that defines the bounds of the survival play area.


* '''{{Ent|dz_door}}'''
: Point entity that acts identically to {{Ent|prop_door_rotating}}, but can be locked and set up with {{Ent|prop_counter}} and {{Ent|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]]}}


* '''{{Ent|point_dz_weaponspawn}}'''
: Point entity that acts as spawn point for various survival entities.
: {{Note|What kind of entities this creates is specified on its page.}}


== Map Overviews ==
=== Limiting area where players can deploy ===
[[File:dz_blacksite_spawnmask.png|thumb|right|Spawnmask texture used for Blacksite]]
This is controlled by a [[w:Portable Network Graphics|PNG]] file that needs to be located in {{Code|csgo/maps/}} with name format {{Code|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.
{{clr}}
=== Adding overview image for tablet ===
[[File:tablet_radar_dz_blacksite.jpg|thumb|right|Tablet overview image of Blacksite]]
This is controlled by a '''[[Valve Texture Format|VTF]]''' file that needs to be located in {{Code|csgo/materials/models/weapons/v_models/tablet/}} with name format {{Code|tablet_radar_dz_<mapname>}}.
{{note|A [[material|VMT]] is '''not''' needed.}}
{{note|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.}}
{{clr}}
=== Adding overview image for deployment selection ===
[[File:map_dz_blacksite.png|thumb|right|Deployment overview image of Blacksite]]
This is controlled by a '''[[w:Portable Network Graphics|PNG]]''' that needs to be located in {{Code|csgo/materials/panorama/images/survival/spawnselect/}} with name format {{Code|map_dz_<mapname>}}.
{{clr}}


== Prefabs ==
* [https://cdn.discordapp.com/attachments/484503967842304002/520680162124234753/dz_template.zip Working dz_ map template by Zool.]


== See also ==
* [[Creating custom terrain with Worldmachine]]
{{csgo-navbox}}


[[Category: Counter-Strike: Global Offensive]]


 
[[Category: Level Design]]
 
[[Category: Tutorials]]
 
 
 
 
 
== Prefabs ==
*[https://cdn.discordapp.com/attachments/484503967842304002/520680162124234753/dz_template.zip Working dz_ map template by Zool.]

Latest revision as of 05:46, 12 July 2024

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