Counter-Strike: Global Offensive/Game Modes/Danger Zone

From Valve Developer Community
Jump to navigation Jump to search

Template:Otherlang2 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.pngWarning: For proper map functionality, map needs to have dz_ prefix and game_mode set to 0 and game_type set to 6.
Note.pngNote:Valve has released no documentation about this game mode and everything is researched by players.

Basic requirements for a DZ map

trigger_survival_playarea

That is at least 13440x13440 units big, though 16384x16384 should be used as it's currently Danger Zone default.
At top of this brush is where you start deploying from the blackhawk, after leaving the brush you can press E to let go of the rope.
It should be in the air above the playable area, using trigger texture.

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.pngWarning:There seems to be a required amount of these in order for the map to not crash the game after selecting deployment location.
Note.pngNote:The number required of these is speculated to be between 90-230. Valve used around 530 on Blacksite.
Todo: Figure out needed amount of entity to prevent crashes.

Fundamental Entities

Point entity to specify location where gas canisters should launch from.
Point entity for setting the name of a map region for display.
Point entity for spawning drone guns.
Point entity for spawning Parachute upgrade.
A trigger volume for hostage rescue zone.
A trigger volume that disables Tablets for players 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 needed for map to work.
A trigger volume that defines the bounds of the survival play area.
Warning.pngWarning:The minimum size of this brush is 13440x13440 units, smaller size will crash the game after deploying.
Warning.pngWarning:Brushes that are not 16384x16384 need to change cvar sv_dz_zone_hex_radius for death zones to line up with tablet map.
Note.pngNote:Brush size 16384x16384 uses sv_dz_zone_hex_radius 2220. For other playzone sizes try to divide one axis by 7.44 to get cvar number.
Todo: Figure out cvar number for play areas that are not 16384x16384.
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.pngNote:This entity takes damage by default, Valve used filter_damage_type with Blast Allow to prevent guns breaking the doors.
Point entity that acts as spawn point for various survival entities.
Note.pngNote:What kind of entities this creates is specified below.

Entities spawned by point_dz_weaponspawn

Warning.pngWarning: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 overview of the map, black filled areas block deploy points.













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.pngNote: A vmt is not needed.
Note.pngNote: 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

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