Info map parameters versus

From Valve Developer Community
Revision as of 03:24, 18 March 2021 by Rhiono (talk | contribs) (Add internal names of keyval keys, Add default values of keyval vals)
Jump to navigation Jump to search

Template:L4d series point It defines L4D-specific map parameters for versus games.

Keyvalues

Pain Pill density (PainPillDensity) <float>
Pain Pill density per sq 100 yards. Default value is 6.48
Molotov density (MolotovDensity) <float>
Molotov density per sq 100 yards. Default value is 6.48
Pipe Bomb density (PipeBombDensity) <float>
Pipe Bomb density per sq 100 yards. Default value is 6.48
Pistol density (PistolDensity) <float>
Pistol density per sq 100 yards. Default value is 6.48
Weapon density ([todo internal name (i)]) <float>
Weapon (non-pistol) density per sq 100 yards (Left 4 Dead only)
Gas Can density (GasCanDensity) <float>
Gas Can density per sq 100 yards. Default value is 6.48
Oxygen Tank density (OxygenTankDensity) <float>
Oxygen Tank density per sq 100 yards. Default value is 6.48
Propane Tank density (PropaneTankDensity) <float>
Propane Tank density per sq 100 yards. Default value is 6.48
Item Cluster Range (ItemClusterRange) <float>
Scavenge items of the same kind that are this close to each other are considered a single 'cluster' for population purposes. Default value is 50
Finale Item Cluster Count (FinaleItemClusterCount) <integer>
How many clusters of items will be populated in the finale. Default value is 3
Ammo pile density (AmmoDensity) <float> (in all games since Left 4 Dead 2)
Ammo pile density per sq 100 yards. Default value is 6.48
Melee Weapon density (MeleeWeaponDensity) <float> (in all games since Left 4 Dead 2)
Melee Weapon density per sq 100 yards. Default value is 6.48
Adrenaline density (AdrenalineDensity) <float> (in all games since Left 4 Dead 2)
Adrenaline density per sq 100 yards. Default value is 6.48
Defibrillator density (DefibrillatorDensity) <float> (in all games since Left 4 Dead 2)
Defibrillator density per sq 100 yards. Default value is 2.5
Boomer Bile density (VomitJarDensity) <float> (in all games since Left 4 Dead 2)
Boomer Bile density per sq 100 yards. Default value is 6.48
Ammo upgrade density (UpgradepackDensity) <float> (in all games since Left 4 Dead 2)
Ammo upgrade pack density per sq 100 yards. Default value is 1.0
Super Weapon density (ChainsawDensity) <float> (in all games since Left 4 Dead 2)
Chainsaw and Grenade Launcher density per sq 100 yards. Default value is 1.0
Configurable Weapon Spawn density (ConfigurableWeaponDensity) <float> (in all games since Left 4 Dead 2)
Density for weapon_spawn entities, -1 to spawn all. Default value is -1.0
Configurable Weapon Cluster Range (ConfigurableWeaponClusterRange) <float> (in all games since Left 4 Dead 2)
weapon_spawn entities that are this close to each other are considered a single 'cluster' for population purposes. Default value is 100
Magnum Pistol Spawn density (MagnumDensity) <float> (in all games since Left 4 Dead 2)
Density for weapon_magnum_spawn entities, -1 to spawn all. Default value is -1.0
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.

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.

See also