Info map parameters: Difference between revisions
Jump to navigation
Jump to search
Note:Chickens won't spawn automatically unless the map has a Navigation Mesh.
(Added FireWinCondition) |
(CS:GO keyvalues.) |
||
Line 2: | Line 2: | ||
==Entity description== | ==Entity description== | ||
This entity determines... | |||
* {{css}} {{csgo}} the [[weapon_c4|C4]] explosion radius and the teams that are allowed to buy. | |||
* {{csgo}} whether [[info_deathmatch_spawn]] entities shall be generated across the map, whether they are used as spawn points in the Deathmatch [[CSGO Game Mode Commands|gamemode]] and the [[bot]]s' maximum vision distance. | |||
* {{l4d}} {{l4d2}} the density of weapons and items. | |||
== Keyvalues == | == Keyvalues == | ||
Line 11: | Line 12: | ||
===Counter-Strike: Source / Counter-Strike: Global Offensive=== | ===Counter-Strike: Source / Counter-Strike: Global Offensive=== | ||
{{KV|Team that can buy| | {{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|C4 Explosion Radius|integer|Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048.}} | {{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| | {{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?| | {{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?| | {{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|Bot Max Vision Distance| | {{KV|Bot Max Vision Distance|float|intn=botmaxvisiondistance|only=CSGO|Sets the maximum distance [[bot]]s can see enemies. Default is -1, unlimited.}} | ||
===Left 4 Dead / Left 4 Dead 2=== | ===Left 4 Dead / Left 4 Dead 2=== | ||
Line 45: | Line 46: | ||
==Inputs== | ==Inputs== | ||
{{IO|UpdateCvars|Stuff values from this entity into cvars for tweaking}} | {{IO|UpdateCvars|Stuff values from this entity into cvars for tweaking}} | ||
{{IO|FireWinCondition|param=integer|Ends the round after 5 seconds with the reason you specify. {{Tip|You can also use [[game_round_end]]}}|only={{css}}{{csgo}}}} | |||
{{I Targetname}} | {{I Targetname}} | ||
==Outputs== | ==Outputs== |
Revision as of 22:20, 10 April 2021
Entity description
This entity determines...
the C4 explosion radius and the teams that are allowed to buy.
whether info_deathmatch_spawn entities shall be generated across the map, whether they are used as spawn points in the Deathmatch gamemode and the bots' maximum vision distance.
the density of weapons and items.
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 / Counter-Strike: Global Offensive
- Team that can buy (buying) <choices>
- Defines which teams can buy weapons.
0
: Everyone,1
: CTs,2
: Ts,3
: Nobody.
- 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).

- 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.
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
- Ammo upgrade density ([todo internal name (i)]) <float> (in all games since
)
- Ammo upgrade pack 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
- FireWinCondition <integer > (only in
)
- Ends the round after 5 seconds with the reason you specify.
Tip:You can also use game_round_end
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.