<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=MD5_Export_Process</id>
	<title>MD5 Export Process - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=MD5_Export_Process"/>
	<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=MD5_Export_Process&amp;action=history"/>
	<updated>2026-04-07T14:57:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.splashdamage.com/index.php?title=MD5_Export_Process&amp;diff=3222&amp;oldid=prev</id>
		<title>MoP: updated with templates and spelling fixes</title>
		<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=MD5_Export_Process&amp;diff=3222&amp;oldid=prev"/>
		<updated>2007-11-15T10:53:10Z</updated>

		<summary type="html">&lt;p&gt;updated with templates and spelling fixes&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&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: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 10:53, 15 November 2007&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;= Where To Start? =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;= Where To Start? =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Model Prepping in Maya ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Model Prepping in Maya ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Start by taking the freshly made model into Maya.&amp;#160; Once there, usually the best place to start is to 'separate' it into all the parts you think should be their own piece (eg. wheels, detachable components) or if you just think it will be easier to skin as a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;seperate &lt;/del&gt;piece of mesh.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Start by taking the freshly made model into Maya.&amp;#160; Once there, usually the best place to start is to 'separate' it into all the parts you think should be their own piece (eg. wheels, detachable components) or if you just think it will be easier to skin as a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;separate &lt;/ins&gt;piece of mesh.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Next you will want to assign your materials to the relevant pieces. The material is linked with a diffuse texture of the same name in the same path as the material name, for example the material for the GPMG is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;models/weapons/gdf_gpmg/gpmg_roler&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;, in Maya you would link the diffuse texture to a file in your ETQW folder, eg. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;/base/models/weapons/gdf_gpmg/gpmg_roler.tga&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/del&gt;. This file doesn't have to be referenced in the game.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Next you will want to assign your materials to the relevant pieces. The material is linked with a diffuse texture of the same name in the same path as the material name, for example the material for the GPMG is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{filename|&lt;/ins&gt;models/weapons/gdf_gpmg/gpmg_roler&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;, in Maya you would link the diffuse texture to a file in your ETQW folder, eg. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{filename|&lt;/ins&gt;/base/models/weapons/gdf_gpmg/gpmg_roler.tga&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;. This file doesn't have to be referenced in the game.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Begin the Rigging Process ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Begin the Rigging Process ===&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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 main orientation you want for joints is the same as Maya. X = forwards, Z = right, Y = up This is important for joints that will be controlled by the gamecode, ie not just keyframe animated.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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 main orientation you want for joints is the same as Maya. X = forwards, Z = right, Y = up This is important for joints that will be controlled by the gamecode, ie not just keyframe animated.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Also, for large models, make sure that any joint is never any more than 256 units away from its parent joint, as this can cause problems (If you have &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;unkowingly &lt;/del&gt;done so you will get a warning anyway telling you which joint/s need fixing).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Also, for large models, make sure that any joint is never any more than 256 units away from its parent joint, as this can cause problems (If you have &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;unknowingly &lt;/ins&gt;done so you will get a warning anyway telling you which joint/s need fixing).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Bind Meshes to Joints ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;=== Bind Meshes to Joints ===&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-l34&quot; &gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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 Export File =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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 Export File =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Here's a quick example taken from the GPMG first person weapon export file (&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gpmg.def &lt;/del&gt;found in base/def/weapons):&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;Here's a quick example taken from the GPMG first person weapon export file (found in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{filename|&lt;/ins&gt;base/def/weapons&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/gpmg.def}}&lt;/ins&gt;):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; export hauser {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;&amp;#160; export hauser {&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-l84&quot; &gt;Line 84:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;= Time To Export =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;= Time To Export =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;Now you have your Maya files and ''.def'' file ready you can open up the game.&amp;#160; For this example you would type the following into the console: '''exportmodels weapons/gpmg.def'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;Now you have your Maya files and ''.def'' file ready you can open up the game.&amp;#160; For this example you would type the following into the console: '''exportmodels weapons/gpmg.def'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;'''&amp;quot;&lt;/del&gt;exportmodels&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;''' &lt;/del&gt;can be used alone if you wish to export every single ''.def''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;{{consolecmd|&lt;/ins&gt;exportmodels&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}} &lt;/ins&gt;can be used alone if you wish to export every single ''.def''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;'''&amp;quot;&lt;/del&gt;reexportmodels&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;''' &lt;/del&gt;can be used to force a full export.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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 class=&quot;diffchange diffchange-inline&quot;&gt;{{consolecmd|&lt;/ins&gt;reexportmodels&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}} &lt;/ins&gt;can be used to force a full export.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;If everything has been set up properly you should see the engine run through executing all the export lines.&amp;#160; If it shows up with any warnings you will need to assess whether it is something to do with the Maya files or the export file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;If everything has been set up properly you should see the engine run through executing all the export lines.&amp;#160; If it shows up with any warnings you will need to assess whether it is something to do with the Maya files or the export file.&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-l91&quot; &gt;Line 91:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 91:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;If you do get warnings or errors, the most common mistakes/things to check are:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;If you do get warnings or errors, the most common mistakes/things to check are:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* Spelling mistakes in the .def file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* Spelling mistakes in the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;.def&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Too many, missing or inappropriate double braces.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Too many, missing or inappropriate double braces.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Wrong path indicated for where the files are.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;* Wrong path indicated for where the files are.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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 Maya files' time stamps are checked against the the MD5 files. Maybe your date is incorrectly set, or you have only changed the reference file so the game &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;dosen&lt;/del&gt;'t check it and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;realise &lt;/del&gt;anything is worth exporting (in this case you should use &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;reexportmodels&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* The Maya files' time stamps are checked against the the MD5 files. Maybe your date is incorrectly set, or you have only changed the reference file so the game &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;doesn&lt;/ins&gt;'t check it and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;realize &lt;/ins&gt;anything is worth exporting (in this case you should use &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{consolecmd|&lt;/ins&gt;reexportmodels&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* Export name masks can be used, in this case we have set it to 'export hauser' as shown at the top of the export section above. In game if the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'&lt;/del&gt;g_exportmask&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;' &lt;/del&gt;is set to anything other than &amp;quot;hauser&amp;quot; or &amp;quot;&amp;quot; (no mask exports all ''.def''s)then the export won't work.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;* Export name masks can be used, in this case we have set it to 'export hauser' as shown at the top of the export section above. In game if the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{consolecmd|&lt;/ins&gt;g_exportmask&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}} &lt;/ins&gt;is set to anything other than &amp;quot;hauser&amp;quot; or &amp;quot;&amp;quot; (no mask exports all ''.def''s)then the export won't work.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; 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;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>MoP</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.splashdamage.com/index.php?title=MD5_Export_Process&amp;diff=1457&amp;oldid=prev</id>
		<title>192.168.0.129 at 17:04, 15 October 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=MD5_Export_Process&amp;diff=1457&amp;oldid=prev"/>
		<updated>2007-10-15T17:04:35Z</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;Exporting animated models into the game is relatively pain free process but is easy to get wrong if not making sure it is done right.  So, lets go through right from the start the most common eventualities you'll come across...&lt;br /&gt;
&lt;br /&gt;
= Where To Start? =&lt;br /&gt;
=== Model Prepping in Maya ===&lt;br /&gt;
Start by taking the freshly made model into Maya.  Once there, usually the best place to start is to 'separate' it into all the parts you think should be their own piece (eg. wheels, detachable components) or if you just think it will be easier to skin as a seperate piece of mesh.&lt;br /&gt;
Next you will want to assign your materials to the relevant pieces. The material is linked with a diffuse texture of the same name in the same path as the material name, for example the material for the GPMG is ''models/weapons/gdf_gpmg/gpmg_roler'', in Maya you would link the diffuse texture to a file in your ETQW folder, eg. ''/base/models/weapons/gdf_gpmg/gpmg_roler.tga''. This file doesn't have to be referenced in the game.&lt;br /&gt;
&lt;br /&gt;
=== Begin the Rigging Process ===&lt;br /&gt;
Now you are ready to begin the rigging process.  Add joints to all parts of the mesh you think will needed to deform the mesh nicely and also that you think might be needed to make the model functional in game, and that might be needed for scripting purposes.&lt;br /&gt;
These might include:&lt;br /&gt;
* An origin joint&lt;br /&gt;
* Exit points for vehicles&lt;br /&gt;
* Muzzle flash points for weapons&lt;br /&gt;
It is a good idea to name your joints (as with anything) at this point, so you or anyone else who has to deal with the model later knows what they are all for.&lt;br /&gt;
&lt;br /&gt;
=== Joint Considerations ===&lt;br /&gt;
The main orientation you want for joints is the same as Maya. X = forwards, Z = right, Y = up This is important for joints that will be controlled by the gamecode, ie not just keyframe animated.&lt;br /&gt;
&lt;br /&gt;
Also, for large models, make sure that any joint is never any more than 256 units away from its parent joint, as this can cause problems (If you have unkowingly done so you will get a warning anyway telling you which joint/s need fixing).&lt;br /&gt;
&lt;br /&gt;
=== Bind Meshes to Joints ===&lt;br /&gt;
When you have your rig and the joints are all parented the way you want, you should now be ready to bind the mesh/es to the joints (use 'smooth bind' option).  Once you have all the meshes weighted to your liking you are ready save the file and move on.  ''Note: If any of the meshes or the groups they are in have any history (translations, mesh tweaks etc) make sure to freeze them then delete history.&lt;br /&gt;
&lt;br /&gt;
=== Setting Up a Reference File ===&lt;br /&gt;
You won't want to animate in this file, it will be used as a reference file.  Create a new Maya file and select File &amp;gt; Create Reference (click the options box for this menu).  Under the section name 'Name Clash Options' make sure Use Namespaces is unchecked, and resolve 'all nodes'  with 'this string' and in the box type a name that will be a prefix for everything in the reference file.  For this example I would type GPMG and then click the reference box at bottom left of this window.  This will bring up a file selection window where you select the reference file you made a moment ago.  If this has worked, your reference file should be loaded into your new file, but now you will notice everything has the name you just set prefixing everything.  Save this as a separate file (think of it as a child of the parent file).  You can now animate in this and any subsequent files made from it safe in the knowledge you are not changing anything in your master reference file.&lt;br /&gt;
&lt;br /&gt;
Also, should you need to make any core changes to the master file, such as adding new joints, reskinning or applying different materials for example, these changes will all be present in you child files.  So, at this point, you should be ready to start animating the model. Well, go on then... :)  &lt;br /&gt;
&lt;br /&gt;
=== Animate! ===&lt;br /&gt;
Animate the model as usual in Maya. For those who are new to animation, The Animator’s Survival Kit by Richard Williams is a good place to start. There are also scores of tutorials on the Internet for Maya-specific animation techniques (eg. http://www.highend3d.com).&lt;br /&gt;
&lt;br /&gt;
It is good practice, however, not to spend too long perfecting animations until you know they are working in game, so let's look at the export process that you should now be ready for and get the model into the game!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= The Export File =&lt;br /&gt;
Here's a quick example taken from the GPMG first person weapon export file (gpmg.def found in base/def/weapons):&lt;br /&gt;
&lt;br /&gt;
 export hauser {&lt;br /&gt;
        options -prefix GPMG_ -sourcedir models/weapons/gdf_gpmg/dev_sd &lt;br /&gt;
        -destdir models/weapons/gdf_gpmg/ &lt;br /&gt;
        -keep joint1 joint2  -keepmesh gpmg ammo_cover_lock gpmg_charge_handle&lt;br /&gt;
 &lt;br /&gt;
        mesh	gpmg_base_file.mb	-dest view.md5mesh&lt;br /&gt;
        anim	gpmg_idle.mb		-dest idle.md5anim -xyzprecision 0.001&lt;br /&gt;
        anim	gpmg_raise.mb	        -dest raise.md5anim&lt;br /&gt;
        anim	gpmg_lower.mb		-dest lower.md5anim&lt;br /&gt;
        anim	gpmg_fire.mb		-dest fire.md5anim&lt;br /&gt;
        anim	gpmg_reload.mb		-dest reload.md5anim&lt;br /&gt;
        anim	gpmg_idle_zoom.mb	-dest idle_zoom.md5anim&lt;br /&gt;
        anim	gpmg_fire_zoom.mb	-dest fire_zoom.md5anim&lt;br /&gt;
        anim	gpmg_zoom_out.mb	-dest zoom_out.md5anim&lt;br /&gt;
        anim	gpmg_zoom_in.mb		-dest zoom_in.md5anim&lt;br /&gt;
        anim 	gpmg_start_sprint.mb	-dest start_sprint.md5anim&lt;br /&gt;
        anim 	gpmg_leave_sprint.mb	-dest leave_sprint.md5anim&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The above example contains options most frequently used when exporting .md5’s:&lt;br /&gt;
&lt;br /&gt;
* '''-prefix''' - When referencing the master file, Maya will ask for a prefix that will be added to the joint names. Specify that prefix here.&lt;br /&gt;
* '''-scale''' - You can tweak the scale of the model on export.  This can be very handy if a designer decides they want something bigger but it has already been rigged and animated.  It is of course better to rescale/rig/animate it in Maya if it is not much work, as it can end up being confusing otherwise.&lt;br /&gt;
* '''-align''' - This will align the specified Maya node and all of its children to face the proper direction.&lt;br /&gt;
* '''-keep''' - The engine will prune joints that have little or no skin weights attached to them. If such joints are necessary to keep in the .MD5, they must be specified here. &lt;br /&gt;
* '''-dest''' - Destination filename. Usage: ''-dest [filename]''&lt;br /&gt;
&lt;br /&gt;
Some additional commands that may be useful:&lt;br /&gt;
* '''-rename''' - Renames joints. Usage: ''-rename [joint name] [new name]''&lt;br /&gt;
* '''-parent''' - Re-parents a joint. Usage: ''-parent [joint name] [new parent]''&lt;br /&gt;
* '''-range''' - Sets a frame range. Usage: ''-range [start frame] [end frame]''&lt;br /&gt;
* '''-cycleStart''' - Usage: ''-cycleStart [first frame of cycle]''&lt;br /&gt;
* '''-rotate''' - Usage: ''-rotate [yaw]''&lt;br /&gt;
* '''-nomesh'''&lt;br /&gt;
* '''-clearorigin'''&lt;br /&gt;
* '''-clearoriginaxis'''&lt;br /&gt;
* '''-ignorescale'''&lt;br /&gt;
* '''-xyzprecision''' - Usage: ''-xyzprecision [precision]''&lt;br /&gt;
* '''-quatprecision''' - Usage: ''-quatprecision [precision]''&lt;br /&gt;
* '''-jointthreshold''' - Usage: ''-jointthreshold [minimum joint weight]''&lt;br /&gt;
* '''-skipmesh''' - Usage: ''-skipmesh [name of mesh to skip]''&lt;br /&gt;
* '''-keepmesh''' - Usage: ''-keepmesh [name of mesh to keep]''&lt;br /&gt;
* '''-keepmeshprefix''' - Usage: ''-keepmeshprefix [prefix of mesh(es) to keep]''&lt;br /&gt;
* '''-jointgroup''' - Usage: ''-jointgroup [group name] [joint1] [joint2]...[joint n]''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Time To Export =&lt;br /&gt;
Now you have your Maya files and ''.def'' file ready you can open up the game.  For this example you would type the following into the console: '''exportmodels weapons/gpmg.def'''&lt;br /&gt;
* '''&amp;quot;exportmodels&amp;quot;''' can be used alone if you wish to export every single ''.def''.&lt;br /&gt;
* '''&amp;quot;reexportmodels&amp;quot;''' can be used to force a full export.&lt;br /&gt;
&lt;br /&gt;
If everything has been set up properly you should see the engine run through executing all the export lines.  If it shows up with any warnings you will need to assess whether it is something to do with the Maya files or the export file.&lt;br /&gt;
&lt;br /&gt;
If you do get warnings or errors, the most common mistakes/things to check are:&lt;br /&gt;
&lt;br /&gt;
* Spelling mistakes in the .def file.&lt;br /&gt;
* Too many, missing or inappropriate double braces.&lt;br /&gt;
* Wrong path indicated for where the files are.&lt;br /&gt;
* The Maya files' time stamps are checked against the the MD5 files. Maybe your date is incorrectly set, or you have only changed the reference file so the game dosen't check it and realise anything is worth exporting (in this case you should use '''reexportmodels''').&lt;br /&gt;
* Export name masks can be used, in this case we have set it to 'export hauser' as shown at the top of the export section above. In game if the 'g_exportmask' is set to anything other than &amp;quot;hauser&amp;quot; or &amp;quot;&amp;quot; (no mask exports all ''.def''s)then the export won't work.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Viewing The Model In ETQW =&lt;br /&gt;
The game can't read an ''MD5mesh'' file without a matching ''MD5anim'' file. The only way for the game to know which ''MD5anim''s go with the ''MD5mesh'' is for us to define them in the ''.def'' file. Lets take a look at the GPMG model definition section.&lt;br /&gt;
&lt;br /&gt;
 model viewmodel_gpmg {&lt;br /&gt;
 	mesh 					models/weapons/gdf_gpmg/view.md5mesh&lt;br /&gt;
 &lt;br /&gt;
 	anim idle 				models/weapons/gdf_gpmg/idle.md5anim {&lt;br /&gt;
 	}&lt;br /&gt;
 &lt;br /&gt;
 	anim fire				models/weapons/gdf_gpmg/fire.md5anim {&lt;br /&gt;
 	}&lt;br /&gt;
 &lt;br /&gt;
 	anim reload				models/weapons/gdf_gpmg/reload.md5anim {&lt;br /&gt;
 		frame 1					sound_channel snd_weapon_reload snd_reload&lt;br /&gt;
 	}&lt;br /&gt;
 	anim raise				models/weapons/gdf_gpmg/raise.md5anim {&lt;br /&gt;
 		frame 1					sound_channel snd_weapon_raise snd_raise&lt;br /&gt;
 	}&lt;br /&gt;
 &lt;br /&gt;
 	anim putaway				models/weapons/gdf_gpmg/lower.md5anim {&lt;br /&gt;
 	}&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
* '''model &amp;lt;modelname&amp;gt;''' - the model name of the combined md5mesh and md5anims. This can be tested in the game using the '''testmodel''' console command, or can be referenced from other ''.def'' files.&lt;br /&gt;
* '''mesh &amp;lt;md5mesh path&amp;gt;''' - the path of the md5mesh you want to use (most likely you have just exported it).&lt;br /&gt;
* '''anim &amp;lt;animation name&amp;gt; &amp;lt;md5anim path&amp;gt;''' - once the model has been loaded, the animations can be played using the '''testanim''' console command.&lt;br /&gt;
** After each anim name definition there is a section for frame commands. In this example the reload and raise animations will play sound effects.&lt;br /&gt;
&lt;br /&gt;
= Notes =&lt;br /&gt;
The MD5 files are in plain text, so if anything is going wrong you can open them in a text editor to try and see what's happening more clearly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example of a camera export def;&lt;br /&gt;
 export frankie{&lt;br /&gt;
 	camera models/newcams/democam.mb -dest models/newcams/demovalley&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
[[Category:Art]]&lt;br /&gt;
[[Category:Animation]]&lt;/div&gt;</summary>
		<author><name>192.168.0.129</name></author>
		
	</entry>
</feed>