Info map parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added director_solve_item_density. Thanks, Xopaa!)
Line 26: Line 26:
:<float> Propane Tanks density per sq 100 yards
:<float> Propane Tanks density per sq 100 yards


==Useful console commands==
;<code>director_solve_item_density</code>
: Pass the number of items you'd want in this map and this spits out the map density value.


[[Category:Left 4 Dead Entities]]
[[Category:Left 4 Dead Entities]]

Revision as of 17:27, 15 June 2010

Template:Wrongtitle

Entity description

Sets up parameters for Left 4 Dead maps.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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.
  • 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

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.