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 idea. datamaps.txt says "CBaseEntity - game_mp_gamerules", but CBM_MP_GameRules don't have it in VTable Dumper. Found EntityMpGameRules, but it don't have anything related to the inputs, while CBM_MP_GameRules have some stuff.)  | 
				||
| Line 1: | Line 1: | ||
{{this is a|logical entity|name=game_mp_gamerules|game=Black Mesa}} This entity allows mappers to control some multiplayer gamerules via [[Hammer]] and   | {{CDA|EntityMpGameRules|CBaseEntity|}}   | ||
{{this is a|logical entity|name=game_mp_gamerules|game=Black Mesa}} This entity allows mappers to control some multiplayer gamerules via [[Hammer]] and inputs.	  | |||
{{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.}}}}  | ||
== Inputs ==  | == Inputs ==  | ||
Latest revision as of 01:17, 27 May 2025
| EntityMpGameRules | 
game_mp_gamerules  is a   logical entity  available in 
 Black Mesa. This entity allows mappers to control some multiplayer gamerules via Hammer and inputs.	
Todo: Document all known cvars that can change multiplayer gamerules.
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.