Game mp gamerules: Difference between revisions
Jump to navigation
Jump to search
Important: This entity does not offer management of all multiplayer gamerules; some gamerules can only be changed through console commands.
No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{this is a|point entity|name=game_mp_gamerules|game=Black Mesa}} This entity allows mappers to control some multiplayer gamerules via [[Hammer]] and I/O. | {{this is a|point entity|name=game_mp_gamerules|game=Black Mesa}} This entity allows mappers to control some multiplayer gamerules via [[Hammer]] and I/O. | ||
Represented by class <code>CBM_MP_GameRules</code>. | |||
{{important| This entity does not offer management of ''all'' multiplayer gamerules; some gamerules can only be changed through console commands. {{todo|Document all known cvars that can change multiplayer gamerules.}}}} | {{important| This entity does not offer management of ''all'' multiplayer gamerules; some gamerules can only be changed through console commands. {{todo|Document all known cvars that can change multiplayer gamerules.}}}} | ||
{{back | Black Mesa Level Creation}} | {{back | Black Mesa Level Creation}} |
Revision as of 04:31, 18 December 2024
game_mp_gamerules
is a point entity available in Black Mesa. This entity allows mappers to control some multiplayer gamerules via Hammer and I/O.
Represented by class CBM_MP_GameRules
.

Todo: Document all known cvars that can change multiplayer gamerules.
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
Inputs
- EnableCanisterDrops <void>
- Enable canister drops on death (canisters drop enabled by default), from a player after death will drop item_ammo_box which will contain most of the player's ammunition.
- DisableCanisterDrops <void>
- Disable canister drops on death (canisters drop enabled by default), from a player after death will drop nothing with exception of corpuses.
- SetPointsPerFrag <integer >
- Set how many points players will get for each kill. Doesn't effect suicide points.