Timers: Difference between revisions
Jump to navigation
Jump to search
Braindawg1 (talk | contribs) |
|||
(4 intermediate revisions by 4 users not shown) | |||
Line 7: | Line 7: | ||
=== Text-Based Timer === | === Text-Based Timer === | ||
# Add the template to your mission by adding <code>#base | # Add the template to your mission by adding <code>#base reverse_timer_text_v3.pop</code> to the top of your popfile | ||
By default this will add a cyan 15 minute timer to all waves | |||
Advanced usage can be found within the [https://testing.potato.tf/tf/scripts/population/reverse_timer_text_v3.pop included popfile] | |||
=== Boss Bar Timer === | === Boss Bar Timer === | ||
Line 19: | Line 20: | ||
# Send the <code>CancelPending</code> input to <code>timer_relay</code> instead of <code>Trigger</code> to pause the timer, it can be restarted by re-triggering | # Send the <code>CancelPending</code> input to <code>timer_relay</code> instead of <code>Trigger</code> to pause the timer, it can be restarted by re-triggering | ||
'' | ''Boss bar limitations:'' | ||
# < | # <small>Only one Tank/Chief boss bar can be present at once without overlapping</small> | ||
# < | # <small>Overrides Halloween boss bar, meaning a Halloween boss cannot be used alongside this</small> | ||
# < | # <small>Size of the bar cannot be changed, only the rate it decreases</small> | ||
== Templates == | == Templates == | ||
Text based timer: https://testing.potato.tf/tf/scripts/population/ | Text based timer: https://testing.potato.tf/tf/scripts/population/reverse_timer_text_v2_simple.pop | ||
Boss bar timer: https://testing.potato.tf/tf/scripts/population/reverse_timer.pop | Boss bar timer: https://testing.potato.tf/tf/scripts/population/reverse_timer.pop |
Latest revision as of 04:56, 6 August 2024
Two 15 minute timer templates that will fail the wave once reaching zero. One is text based while the other utilizes the Halloween boss health bar. Instructions on how to change the countdown time can be found in the template files listed below.
How to use[edit | edit source]
Both timers are simple to use and can be added into any mission running on our servers.
Text-Based Timer[edit | edit source]
- Add the template to your mission by adding
#base reverse_timer_text_v3.pop
to the top of your popfile
By default this will add a cyan 15 minute timer to all waves
Advanced usage can be found within the included popfile
Boss Bar Timer[edit | edit source]
- Add the template to your mission by adding
#base reverse_timer.pop
to the top of your popfile - Add
SpawnTemplate "timertest" [$SIGSEGV]
to WaveSchedule, same place as StartingCurrency - Trigger
showtimer
using a WaveSpawn output such as FirstSpawnOutput to display the bar on the HUD - Trigger
timer_relay
to begin the countdown - Send the
CancelPending
input totimer_relay
instead ofTrigger
to pause the timer, it can be restarted by re-triggering
Boss bar limitations:
- Only one Tank/Chief boss bar can be present at once without overlapping
- Overrides Halloween boss bar, meaning a Halloween boss cannot be used alongside this
- Size of the bar cannot be changed, only the rate it decreases
Templates[edit | edit source]
Text based timer: https://testing.potato.tf/tf/scripts/population/reverse_timer_text_v2_simple.pop
Boss bar timer: https://testing.potato.tf/tf/scripts/population/reverse_timer.pop