<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Adding_.trg_headers_to_a_.got_template</id>
		<title>Adding .trg headers to a .got template - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://staredit.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Adding_.trg_headers_to_a_.got_template"/>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Adding_.trg_headers_to_a_.got_template&amp;action=history"/>
		<updated>2026-04-09T16:21:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Adding_.trg_headers_to_a_.got_template&amp;diff=250&amp;oldid=prev</id>
		<title>DevliN: 1 revision imported: Restoring SC1 backup</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Adding_.trg_headers_to_a_.got_template&amp;diff=250&amp;oldid=prev"/>
				<updated>2015-03-21T04:37:12Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported: Restoring SC1 backup&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:37, 21 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>DevliN</name></author>	</entry>

	<entry>
		<id>https://staredit.net/wiki/index.php?title=Adding_.trg_headers_to_a_.got_template&amp;diff=249&amp;oldid=prev</id>
		<title>DevliN at 18:01, 23 November 2012</title>
		<link rel="alternate" type="text/html" href="https://staredit.net/wiki/index.php?title=Adding_.trg_headers_to_a_.got_template&amp;diff=249&amp;oldid=prev"/>
				<updated>2012-11-23T18:01:03Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This tutorial will tell you how to add triggers to a regular game type. These triggers will be executed in ANY game of that game type. For example, if you make a trigger to kill all [[Protoss Probe]]s and add it to the Melee game template, all Probes will die in ANY Melee game, regardless of the map.&lt;br /&gt;
&lt;br /&gt;
==Definitions==&lt;br /&gt;
&lt;br /&gt;
.got - Game template file. Determines the name of the game, and other internal parameters. Game Template Editor has these flags labeled, so play around with them.&lt;br /&gt;
&lt;br /&gt;
.trg - StarCraft trigger file output from a map editor. It contains the triggers of a map.&lt;br /&gt;
&lt;br /&gt;
==Instructions==&lt;br /&gt;
&lt;br /&gt;
#The first thing that you will need is GotEd. [[http://www.stormcoast-fortress.net/downloads/goted/]]&lt;br /&gt;
#Open [[StarEdit]], or a similar map editor. Create all the triggers that you need. Remember that locations are not loaded in melee, and that Staredit removes all locations from your .trg's. Also note that [[StarEdit]] will save all strings into your file, giving StarCraft a difficult time reading the file, causing weird things to happen. Don't use strings unless you know what you're doing.&lt;br /&gt;
#Once you're done with the triggers, click the Save Triggers button and save them as a .trg file.&lt;br /&gt;
#Go into GotEd, select Trigger Files &amp;gt; Strip Header, and choose your .trg file. GotEd will create a .trged file.&lt;br /&gt;
#Close GotEd.&lt;br /&gt;
#Open an MPQ and add the .trged file to &amp;quot;triggers\&amp;quot;, removing the ed part of the extension.&lt;br /&gt;
&lt;br /&gt;
For example, if you are using the melee game type, your path should look like: &amp;quot;triggers\melee.trg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The paths of the .trg and .got files can be found in your StarDat.MPQ.&lt;br /&gt;
&lt;br /&gt;
[[Category:StarCraft]]&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
[[Category:Modding]]&lt;/div&gt;</summary>
		<author><name>DevliN</name></author>	</entry>

	</feed>