Mp round time: Difference between revisions
Jump to navigation
Jump to search
Bug:Doesn't work. As workaround you can use logic_auto that
Bug:Doesn't work. As workaround you can use logic_auto that
Note:For some reason also affects warmup intermission time.
MyGamepedia (talk | contribs) |
MyGamepedia (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{this is a| | {{CDA|CRoundTime|CBaseEntity|}} | ||
{{this is a|logical entity|name=mp_round_time|game=Black Mesa}} This entity manage the round time on a multiplayer match. | |||
==Keyvalues== | ==Keyvalues== | ||
{{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|hidetested=1|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|hidetested=1|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.}} | ||
==Inputs== | ==Inputs== | ||
{{ | {{I|AddRoundTime|param=integer|Add more time to the round.}} | ||
{{ | {{I|RemoveRoundTime|param=integer|Remove time from the round.}} | ||
{{ | {{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.}} | ||
{{ | {{I|RemoveWarmupTime|param=integer|Remove time from the warmup.}} | ||
Latest revision as of 06:14, 27 May 2025
![]() |
---|
CRoundTime |
mp_round_time
is a logical entity available in Black Mesa. This entity manage the round time on a multiplayer match.
Keyvalues
- Warmup Time (warmuptime) <integer>
- How long warmup should be in seconds. 0 - use value from mp_warmup_time console command. -1 - no warmup.

OnMapSpawn
will fire input AddWarmupTime
or RemoveWarmupTime
to set required value for warmup time.- 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).

OnMapSpawn
will fire input AddRoundTime
or RemoveRoundTime
to set required value for round time.Inputs
- AddRoundTime <integer >
- Add more time to the round.
- RemoveRoundTime <integer >
- Remove time from the round.
- AddWarmupTime <integer >
- Add more time to the warmup.

- RemoveWarmupTime <integer >
- Remove time from the warmup.