<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://www.fsdeveloper.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Frequency_controlled_animations_%28ASM_tweak%29</id>
	<title>Frequency controlled animations (ASM tweak) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.fsdeveloper.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Frequency_controlled_animations_%28ASM_tweak%29"/>
	<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;action=history"/>
	<updated>2026-05-02T22:36:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5982&amp;oldid=prev</id>
		<title>Arno at 21:48, 4 July 2008</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5982&amp;oldid=prev"/>
		<updated>2008-07-04T21:48:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:48, 4 July 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l296&quot;&gt;Line 296:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 296:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, you have now seen all the parts that are needed to control your animation. I hope this tutorial makes it clear to me which changes I made to the source and why I did so.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, you have now seen all the parts that are needed to control your animation. I hope this tutorial makes it clear to me which changes I made to the source and why I did so.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;category&lt;/del&gt;:Tweaking]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Category&lt;/ins&gt;:Tweaking&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Scenery_Design&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arno</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5954&amp;oldid=prev</id>
		<title>Arno at 20:56, 4 July 2008</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5954&amp;oldid=prev"/>
		<updated>2008-07-04T20:56:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:56, 4 July 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Infobox-Applicable-FSVersion&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FSXI = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FSXA = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FSX = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS2004 = true&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS2002 = true&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS2000 = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;| FS98 = false&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First I want to note that this is the origional tutorial I wrote. Since then I have learned new things about tweaking animations and this new knowledge is put into the CAT tool. I hope to update this article in the future to reflect this new knowledge. But this origional tutorial might still help some user who want to tweak something themself or understand the logic behind it.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;First I want to note that this is the origional tutorial I wrote. Since then I have learned new things about tweaking animations and this new knowledge is put into the CAT tool. I hope to update this article in the future to reflect this new knowledge. But this origional tutorial might still help some user who want to tweak something themself or understand the logic behind it.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l286&quot;&gt;Line 286:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 296:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, you have now seen all the parts that are needed to control your animation. I hope this tutorial makes it clear to me which changes I made to the source and why I did so.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, you have now seen all the parts that are needed to control your animation. I hope this tutorial makes it clear to me which changes I made to the source and why I did so.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Scenery design&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tweaking&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arno</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5952&amp;oldid=prev</id>
		<title>Arno: Animation - Frequency Controlled moved to Frequency controlled animations (ASM tweak)</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5952&amp;oldid=prev"/>
		<updated>2008-07-04T20:55:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php/Animation_-_Frequency_Controlled&quot; class=&quot;mw-redirect&quot; title=&quot;Animation - Frequency Controlled&quot;&gt;Animation - Frequency Controlled&lt;/a&gt; moved to &lt;a href=&quot;/wiki/index.php/Frequency_controlled_animations_(ASM_tweak)&quot; title=&quot;Frequency controlled animations (ASM tweak)&quot;&gt;Frequency controlled animations (ASM tweak)&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:55, 4 July 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&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>Arno</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5352&amp;oldid=prev</id>
		<title>BASys: Frequency controlled animations moved to Animation - Frequency Controlled: Titling Rationalisation</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=5352&amp;oldid=prev"/>
		<updated>2008-04-25T18:36:18Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/wiki/index.php/Frequency_controlled_animations&quot; class=&quot;mw-redirect&quot; title=&quot;Frequency controlled animations&quot;&gt;Frequency controlled animations&lt;/a&gt; moved to &lt;a href=&quot;/wiki/index.php/Animation_-_Frequency_Controlled&quot; class=&quot;mw-redirect&quot; title=&quot;Animation - Frequency Controlled&quot;&gt;Animation - Frequency Controlled&lt;/a&gt;: Titling Rationalisation&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:36, 25 April 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&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>BASys</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=1465&amp;oldid=prev</id>
		<title>Arno at 14:50, 1 October 2006</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=1465&amp;oldid=prev"/>
		<updated>2006-10-01T14:50:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:50, 1 October 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tutorial is for the Fs2002 ASM code, for the Fs2004 code the principle remains the same, although the structure of the source file has completely changed. Have a look at the article about the RIFF format for more details about this.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This tutorial is for the Fs2002 ASM code, for the Fs2004 code the principle remains the same, although the structure of the source file has completely changed. Have a look at the article about the RIFF format for more details about this.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Introduction =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= Introduction &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Have you made an animation in GMax? Then you have probably noticed that it keeps on playing endlessly. This is not always what you want, just think of a gate that should dock to your aircraft. This document will describe how you can edit the BGLC code that GMax made to get better control over the animation. In the rest of this tutorial I will use the NAV2 frequency as an example, but you can of course replace this variable by another one. The technique used basically stays the same.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Have you made an animation in GMax? Then you have probably noticed that it keeps on playing endlessly. This is not always what you want, just think of a gate that should dock to your aircraft. This document will describe how you can edit the BGLC code that GMax made to get better control over the animation. In the rest of this tutorial I will use the NAV2 frequency as an example, but you can of course replace this variable by another one. The technique used basically stays the same.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= What do you need =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= What do you need &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You first question will probably be what do I need to have and need to know to be able to do these changes?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You first question will probably be what do I need to have and need to know to be able to do these changes?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you have all these things, we are ready to get started!&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you have all these things, we are ready to get started!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= The principle =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= The principle &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To change the display of the animation according to a certain setting of the NAV2 frequency we are going to use the following principle.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;To change the display of the animation according to a certain setting of the NAV2 frequency we are going to use the following principle.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, enough talking about how we are going to do it, let&amp;#039;s start the actual work.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, enough talking about how we are going to do it, let&amp;#039;s start the actual work.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Original ASM file =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= Original ASM file &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For this tutorial I have made a simple test scenery. The scenery contains of one static box (this is needed because otherwise GMax animations do not always work correct) and one animated box. The ASM files as GMax made them are included in the zipfile that you downloaded, they are named test.asm and test_0.asm. We are only going to make changes to the test_0.asm file, so open this file now.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For this tutorial I have made a simple test scenery. The scenery contains of one static box (this is needed because otherwise GMax animations do not always work correct) and one animated box. The ASM files as GMax made them are included in the zipfile that you downloaded, they are named test.asm and test_0.asm. We are only going to make changes to the test_0.asm file, so open this file now.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot;&gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Finally you see the code that draws are box (the one that is animated). Of course when you have a more complex project, with more parts, you can find more source below this point, but it will either look like the code for the static box or like the one of the animated box.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Finally you see the code that draws are box (the one that is animated). Of course when you have a more complex project, with more parts, you can find more source below this point, but it will either look like the code for the static box or like the one of the animated box.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Animation tables =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= Animation tables &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first thing we are going to change are the animation tables. We are going to add some extra tables for new animations. Here is how the original translational table looks:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first thing we are going to change are the animation tables. We are going to add some extra tables for new animations. Here is how the original translational table looks:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l187&quot;&gt;Line 187:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 187:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     real4    100.0,  0.000000,  0.000000,  0.548293,  0.836286 ; frame/x/y/z/w values&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     real4    100.0,  0.000000,  0.000000,  0.548293,  0.836286 ; frame/x/y/z/w values&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= The animation code =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= The animation code &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The next part of the code we are going to make changes to is the part that generates the actual animation. In the original file this code looks like:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The next part of the code we are going to make changes to is the part that generates the actual animation. In the original file this code looks like:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l201&quot;&gt;Line 201:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 201:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By changing the make of the label you can use any animation table you have made. If your object only has a translation or only a rotation you will only find one BGL_ANIMATE command in the source.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;By changing the make of the label you can use any animation table you have made. If your object only has a translation or only a rotation you will only find one BGL_ANIMATE command in the source.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Frequency checking =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= Frequency checking &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, we can now change the animation tables and use the ones we want, be we still need to check for the frequency to start the animation. To check the value of a certain value we are going to use the IFIN1 command. Here is an example of the command:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, we can now change the animation tables and use the ones we want, be we still need to check for the frequency to start the animation. To check the value of a certain value we are going to use the IFIN1 command. Here is an example of the command:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l282&quot;&gt;Line 282:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 282:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The same is done for the backwards animation. And also when the animation is playing, the user variable has the value 2 or 5, and the end of the animation has been reached, usrvar has a value between 97 and 100, the user variable (usrvr4) is changed to display the static condition at either the start or end location.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The same is done for the backwards animation. And also when the animation is playing, the user variable has the value 2 or 5, and the end of the animation has been reached, usrvar has a value between 97 and 100, the user variable (usrvr4) is changed to display the static condition at either the start or end location.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Final note =&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;= Final note &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=&lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, you have now seen all the parts that are needed to control your animation. I hope this tutorial makes it clear to me which changes I made to the source and why I did so.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;OK, you have now seen all the parts that are needed to control your animation. I hope this tutorial makes it clear to me which changes I made to the source and why I did so.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:Scenery design]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[category:Scenery design]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Arno</name></author>
	</entry>
	<entry>
		<id>http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=1445&amp;oldid=prev</id>
		<title>Arno at 14:03, 1 October 2006</title>
		<link rel="alternate" type="text/html" href="http://www.fsdeveloper.com/wiki/index.php?title=Frequency_controlled_animations_(ASM_tweak)&amp;diff=1445&amp;oldid=prev"/>
		<updated>2006-10-01T14:03:04Z</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;First I want to note that this is the origional tutorial I wrote. Since then I have learned new things about tweaking animations and this new knowledge is put into the CAT tool. I hope to update this article in the future to reflect this new knowledge. But this origional tutorial might still help some user who want to tweak something themself or understand the logic behind it.&lt;br /&gt;
&lt;br /&gt;
This tutorial is for the Fs2002 ASM code, for the Fs2004 code the principle remains the same, although the structure of the source file has completely changed. Have a look at the article about the RIFF format for more details about this.&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
Have you made an animation in GMax? Then you have probably noticed that it keeps on playing endlessly. This is not always what you want, just think of a gate that should dock to your aircraft. This document will describe how you can edit the BGLC code that GMax made to get better control over the animation. In the rest of this tutorial I will use the NAV2 frequency as an example, but you can of course replace this variable by another one. The technique used basically stays the same.&lt;br /&gt;
&lt;br /&gt;
= What do you need =&lt;br /&gt;
&lt;br /&gt;
You first question will probably be what do I need to have and need to know to be able to do these changes?&lt;br /&gt;
&lt;br /&gt;
The first thing you need are the BGLC source files, if you check the “Keep files” option during exporting from GMax to files with the extension ASM will be saved in the same folder as the BGL file you exported. If you object is called test, these files have the names test.asm and test_0.asm.&lt;br /&gt;
&lt;br /&gt;
To look at and edit these files you can best use a normal texture editor, like Notepad. If you want to use another program make sure you save the output as plain ASCII.&lt;br /&gt;
The change these ASM files back into a BGL file you need a compiler, we are going to use BGLC for that. The latest version of this tool came with the BGL Compiler SDK for Fs2002.&lt;br /&gt;
When you have all these things, we are ready to get started!&lt;br /&gt;
&lt;br /&gt;
= The principle =&lt;br /&gt;
&lt;br /&gt;
To change the display of the animation according to a certain setting of the NAV2 frequency we are going to use the following principle.&lt;br /&gt;
&lt;br /&gt;
The animation is controlled by a table that contains the positions and rotation for the animation. We are going to add more of these tables, for example one for the reversed animation and also one that has the initial position for every position of the table, so for FS it will be an animation, but because all positions are constant it will look as static to us.&lt;br /&gt;
&lt;br /&gt;
Then depending on the selected frequency we are going to call one of these tables. This way we can get an animation started when we select the frequency and so on.&lt;br /&gt;
One off the problems that we will encounter is that you can only check in FS what the value of the frequency is, but you can not see if the frequency has changed. This means that we have to build in some sort of memory, so that we know when the animation has played once and should stop for example. We are going to use an user variable to create this memory.&lt;br /&gt;
OK, enough talking about how we are going to do it, let&amp;#039;s start the actual work.&lt;br /&gt;
&lt;br /&gt;
= Original ASM file =&lt;br /&gt;
&lt;br /&gt;
For this tutorial I have made a simple test scenery. The scenery contains of one static box (this is needed because otherwise GMax animations do not always work correct) and one animated box. The ASM files as GMax made them are included in the zipfile that you downloaded, they are named test.asm and test_0.asm. We are only going to make changes to the test_0.asm file, so open this file now.&lt;br /&gt;
&lt;br /&gt;
Before we start making the changes, first scroll through this source file to make yourself a bit familiar with the different parts of it.&lt;br /&gt;
&lt;br /&gt;
The first part we see are the material definitions. Next is the list of points (all the VERTEX_DEF commands). As we are not going to change how the object looks we don&amp;#039;t need to make any changes to this part of the source file.&lt;br /&gt;
&lt;br /&gt;
After the point list you will find the drawing commands for the static box. Now we have reached the interesting part of the source file. The next section contains the tables that are used for the animation. The part named test_trans_1 contains the table for the translational motion and the part test_quat_1 contains the table for the rotational motion. As described above in the principles we are going to add some extra tables of these two sorts.&lt;br /&gt;
These tables are followed by some more tables, that are used to define the correct timing using the tick18 variable1.&lt;br /&gt;
&lt;br /&gt;
Then we reach the part with the BGL_ANIMATE commands, here the actual animation is defined and the tables that should be used are called. This is also the place where we are going to add the checks on the variable to make sure the correct animation is called.&lt;br /&gt;
&lt;br /&gt;
Finally you see the code that draws are box (the one that is animated). Of course when you have a more complex project, with more parts, you can find more source below this point, but it will either look like the code for the static box or like the one of the animated box.&lt;br /&gt;
&lt;br /&gt;
= Animation tables =&lt;br /&gt;
&lt;br /&gt;
The first thing we are going to change are the animation tables. We are going to add some extra tables for new animations. Here is how the original translational table looks:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;test_trans_1       label word&lt;br /&gt;
    dw           1       ; 1: Point (translation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0, -176.025238, -97.791794,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4    100.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We also want the animation in the backwards order for example. To do this just copy this code, change the label and change the positions that belong to the times. Here is an example for the backwards animation:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;test_trans_1a       label word&lt;br /&gt;
    dw           1       ; 1: Point (translation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4    100.0, -176.025238, -97.791794,  0.000000 ; frame/x/y/z values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice I have changed the label to test_trans_1a. You can choose any name, as long as it is unique. If you have more then one animated part in your source, the table for the second part will be called test_trans_2 by default, so you would better not use that one here.&lt;br /&gt;
&lt;br /&gt;
You can also add more points for the animation. You must change the line that specifies the number of entries that will follow and add the extra lines in the table. Let&amp;#039;s say we want the object to do nothing the first 20 frames and then start animating, that code would look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;test_trans_1a       label word&lt;br /&gt;
    dw           1       ; 1: Point (translation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           3       ; number of entries&lt;br /&gt;
    real4      0.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4     20.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4    100.0, -176.025238, -97.791794,  0.000000 ; frame/x/y/z values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I think you&amp;#039;ll get the idea by now. For this example we need 4 tables, the original one, the backwards animation and two tables that have the static animations at both endpoints. The complete code for these four tables looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;test_trans_1       label word&lt;br /&gt;
    dw           1       ; 1: Point (translation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0, -176.025238, -97.791794,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4    100.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&lt;br /&gt;
test_trans_1a       label word&lt;br /&gt;
    dw           1       ; 1: Point (translation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4    100.0, -176.025238, -97.791794,  0.000000 ; frame/x/y/z values&lt;br /&gt;
test_trans_1b       label word&lt;br /&gt;
    dw           1       ; 1: Point (translation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0, -176.025238, -97.791794,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4    100.0, -176.025238, -97.791794,  0.000000 ; frame/x/y/z values&lt;br /&gt;
test_trans_1c       label word&lt;br /&gt;
    dw           1       ; 1: Point (translation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&lt;br /&gt;
    real4    100.0, 162.454285, 99.359100,  0.000000 ; frame/x/y/z values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we have had the translational motion, we have to do the same for the rotational motion. Here we again need four tables. The original one, the one for the backwards animation and the two for the static animations at the endpoints. Because the principle is the same I will only give the end result here.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;test_quat_1        label word&lt;br /&gt;
    dw           3       ; 3: Quaternion (rotation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw          26       ; number of entries&lt;br /&gt;
    real4      0.0,  0.000000,  0.000000,  0.000000,  1.000000 ; frame/x/y/z/w values&lt;br /&gt;
    real4      4.0,  0.000000,  0.000000, -0.102272,  0.994757 ; frame/x/y/z/w values&lt;br /&gt;
    real4      8.0,  0.000000,  0.000000, -0.203471,  0.979081 ; frame/x/y/z/w values&lt;br /&gt;
    real4     12.0,  0.000000,  0.000000, -0.302536,  0.953138 ; frame/x/y/z/w values&lt;br /&gt;
    real4     16.0,  0.000000,  0.000000, -0.398429,  0.917199 ; frame/x/y/z/w values&lt;br /&gt;
    real4     20.0,  0.000000,  0.000000, -0.490143,  0.871642 ; frame/x/y/z/w values&lt;br /&gt;
    real4     24.0,  0.000000,  0.000000, -0.576717,  0.816944 ; frame/x/y/z/w values&lt;br /&gt;
    real4     28.0,  0.000000,  0.000000, -0.657244,  0.753678 ; frame/x/y/z/w values&lt;br /&gt;
    real4     33.0,  0.000000,  0.000000, -0.748117,  0.663567 ; frame/x/y/z/w values&lt;br /&gt;
    real4     37.0,  0.000000,  0.000000, -0.812058,  0.583577 ; frame/x/y/z/w values&lt;br /&gt;
    real4     41.0,  0.000000,  0.000000, -0.867485,  0.497465 ; frame/x/y/z/w values&lt;br /&gt;
    real4     45.0,  0.000000,  0.000000, -0.913813,  0.406138 ; frame/x/y/z/w values&lt;br /&gt;
    real4     49.0,  0.000000,  0.000000, -0.950558,  0.310552 ; frame/x/y/z/w values&lt;br /&gt;
    real4     53.0,  0.000000,  0.000000, -0.977334,  0.211708 ; frame/x/y/z/w values&lt;br /&gt;
    real4     57.0,  0.000000,  0.000000, -0.993861,  0.110645 ; frame/x/y/z/w values&lt;br /&gt;
    real4     61.0,  0.000000,  0.000000, -0.999966,  0.008421 ; frame/x/y/z/w values&lt;br /&gt;
    real4     65.0,  0.000000,  0.000000, -0.995584, -0.093891 ; frame/x/y/z/w values&lt;br /&gt;
    real4     69.0,  0.000000,  0.000000, -0.980761, -0.195218 ; frame/x/y/z/w values&lt;br /&gt;
    real4     73.0,  0.000000,  0.000000, -0.955653, -0.294499 ; frame/x/y/z/w values&lt;br /&gt;
    real4     77.0,  0.000000,  0.000000, -0.920523, -0.390690 ; frame/x/y/z/w values&lt;br /&gt;
    real4     81.0,  0.000000,  0.000000, -0.875740, -0.482785 ; frame/x/y/z/w values&lt;br /&gt;
    real4     85.0,  0.000000,  0.000000,  0.821771,  0.569818 ; frame/x/y/z/w values&lt;br /&gt;
    real4     89.0,  0.000000,  0.000000,  0.759186,  0.650874 ; frame/x/y/z/w values&lt;br /&gt;
    real4     94.0,  0.000000,  0.000000,  0.669844,  0.742502 ; frame/x/y/z/w values&lt;br /&gt;
    real4     98.0,  0.000000,  0.000000,  0.590394,  0.807115 ; frame/x/y/z/w values&lt;br /&gt;
    real4    100.0,  0.000000,  0.000000,  0.548293,  0.836286 ; frame/x/y/z/w values&lt;br /&gt;
test_quat_1a        label word&lt;br /&gt;
    dw           3       ; 3: Quaternion (rotation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw          26       ; number of entries&lt;br /&gt;
    real4      0.0,  0.000000,  0.000000,  0.548293,  0.836286 ; frame/x/y/z/w values&lt;br /&gt;
    real4      2.0,  0.000000,  0.000000,  0.590394,  0.807115 ; frame/x/y/z/w values&lt;br /&gt;
    real4      6.0,  0.000000,  0.000000,  0.669844,  0.742502 ; frame/x/y/z/w values&lt;br /&gt;
    real4     11.0,  0.000000,  0.000000,  0.759186,  0.650874 ; frame/x/y/z/w values&lt;br /&gt;
    real4     15.0,  0.000000,  0.000000,  0.821771,  0.569818 ; frame/x/y/z/w values&lt;br /&gt;
    real4     19.0,  0.000000,  0.000000, -0.875740, -0.482785 ; frame/x/y/z/w values&lt;br /&gt;
    real4     23.0,  0.000000,  0.000000, -0.920523, -0.390690 ; frame/x/y/z/w values&lt;br /&gt;
    real4     27.0,  0.000000,  0.000000, -0.955653, -0.294499 ; frame/x/y/z/w values&lt;br /&gt;
    real4     31.0,  0.000000,  0.000000, -0.980761, -0.195218 ; frame/x/y/z/w values&lt;br /&gt;
    real4     35.0,  0.000000,  0.000000, -0.995584, -0.093891 ; frame/x/y/z/w values&lt;br /&gt;
    real4     39.0,  0.000000,  0.000000, -0.999966,  0.008421 ; frame/x/y/z/w values&lt;br /&gt;
    real4     43.0,  0.000000,  0.000000, -0.993861,  0.110645 ; frame/x/y/z/w values&lt;br /&gt;
    real4     47.0,  0.000000,  0.000000, -0.977334,  0.211708 ; frame/x/y/z/w values&lt;br /&gt;
    real4     51.0,  0.000000,  0.000000, -0.950558,  0.310552 ; frame/x/y/z/w values&lt;br /&gt;
    real4     55.0,  0.000000,  0.000000, -0.913813,  0.406138 ; frame/x/y/z/w values&lt;br /&gt;
    real4     59.0,  0.000000,  0.000000, -0.867485,  0.497465 ; frame/x/y/z/w values&lt;br /&gt;
    real4     63.0,  0.000000,  0.000000, -0.812058,  0.583577 ; frame/x/y/z/w values&lt;br /&gt;
    real4     67.0,  0.000000,  0.000000, -0.748117,  0.663567 ; frame/x/y/z/w values&lt;br /&gt;
    real4     72.0,  0.000000,  0.000000, -0.657244,  0.753678 ; frame/x/y/z/w values&lt;br /&gt;
    real4     76.0,  0.000000,  0.000000, -0.576717,  0.816944 ; frame/x/y/z/w values&lt;br /&gt;
    real4     80.0,  0.000000,  0.000000, -0.490143,  0.871642 ; frame/x/y/z/w values&lt;br /&gt;
    real4     84.0,  0.000000,  0.000000, -0.398429,  0.917199 ; frame/x/y/z/w values&lt;br /&gt;
    real4     88.0,  0.000000,  0.000000, -0.302536,  0.953138 ; frame/x/y/z/w values&lt;br /&gt;
    real4     92.0,  0.000000,  0.000000, -0.203471,  0.979081 ; frame/x/y/z/w values&lt;br /&gt;
    real4     96.0,  0.000000,  0.000000, -0.102272,  0.994757 ; frame/x/y/z/w values&lt;br /&gt;
    real4    100.0,  0.000000,  0.000000,  0.000000,  1.000000 ; frame/x/y/z/w values&lt;br /&gt;
test_quat_1b        label word&lt;br /&gt;
    dw           3       ; 3: Quaternion (rotation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0,  0.000000,  0.000000,  0.000000,  1.000000 ; frame/x/y/z/w values&lt;br /&gt;
    real4    100.0,  0.000000,  0.000000,  0.000000,  1.000000 ; frame/x/y/z/w values&lt;br /&gt;
test_quat_1c        label word&lt;br /&gt;
    dw           3       ; 3: Quaternion (rotation) &lt;br /&gt;
    real4     -1.0       ; Previous panim value&lt;br /&gt;
    real4 16 dup (0.0)   ; Cached matrix &lt;br /&gt;
    dw           2       ; number of entries&lt;br /&gt;
    real4      0.0,  0.000000,  0.000000,  0.548293,  0.836286 ; frame/x/y/z/w values&lt;br /&gt;
    real4    100.0,  0.000000,  0.000000,  0.548293,  0.836286 ; frame/x/y/z/w values&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= The animation code =&lt;br /&gt;
&lt;br /&gt;
The next part of the code we are going to make changes to is the part that generates the actual animation. In the original file this code looks like:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_trans_1 - offset test_pvan_1),0.0,0.0,0.0&lt;br /&gt;
    BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_quat_1 - offset test_pvan_1),0.0,0.0,0.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this are only two lines of code, but they don&amp;#039;t fit in this document. When we now want to call the backwards animation we use the following lines (using the names for the tables used above):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_trans_1a - offset test_pvan_1),0.0,0.0,0.0&lt;br /&gt;
    BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_quat_1a - offset test_pvan_1),0.0,0.0,0.0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By changing the make of the label you can use any animation table you have made. If your object only has a translation or only a rotation you will only find one BGL_ANIMATE command in the source.&lt;br /&gt;
&lt;br /&gt;
= Frequency checking =&lt;br /&gt;
&lt;br /&gt;
OK, we can now change the animation tables and use the ones we want, be we still need to check for the frequency to start the animation. To check the value of a certain value we are going to use the IFIN1 command. Here is an example of the command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    IFIN1 a00, tod, 2, 4&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this example the variable tod (time of day) is checked. If the value of this variable is between 2 and 4 (that means dusk/dawn or night) the commands following this instruction are executed, otherwise a jump to the label a00 is made.&lt;br /&gt;
&lt;br /&gt;
As explained before while discussing the principles we are going to use an user variable to store the state of the animation. We will use the variable usrvr4 for this purpose. I have made the following list of possible values:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;value    description&lt;br /&gt;
0        No animation, on start location&lt;br /&gt;
1        Ready for animation&lt;br /&gt;
2        Animation&lt;br /&gt;
3        No animation, on end location&lt;br /&gt;
4        Ready for backwards animation&lt;br /&gt;
5        Backwards animation&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on the type of animation your object is performing you could need more or less of these positions to be stored. But the principle for the implementation is the same as for this example below, so once you understand that code it shouldn&amp;#039;t be too hard to change it.&lt;br /&gt;
&lt;br /&gt;
Now we can make the following piece of code that calls the correct animation depending on the value of the user variable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    IFIN1 a08, usrvr4, 0, 1&lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_trans_1b - offset test_pvan_1),0.0,0.0,0.0              &lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_quat_1b - offset test_pvan_1),0.000000,0.000000,0.000000&lt;br /&gt;
        BGL_JUMP_32 a11&lt;br /&gt;
    a08 label word&lt;br /&gt;
    IFIN1 a09, usrvr4, 2, 2&lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_trans_1 - offset test_pvan_1),0.0,0.0,0.0              &lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_quat_1 - offset test_pvan_1),0.000000,0.000000,0.000000&lt;br /&gt;
        BGL_JUMP_32 a11&lt;br /&gt;
    a09 label word&lt;br /&gt;
    IFIN1 a10, usrvr4, 3, 4&lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_trans_1c - offset test_pvan_1),0.0,0.0,0.0              &lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_quat_1c - offset test_pvan_1),0.000000,0.000000,0.000000&lt;br /&gt;
        BGL_JUMP_32 a11&lt;br /&gt;
    a10 label word&lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_trans_1a - offset test_pvan_1),0.0,0.0,0.0              &lt;br /&gt;
        BGL_ANIMATE   VAR_BASE_GLOBAL,usrvr2,VAR_BASE_LOCAL,(offset test_quat_1a - offset test_pvan_1),0.000000,0.000000,0.000000&lt;br /&gt;
    a11 label word&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see above the correct animation table is used depending on the value of the user variable. The names for the tables are the same as before, when we defined them here, so if you have chosen others names, you should check which ones to call.&lt;br /&gt;
&lt;br /&gt;
The next thing we need is to check the value of the NAV2 frequency and change the value of the user variable if the frequency has been set or unset. The following code can do that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    IFIN1 a04, pvfreq, 1200h, 1200h&lt;br /&gt;
	IFIN1 a05, 320h, 0, 0&lt;br /&gt;
	    SETWRD 320h, 1&lt;br /&gt;
	a05 label word&lt;br /&gt;
	BGL_JUMP_32 a06&lt;br /&gt;
    a04 label word&lt;br /&gt;
    	IFIN1 a07, 320h, 3, 3&lt;br /&gt;
    	    SETWRD 320h, 4&lt;br /&gt;
    	a07 label word&lt;br /&gt;
    a06 label word&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variable pvfreq is the NAV2 frequency. In this case we check if the frequency has been set to 112.002. If the frequency is selected and the user variable has the value of 0, which means that it is at the initial location, then the user value will be set to 1. This means that the animation should be started, as soon as the start of it has been reached. Because the ticker is running all the time it is likely that at the moment you set the frequency the animation is not at the beginning and therefore we have to wait until the begin has been reached again. We do the same for the end of the animation. If the position is set to the end location, user variable has the value of 3, and the frequency is no longer selected, we set the user variable to 4 and the backwards animation will start as soon as possible.&lt;br /&gt;
&lt;br /&gt;
Now we are almost done, only one more step to take. When the animation has run one time, it should stop. And also when the ticker has reached zero again the simulation should be started if the user variable is set to ready for animation. We can use the following code for that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;    IFIN1 a00, 320h, 1, 1&lt;br /&gt;
    	IFIN1 a00, usrvar, 0, 3&lt;br /&gt;
    	    SETWRD 320h, 2&lt;br /&gt;
    a00 label word&lt;br /&gt;
    IFIN1 a01, 320h, 4, 4&lt;br /&gt;
    	IFIN1 a01, usrvar, 0, 3&lt;br /&gt;
    	    SETWRD 320h, 5&lt;br /&gt;
    a01 label word&lt;br /&gt;
    IFIN1 a02, 320h, 2, 2&lt;br /&gt;
    	IFIN1 a02, usrvar, 97, 100&lt;br /&gt;
    	    SETWRD 320h, 3&lt;br /&gt;
    a02 label word&lt;br /&gt;
    IFIN1 a03, 320h, 5, 5&lt;br /&gt;
    	IFIN1 a03, usrvar, 97, 100&lt;br /&gt;
    	    SETWRD 320h, 0&lt;br /&gt;
    a03 label word&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This code works as follows. When the user variable (usrvr4) is set to 1, which means ready for animation, and the usrvar3 has a value between 0 and 3, then the user variable is set to 2, which means that the actual animation will start. You might expect that we would only check if the value is equal to 0, but this was the source of animations not stopping and cycling a few times. It should be remember that the tick18 timer is 18Hz, which means that there are 18 frames a second. If the framerate in your scenery is lower, which is often the case is detailed sceneries (especially on slower computers) then some keyframes are skipped. This means that it is possible the the 0 frame is skipped a few times before it is reached and that can result in the animation playing a few times. Therefore we need to check for a small range of frames around 0, I have chosen to check for the frames between 0 and 3.&lt;br /&gt;
&lt;br /&gt;
The same is done for the backwards animation. And also when the animation is playing, the user variable has the value 2 or 5, and the end of the animation has been reached, usrvar has a value between 97 and 100, the user variable (usrvr4) is changed to display the static condition at either the start or end location.&lt;br /&gt;
&lt;br /&gt;
= Final note =&lt;br /&gt;
&lt;br /&gt;
OK, you have now seen all the parts that are needed to control your animation. I hope this tutorial makes it clear to me which changes I made to the source and why I did so.&lt;br /&gt;
&lt;br /&gt;
[[category:Scenery design]]&lt;/div&gt;</summary>
		<author><name>Arno</name></author>
	</entry>
</feed>