Info map parameters: Difference between revisions
Jump to navigation
Jump to search
(Added Counter-Strike Source in game list) |
(→Keyvalues: Added Counter-Strike Values and distinguish the 2 games) |
||
Line 8: | Line 8: | ||
* {{KV Targetname}} | * {{KV Targetname}} | ||
* {{KV Angles}} | * {{KV Angles}} | ||
===In Left 4 Dead 2:=== | |||
* '''FinaleItemClusterCount''' | * '''FinaleItemClusterCount''' | ||
:<integer> How many clusters of items will be populated in the finale | :<integer> How many clusters of items will be populated in the finale | ||
Line 44: | Line 45: | ||
*'''Super Weapon density''' ''ChainsawDensity'' <float> {{l4d2 add}} | *'''Super Weapon density''' ''ChainsawDensity'' <float> {{l4d2 add}} | ||
: Chainsaw and Grenade Launcher density per sq 100 yards | : Chainsaw and Grenade Launcher density per sq 100 yards | ||
===In Counter-Strike: Source:=== | |||
* '''Team that can buy''' | |||
:<integer> Defines which teams can buy weapons | |||
* '''C4 Explosion Radius''' | |||
:<integer> Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048 | |||
==Inputs== | ==Inputs== |
Revision as of 07:24, 1 August 2011
Entity description
Game-specific map parameters.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- 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.
In Left 4 Dead 2:
- FinaleItemClusterCount
- <integer> How many clusters of items will be populated in the finale
- ItemClusterRange
- <integer> Scavenge items of the same kind that are this close to each other are considered a single 'cluster' for population purposes
- GasCanDensity
- <float> Gas Cans density per sq 100 yards
- MolotovDensity
- <float> Molotovs density per sq 100 yards
- OxygenTankDensity
- <float> Oxygen Tanks density per sq 100 yards
- PainPillDensity
- <float> Pain Pills density per sq 100 yards
- PipeBombDensity
- <float> Pipe Bombs density per sq 100 yards
- PistolDensity
- <float> Pistols density per sq 100 yards
- PropaneTankDensity
- <float> Propane Tanks density per sq 100 yards
- Melee Weapon density MeleeWeaponDensity <float> Template:L4d2 add
- Melee Weapon density per sq 100 yards
- Adrenaline density AdrenalineDensity <float> Template:L4d2 add
- Adrenaline density per sq 100 yards
- Defibrillator density DefibrillatorDensity <float> Template:L4d2 add
- Defibrillator density per sq 100 yards
- Boomer Bile density VomitJarDensity <float> Template:L4d2 add
- Boomer Bile density per sq 100 yards
- Ammo upgrade density UpgradepackDensity <float> Template:L4d2 add
- Ammo upgrade pack density per sq 100 yards
- Super Weapon density ChainsawDensity <float> Template:L4d2 add
- Chainsaw and Grenade Launcher density per sq 100 yards
In Counter-Strike: Source:
- Team that can buy
- <integer> Defines which teams can buy weapons
- C4 Explosion Radius
- <integer> Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048
Inputs
- UpdateCvars
- Stuff values from this entity into cvars for tweaking
Outputs
Useful console commands
director_solve_item_density
- Pass the number of items you'd want in this map and this spits out the map density value.