Info map parameters versus: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Reformat)
Line 1: Line 1:
{{l4d series point|info_map_parameters_versus}}
{{l4d series point|info_map_parameters_versus}} It defines L4D-specific map parameters for versus games.
{{stub}}
 
== Entity description ==
L4D-specific map parameters for versus games.


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


==Inputs==
== Inputs ==
; UpdateCvars
{{IO|UpdateCvars|Stuff values from this entity into cvars for tweaking}}
: Stuff values from this entity into cvars for tweaking
{{I Targetname}}
{{I Targetname}}


==Outputs==
== Outputs ==
{{O Targetname}}
{{O Targetname}}


Line 59: Line 38:
==See also==
==See also==
* [[info_map_parameters]]
* [[info_map_parameters]]
==External links==

Revision as of 06:59, 12 August 2011

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

Keyvalues

Pain Pill density ([todo internal name (i)]) <float>
Pain Pill density per sq 100 yards
Molotov density ([todo internal name (i)]) <float>
Molotov density per sq 100 yards
Pipe Bomb density ([todo internal name (i)]) <float>
Pipe Bomb density per sq 100 yards
Pistol density ([todo internal name (i)]) <float>
Pistol density per sq 100 yards
Weapon density ([todo internal name (i)]) <float>
Weapon (non-pistol) density per sq 100 yards (Left 4 Dead only)
Gas Can density ([todo internal name (i)]) <float>
Gas Can density per sq 100 yards
Oxygen Tank density ([todo internal name (i)]) <float>
Oxygen Tank density per sq 100 yards
Propane Tank density ([todo internal name (i)]) <float>
Propane Tank density per sq 100 yards
Item Cluster Range ([todo internal name (i)]) <float>
Scavenge items of the same kind that are this close to each other are considered a single 'cluster' for population purposes
Finale Item Cluster Count ([todo internal name (i)]) <integer>
How many clusters of items will be populated in the finale
Ammo pile density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Ammo pile density per sq 100 yards
Melee Weapon density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Melee Weapon density per sq 100 yards
Adrenaline density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Adrenaline density per sq 100 yards
Defibrillator density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Defibrillator density per sq 100 yards
Boomer Bile density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Boomer Bile density per sq 100 yards
Ammo upgrade density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Ammo upgrade pack density per sq 100 yards
Super Weapon density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Chainsaw and Grenade Launcher density per sq 100 yards
Configurable Weapon Spawn density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Density for weapon_spawn entities, -1 to spawn all
Configurable Weapon Cluster Range ([todo internal name (i)]) <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
Magnum Pistol Spawn density ([todo internal name (i)]) <float> (in all games since Left 4 Dead 2)
Density for weapon_magnum_spawn entities, -1 to spawn all
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