point_dz_weaponspawn

From Valve Developer Community
Revision as of 19:37, 1 February 2019 by Loudslappingsounds (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Русский

<Counter-Strike: Global Offensive> point_dz_weaponspawn is a point entity available in Counter-Strike: Global Offensive. It's one of many new entities added with the Danger Zone update.

point_dz_weaponspawn

Info

Type: Entity

Mode: Danger Zone

Global entity: no

Date added: Added along with the update Danger Zone (2018.12.06)

Entity Description

Acts as a spawn point for below specified survival entities. Trivially, this will also be a potential place that players land during warmup.

Entities spawned by point_dz_weaponspawn

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.
Flash grenade.
Molotov coctail.
Decoy grenade.
Smoke grenade.
Knife.

Keyvalues

Targetname:

Name <string>
The targetname that other entities refer to this entity by.
Entity Scripts <scriptlist> (New with Left 4 Dead 2)
Space delimited list of VScript files (without file extension) that are executed after all entities have spawned. The scripts are all executed in the same script scope, later ones overwriting any identical variables and functions.
Script think function <string> (New with Left 4 Dead 2)
Name of a function in this entity's script which will be called automatically every 100 milliseconds (ten times a second) for the duration of the script. It can be used to create timers or to simulate autonomous behavior. The return value (if present) will set the time until the next call.
Note:Try to avoid expensive operations in this function, as it may cause performance problems.

Angles:

Pitch Yaw Roll (Y Z X) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Danger Zone:

Group ID <integer>
When an item spawns in a spawn point, other nearby spawn points with the same ID will have less chance of spawning an item.
Default Weight <integer>
Weight used to distribute item.
Door Name <targetname>
This point is behind a specific door.

Non !FGD keyvalues:

  • tagPreferLooseItem 1
A loose item will spawn instead of a crate.
  • tagPreferMelee 1
A melee weapon/crate will spawn instead.
  • tagBehindSteelDoor 1
Used when combined with dz_door, more info about that here: Quick Link
  • tagOnRooftop 1

To do: What does this do in game?