Info map parameters versus: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Reformat)
m (Add internal names of keyval keys, Add default values of keyval vals)
Line 2: Line 2:


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

Revision as of 03:24, 18 March 2021

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