Info map parameters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added property)
No edit summary
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{base point multi|info_map_parameters|game1=Left 4 Dead|game2=Left 4 Dead 2|game3=Counter-Strike: Source|game4=Counter-Strike: Global Offensive}}
{{LanguageBar|title=Info map parameters (disambiguation)}}
 
{{disambig}}
==Entity description==
[[info map parameters]] may refer to:
It defines game-specific map parameters.<br>
* {{l4ds|4}}: {{ent|info_map_parameters|game=Left_4_Dead_series}}
Like which team can buy or the C4 radius in Counter-Strike: Source and Counter-Strike: Global Offensive.<br>
* {{counter-Strike series|4}}: {{ent|info_map_parameters|game=Counter-Strike_series}}
In the Left 4 Dead series it defines the density of weapons & items.
 
== Keyvalues ==
{{KV Targetname}}
{{KV Angles}}
 
==={{game link|Counter-Strike: Source}} / {{game link|Counter-Strike: Global Offensive}} only:===
{{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.}}
{{KV|Disable Autogenerated DM Spawns?|integer|Set to true if you want to manually place info_deathmatch_spawns and not have the engine generate them.}}
 
==={{game link|Left 4 Dead}} / {{game link|Left 4 Dead 2}} only:===
{{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|since=L4D2}}
{{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==
{{IO|UpdateCvars|Stuff values from this entity into cvars for tweaking}}
{{I Targetname}}
 
==Outputs==
{{O Targetname}}
 
==Useful console commands==
;<code>director_solve_item_density</code>
: Pass the number of items you'd want in this map and this spits out the map density value.
 
==See also==
* {{l4d}}{{l4d2}} [[info_map_parameters_versus]]

Latest revision as of 04:47, 14 May 2025

English (en)Translate (Translate)
Icon-disambig.png
This is a disambiguation page, a list of pages that otherwise might share the same title.
If an article link referred you to this title, you might want to go back and fix it to point directly to the intended page.

info map parameters may refer to: