From Valve Developer Community
Jump to: navigation, search
class hierarchy
CMapInfo defined in mapinfo.cpp
This article is about the Counter-Strike series entity. For the Left 4 Dead series entity, see info_map_parameters/Left 4 Dead series.
Todo: The deprecated template {{Base point multi}} or its derived templates was used. Use {{Entity}} instead.

info_map_parameters is a point entity available in the following Source Source engine games:

Counter-Strike: Source Counter-Strike: Source, Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

This entity determines the C4 explosion radius and the teams that are allowed to buy.
Counter-Strike: Global Offensive Furthermore, it determines whether random info_deathmatch_spawn entities shall be generated across the map; whether they are used as spawn points in CS:GO Deathmatch Deathmatch; and the bots' maximum vision distance.


Name (targetname) <string>
The targetname that other entities refer to this entity by.
Team that can buy (buying) <choices>
Defines which teams can buy weapons. 0: Everyone, 1: CTs, 2: Ts, 3: Nobody.
Counter-Strike: Global Offensive Can be overridden with sv_buy_status_override.
C4 Explosion Radius (bombradius) <integer>
Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048. Default is 500.
Pet Population (petpopulation) <float> (only in Counter-Strike: Global Offensive)
Determines the target population of pets (chicken).
Note.pngNote: Chickens won't spawn automatically unless the map has a Navigation Mesh.
Use Normal Spawns in Deathmatch? (usenormalspawnsfordm) <choices> (only in Counter-Strike: Global Offensive)
Set to Yes if the map should use only the spawn points info_player_terrorist and info_player_counterterrorist instead of info_deathmatch_spawns for Deathmatch.
Disable Autogenerated DM Spawns? (disableautogenerateddmspawns) <choices> (only in Counter-Strike: Global Offensive)
Set to Yes if you don't want the engine to generate info_deathmatch_spawns.
Bot Max Vision Distance (botmaxvisiondistance) <float> (only in Counter-Strike: Global Offensive)
Sets the maximum distance bots can see enemies. Default is -1, unlimited.
Fade Player Visibility Far Z (fadeplayervisibilityfarz) <boolean> (only in Counter-Strike: Global Offensive)
Fade player visibility beyond far z distance.


FireWinCondition <integer>
Ends the round after 5 seconds with the reason you specify.
Tip.pngTip: You can also use game_round_end.