Info map parameters (Counter-Strike series): Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{CD|CMapInfo|file1=mapinfo.cpp}} {{base point multi|info_map_parameters|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} This entity determines... * {{...") |
m (Distinguish.) |
||
Line 1: | Line 1: | ||
{{CD|CMapInfo|file1=mapinfo.cpp}} | {{CD|CMapInfo|file1=mapinfo.cpp}} | ||
{{distinguish|info_map_parameters/Left 4 Dead series}} | |||
{{base point multi|info_map_parameters|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} | {{base point multi|info_map_parameters|game1=Counter-Strike: Source|game2=Counter-Strike: Global Offensive}} | ||
Line 8: | Line 9: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Team that can buy|choices|intn=buying|Defines which teams can buy weapons. <code>0</code>: Everyone, <code>1</code>: CTs, <code>2</code>: Ts, <code>3</code>: Nobody.}} | {{KV|Team that can buy|choices|intn=buying|Defines which teams can buy weapons. <code>0</code>: Everyone, <code>1</code>: CTs, <code>2</code>: Ts, <code>3</code>: Nobody.<br>{{csgo}} Can be overridden with {{ent|sv_buy_status_override}}.}} | ||
{{KV|C4 Explosion Radius|integer|intn=bombradius|Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048. Default is 500.}} | {{KV|C4 Explosion Radius|integer|intn=bombradius|Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048. Default is 500.}} | ||
{{KV|Pet Population|float|intn=petpopulation|only=CSGO|Determines the target population of pets ([[chicken]]). | {{KV|Pet Population|float|intn=petpopulation|only=CSGO|Determines the target population of pets ([[chicken]]).{{Note|Chickens won't spawn automatically unless the map has a [[Navigation Meshes|Navigation Mesh]].}}}} | ||
{{Note|Chickens won't spawn automatically unless the map has a [[Navigation Meshes|Navigation Mesh]].}} | |||
{{KV|Use Normal Spawns in Deathmatch?|choices|intn=usenormalspawnsfordm|only=CSGO|Set to <code>Yes</code> if the map should use only the spawn points [[info_player_terrorist]] and [[info_player_counterterrorist]] instead of [[info_deathmatch_spawn]]s for Deathmatch.}} | {{KV|Use Normal Spawns in Deathmatch?|choices|intn=usenormalspawnsfordm|only=CSGO|Set to <code>Yes</code> if the map should use only the spawn points [[info_player_terrorist]] and [[info_player_counterterrorist]] instead of [[info_deathmatch_spawn]]s for Deathmatch.}} | ||
{{KV|Disable Autogenerated DM Spawns?|choices|intn=disableautogenerateddmspawns|only=CSGO|Set to <code>Yes</code> if you don't want the engine to generate [[info_deathmatch_spawn]]s.}} | {{KV|Disable Autogenerated DM Spawns?|choices|intn=disableautogenerateddmspawns|only=CSGO|Set to <code>Yes</code> if you don't want the engine to generate [[info_deathmatch_spawn]]s.}} | ||
Line 18: | Line 18: | ||
==Inputs== | ==Inputs== | ||
{{IO|FireWinCondition|param=integer|Ends the round after 5 seconds with the reason you specify. {{Tip|You can also use [[game_round_end]] | {{IO|FireWinCondition|param=integer|Ends the round after 5 seconds with the reason you specify. {{Tip|You can also use [[game_round_end]].}}}} |
Revision as of 13:01, 7 November 2022
![]() |
---|
CMapInfo |
![]() |
Not to be confused with info_map_parameters/Left 4 Dead series.
This entity determines...
the C4 explosion radius and the teams that are allowed to buy.
whether random info_deathmatch_spawn entities shall be generated across the map; whether they are used as spawn points in
Deathmatch; and the bots' maximum vision distance.
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
- Team that can buy (buying) <choices>
- Defines which teams can buy weapons.
0
: Everyone,1
: CTs,2
: Ts,3
: Nobody.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
)
- Determines the target population of pets (chicken).
Note:Chickens won't spawn automatically unless the map has a Navigation Mesh.
- Use Normal Spawns in Deathmatch? (usenormalspawnsfordm) <choices> (only in
)
- 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
)
- Set to
Yes
if you don't want the engine to generate info_deathmatch_spawns.
- Bot Max Vision Distance (botmaxvisiondistance) <float> (only in
)
- Sets the maximum distance bots can see enemies. Default is -1, unlimited.
- Fade Player Visibility Far Z (fadeplayervisibilityfarz) <boolean> (only in
)
- Fade player visibility beyond far z distance.
Inputs
- FireWinCondition <integer >
- Ends the round after 5 seconds with the reason you specify.
Tip:You can also use game_round_end.