Mp round time: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 3: Line 3:


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|Warmup Time|intn=warmuptime|integer|How long warmup should be in seconds. 0 - use value from {{command|mp_warmup_time}} console command. -1 - no warmup.}}
{{KV|Warmup Time|intn=warmuptime|integer|How long warmup should be in seconds. 0 - use value from {{command|mp_warmup_time}} console command. -1 - no warmup.}}
{{bug|Doesn't work. As workaround you can use [[logic_auto]] that <code>OnMapSpawn</code> will fire input <code>AddWarmupTime</code> or <code>RemoveWarmupTime</code> to set required value for warmup time.}}  
{{bug|Doesn't work. As workaround you can use [[logic_auto]] that <code>OnMapSpawn</code> will fire input <code>AddWarmupTime</code> or <code>RemoveWarmupTime</code> to set required value for warmup time.}}  
{{KV|Round Time|intn=roundtime|integer|How long the round should be in seconds, 0 - use value from {{command|mp_timelimit}} console command. -1 - no time limit (hides the timer as well).}}
{{KV|Round Time|intn=roundtime|integer|How long the round should be in seconds, 0 - use value from {{command|mp_timelimit}} console command. -1 - no time limit (hides the timer as well).}}
{{bug|Doesn't work. As workaround you can use [[logic_auto]] that <code>OnMapSpawn</code> will fire input <code>AddRoundTime</code> or <code>RemoveRoundTime</code> to set required value for round time.}}
{{bug|Doesn't work. As workaround you can use [[logic_auto]] that <code>OnMapSpawn</code> will fire input <code>AddRoundTime</code> or <code>RemoveRoundTime</code> to set required value for round time.}}
{{KV BaseEntity|base=1}}


==Inputs==
==Inputs==
{{IO|AddRoundTime|param=integer|Add more time to the round.}}
{{I|AddRoundTime|param=integer|Add more time to the round.}}
{{IO|RemoveRoundTime|param=integer|Remove time from the round.}}
{{I|RemoveRoundTime|param=integer|Remove time from the round.}}
{{IO|AddWarmupTime|param=integer|Add more time to the warmup.}}
{{I|AddWarmupTime|param=integer|Add more time to the warmup.}}
{{note|For some reason also affects warmup intermission time.}}  
{{note|For some reason also affects warmup intermission time.}}  
{{IO|RemoveWarmupTime|param=integer|Remove time from the warmup.}}
{{I|RemoveWarmupTime|param=integer|Remove time from the warmup.}}
{{I BaseEntity|base=1}}
 
==Outputs==
{{O BaseEntity}}

Revision as of 01:49, 26 September 2024

mp_round_time is a point entity available in Black Mesa Black Mesa. This entity manage the round time on a multiplayer match.

Black Mesa Level Creation

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Warmup Time (warmuptime) <integer>
How long warmup should be in seconds. 0 - use value from mp_warmup_time console command. -1 - no warmup.
Icon-Bug.pngBug:Doesn't work. As workaround you can use logic_auto that OnMapSpawn will fire input AddWarmupTime or RemoveWarmupTime to set required value for warmup time.  [todo tested in ?]
Round Time (roundtime) <integer>
How long the round should be in seconds, 0 - use value from mp_timelimit console command. -1 - no time limit (hides the timer as well).
Icon-Bug.pngBug:Doesn't work. As workaround you can use logic_auto that OnMapSpawn will fire input AddRoundTime or RemoveRoundTime to set required value for round time.  [todo tested in ?]

Inputs

AddRoundTime <integerRedirectInput/integer>
Add more time to the round.
RemoveRoundTime <integerRedirectInput/integer>
Remove time from the round.
AddWarmupTime <integerRedirectInput/integer>
Add more time to the warmup.
Note.pngNote:For some reason also affects warmup intermission time.
RemoveWarmupTime <integerRedirectInput/integer>
Remove time from the warmup.