Info map parameters: Difference between revisions
Jump to navigation
Jump to search
(→Keyvalues: Added Counter-Strike Values and distinguish the 2 games) |
(Reformat) |
||
Line 1: | Line 1: | ||
{{base point multi|info_map_parameters|game1=Left 4 Dead|game2=Left 4 Dead 2|game3=Counter-Strike: Source}} It defines game-specific map parameters. | |||
{{base point multi|info_map_parameters|game1=Left 4 Dead|game2=Left 4 Dead 2|game3=Counter-Strike: Source}} | |||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | |||
{{KV Angles}} | |||
==={{game link|Counter-Strike: Source}}=== | |||
{{KV|Team that can buy|integer|Defines which teams can buy weapons}} | |||
{{KV|C4 Explosion Radius|integer|Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048.}} | |||
==={{game link|Left 4 Dead}} / {{game link|Left 4 Dead 2}}=== | |||
{{KV|Pain Pill density|float|Pain Pill density per sq 100 yards}} | |||
{{KV|Molotov density|float|Molotov density per sq 100 yards}} | |||
{{KV|Pipe Bomb density|float|Pipe Bomb density per sq 100 yards}} | |||
{{KV|Pistol density|float|Pistol density per sq 100 yards}} | |||
{{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|Oxygen Tank density|float|Oxygen Tank density per sq 100 yards}} | |||
{{KV|Propane Tank density|float|Propane Tank density per sq 100 yards}} | |||
{{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|Finale Item Cluster Count|integer|How many clusters of items will be populated in the finale}} | |||
{{KV|Ammo pile density|float|Ammo pile density per sq 100 yards|since=L4D2}} | |||
{{KV|Melee Weapon density|float|Melee Weapon density per sq 100 yards|since=L4D2}} | |||
{{KV|Adrenaline density|float|Adrenaline density per sq 100 yards|since=L4D2}} | |||
{{KV|Defibrillator density|float|Defibrillator density per sq 100 yards|since=L4D2}} | |||
{{KV|Boomer Bile density|float|Boomer Bile density per sq 100 yards|since=L4D2}} | |||
{{KV|Ammo upgrade density|float|Ammo upgrade pack density per sq 100 yards}} | |||
{{KV|Super Weapon density|float|Chainsaw and Grenade Launcher density per sq 100 yards|since=L4D2}} | |||
{{KV|Configurable Weapon Spawn density|float|Density for weapon_spawn entities, -1 to spawn all|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|Magnum Pistol Spawn density|float|Density for weapon_magnum_spawn entities, -1 to spawn all|since=L4D2}} | |||
{{KV Targetname}} | |||
{{KV Angles}} | |||
==Inputs== | ==Inputs== | ||
{{IO|UpdateCvars|Stuff values from this entity into cvars for tweaking}} | |||
{{I Targetname}} | {{I Targetname}} | ||
Line 65: | Line 46: | ||
==See also== | ==See also== | ||
* [[info_map_parameters_versus]] | * [[info_map_parameters_versus]] | ||
Revision as of 06:40, 12 August 2011
Template:Base point multi It defines 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.
Counter-Strike: Source
- C4 Explosion Radius ([todo internal name (i)]) <integer>
- Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048.
Left 4 Dead /
Left 4 Dead 2
- Weapon density ([todo internal name (i)]) <float>
- Weapon (non-pistol) density per sq 100 yards (
only)
- 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
)
- Ammo pile density per sq 100 yards
- Melee Weapon density ([todo internal name (i)]) <float> (in all games since
)
- Melee Weapon density per sq 100 yards
- Adrenaline density ([todo internal name (i)]) <float> (in all games since
)
- Adrenaline density per sq 100 yards
- Defibrillator density ([todo internal name (i)]) <float> (in all games since
)
- Defibrillator density per sq 100 yards
- Boomer Bile density ([todo internal name (i)]) <float> (in all games since
)
- Boomer Bile density per sq 100 yards
- Super Weapon density ([todo internal name (i)]) <float> (in all games since
)
- Chainsaw and Grenade Launcher density per sq 100 yards
- Configurable Weapon Spawn density ([todo internal name (i)]) <float> (in all games since
)
- Density for weapon_spawn entities, -1 to spawn all
- Configurable Weapon Cluster Range ([todo internal name (i)]) <float> (in all games since
)
- 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
)
- 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
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.
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.