Mp round time: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{This is a|name=mp_round_time|e0|game=Black Mesa|}} This entity manage the round time on a multiplayer match. {{back | Black Mesa Level Creation}} ==Keyvalues== {{KV|Warmup...")
 
Line 4: Line 4:
==Keyvalues==
==Keyvalues==
{{KV|Warmup Time|intn=warmuptime|integer|How long warmup should be in seconds, 0 - use default value in server cvar <code>mp_warmup_time</code>.}}
{{KV|Warmup Time|intn=warmuptime|integer|How long warmup should be in seconds, 0 - use default value in server cvar <code>mp_warmup_time</code>.}}
{{bug|Doesn't work.}}  
{{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 default value in server cvar <code>mp_timelimit</code>.}}
{{KV|Round Time|intn=roundtime|integer|How long the round should be in seconds, 0 - use default value in server cvar <code>mp_timelimit</code>.}}
{{bug|Doesn't work.}}  
{{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}}
{{KV BaseEntity|base=1}}



Revision as of 12:26, 16 February 2024

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

Black Mesa Level Creation

Keyvalues

Warmup Time (warmuptime) <integer>
How long warmup should be in seconds, 0 - use default value in server cvar mp_warmup_time.
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 default value in server cvar mp_timelimit.
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.


Outputs