Info map parameters versus
		
		
		
		Jump to navigation
		Jump to search
		
Template:L4d series point It defines L4D-specific map parameters for versus games. For default coop use info_map_parameters
This only defines spawn density of weapon_spawn and weapon_item_spawn entities. It Does not work on specific spawnpoints such as weapon_rifle_spawn. If you want to control spawnpoints for specific guns, use weapon_spawn and force it to only spawn a specific gun.
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 ( only) 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  ) )
- Ammo pile density per sq 100 yards. Default value is 6.48
- Melee Weapon density (MeleeWeaponDensity)  <float> (in all games since  ) )
- Melee Weapon density per sq 100 yards. Default value is 6.48
- Adrenaline density (AdrenalineDensity)  <float> (in all games since  ) )
- Adrenaline density per sq 100 yards. Default value is 6.48
- Defibrillator density (DefibrillatorDensity)  <float> (in all games since  ) )
- Defibrillator density per sq 100 yards. Default value is 2.5
- Boomer Bile density (VomitJarDensity)  <float> (in all games since  ) )
- Boomer Bile density per sq 100 yards. Default value is 6.48
- Ammo upgrade density (UpgradepackDensity)  <float> (in all games since  ) )
- Ammo upgrade pack density per sq 100 yards. Default value is 1.0
- Super Weapon density (ChainsawDensity)  <float> (in all games since  ) )
- Chainsaw and Grenade Launcher density per sq 100 yards. Default value is 1.0
- Configurable Weapon Spawn density (ConfigurableWeaponDensity)  <float> (in all games since  ) )
- Density for weapon_spawn entities, -1 to spawn all. Default value is -1.0
- Configurable Weapon Cluster Range (ConfigurableWeaponClusterRange)  <float> (in all games since  ) )
- 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  ) )
- 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. parentnameortarget).
 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.