<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://sigwiki.potato.tf/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lite</id>
	<title>SigMod - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://sigwiki.potato.tf/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lite"/>
	<link rel="alternate" type="text/html" href="https://sigwiki.potato.tf/index.php/Special:Contributions/Lite"/>
	<updated>2026-06-05T04:35:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://sigwiki.potato.tf/index.php?title=Timers&amp;diff=7333</id>
		<title>Timers</title>
		<link rel="alternate" type="text/html" href="https://sigwiki.potato.tf/index.php?title=Timers&amp;diff=7333"/>
		<updated>2023-09-25T16:11:17Z</updated>

		<summary type="html">&lt;p&gt;Lite: Updated the Text-Based Timer info to include my new version of the timer. Allows more customization and is all around more stable&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Timers.png|thumb|Both timer templates shown above]]&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
== How to use ==&lt;br /&gt;
Both timers are simple to use and can be added into any mission running on our servers.  &lt;br /&gt;
&lt;br /&gt;
=== Text-Based Timer ===&lt;br /&gt;
&lt;br /&gt;
# Add the template to your mission by adding &amp;lt;code&amp;gt;#base reverse_timer_text_v2.pop&amp;lt;/code&amp;gt; to the top of your popfile&lt;br /&gt;
# Add this block of text at the top of each of your Wave{} blocks&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
SpawnTemplate texttimerv2&lt;br /&gt;
InitWaveOutput&lt;br /&gt;
{&lt;br /&gt;
	Target gamerules&lt;br /&gt;
	Action runscriptcode&lt;br /&gt;
			////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
			//  ::clock &amp;lt;- `minutes|seconds|color|logic_relay triggered on depleted timer`&lt;br /&gt;
	Param	                 &amp;quot;::clock &amp;lt;- `10|00|0 255 255|timerfinish1`&amp;quot;&lt;br /&gt;
			////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
# Send a &amp;lt;code&amp;gt;SetValue&amp;lt;/code&amp;gt; input to &amp;lt;code&amp;gt;addtime&amp;lt;/code&amp;gt; with a parameter of a number to add or remove time from the timer&lt;br /&gt;
# Send a &amp;lt;code&amp;gt;CallScriptFunction&amp;lt;/code&amp;gt; input to &amp;lt;code&amp;gt;timerdisplay&amp;lt;/code&amp;gt; with a parameter of &amp;lt;code&amp;gt;timerpause&amp;lt;/code&amp;gt; to pause the timer, or &amp;lt;code&amp;gt;timerunpause&amp;lt;/code&amp;gt; to unpause instead&lt;br /&gt;
&lt;br /&gt;
=== Boss Bar Timer ===&lt;br /&gt;
&lt;br /&gt;
# Add the template to your mission by adding &amp;lt;code&amp;gt;#base reverse_timer.pop&amp;lt;/code&amp;gt; to the top of your popfile&lt;br /&gt;
# Add &amp;lt;code&amp;gt;SpawnTemplate &amp;quot;timertest&amp;quot; [$SIGSEGV]&amp;lt;/code&amp;gt; to WaveSchedule, same place as StartingCurrency&lt;br /&gt;
# Trigger &amp;lt;code&amp;gt;showtimer&amp;lt;/code&amp;gt; using a WaveSpawn output such as FirstSpawnOutput to display the bar on the HUD&lt;br /&gt;
# Trigger &amp;lt;code&amp;gt;timer_relay&amp;lt;/code&amp;gt; to begin the countdown&lt;br /&gt;
# Send the &amp;lt;code&amp;gt;CancelPending&amp;lt;/code&amp;gt; input to &amp;lt;code&amp;gt;timer_relay&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;Trigger&amp;lt;/code&amp;gt; to pause the timer, it can be restarted by re-triggering&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boss bar limitations:&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;small&amp;gt;Only one Tank/Chief boss bar can be present at once without overlapping&amp;lt;/small&amp;gt;&lt;br /&gt;
# &amp;lt;small&amp;gt;Overrides Halloween boss bar, meaning a Halloween boss cannot be used alongside this&amp;lt;/small&amp;gt;&lt;br /&gt;
# &amp;lt;small&amp;gt;Size of the bar cannot be changed, only the rate it decreases&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Templates ==&lt;br /&gt;
Text based timer: https://testing.potato.tf/tf/scripts/population/reverse_timer_text.pop&lt;br /&gt;
&lt;br /&gt;
Boss bar timer: https://testing.potato.tf/tf/scripts/population/reverse_timer.pop&lt;/div&gt;</summary>
		<author><name>Lite</name></author>
	</entry>
</feed>