<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=My_First%3A_Item_Animation</id>
	<title>My First: Item Animation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.larian.game/index.php?action=history&amp;feed=atom&amp;title=My_First%3A_Item_Animation"/>
	<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=My_First:_Item_Animation&amp;action=history"/>
	<updated>2026-05-13T06:25:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://docs.larian.game/index.php?title=My_First:_Item_Animation&amp;diff=5576&amp;oldid=prev</id>
		<title>JoykaDeReyst: /* My First container */</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=My_First:_Item_Animation&amp;diff=5576&amp;oldid=prev"/>
		<updated>2018-02-07T09:54:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;My First container&lt;/span&gt;&lt;/span&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&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:54, 7 February 2018&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-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&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;[[File:ContainerExampleSideBar.PNG|none]]&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;[[File:ContainerExampleSideBar.PNG|none]]&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 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;{| class=&quot;wikitable&quot;&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;|'''For more information on:'''&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;| Use Actions: [[:Category:Use_Actions|Use Actions]]&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;/table&gt;</summary>
		<author><name>JoykaDeReyst</name></author>
	</entry>
	<entry>
		<id>https://docs.larian.game/index.php?title=My_First:_Item_Animation&amp;diff=5573&amp;oldid=prev</id>
		<title>JoykaDeReyst: Created page with &quot;===My First Door===  A door is one of the simpler animatable objects you can make. In our example we'll have 2 different types of doors: A single and double door. &lt;br \&gt; We'll...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.larian.game/index.php?title=My_First:_Item_Animation&amp;diff=5573&amp;oldid=prev"/>
		<updated>2018-02-07T09:52:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===My First Door===  A door is one of the simpler animatable objects you can make. In our example we&amp;#039;ll have 2 different types of doors: A single and double door. &amp;lt;br \&amp;gt; We&amp;#039;ll...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===My First Door===&lt;br /&gt;
&lt;br /&gt;
A door is one of the simpler animatable objects you can make. In our example we'll have 2 different types of doors: A single and double door. &amp;lt;br \&amp;gt;&lt;br /&gt;
We'll have 3 files: A base file with both doors rigged and two animation files; one for each of the doors.&amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleStruct.PNG|none]]&lt;br /&gt;
&lt;br /&gt;
In the base maya file we have the two doors rigged and sorted into two separate layers.&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleRig.PNG|none]]&lt;br /&gt;
&lt;br /&gt;
Note that in this case the mesh is part of the rig hierarchy and is parented to an animation joint. &amp;lt;br \&amp;gt;&lt;br /&gt;
Currently the animation manager only writes data to joints. So please use joints when creating animated items. &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each animation file references the base file and has an animation on a different door. &amp;lt;br \&amp;gt;&lt;br /&gt;
In each file the Animation Manager data is on the root of the door that is animated in the file &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleAMData.PNG|none]]&lt;br /&gt;
&lt;br /&gt;
''In this case we could also merge both animation files. Technically the animation of one door does not get in the way of the other door.''&amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From the base file with this set up you can export all the relevant data with the MLE script.&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleMLE.PNG|none]]&lt;br /&gt;
&lt;br /&gt;
Once you're done exporting open ''The Divinity Engine 2'', load a mod and level, open the content browser and select or make a correct package. &amp;lt;br \&amp;gt;&lt;br /&gt;
Add resource and import an ''animation'' for all 4 exported door animations. Import the models as ''models'' and the physics as ''physics''. &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleEditor.PNG|none]]&lt;br /&gt;
&lt;br /&gt;
Before we make a Root Template for the object we need to assign the animations to the doors. Open the visual resource and go to the default animations tab. &amp;lt;br \&amp;gt;&lt;br /&gt;
Change the Animation Set Type to ''Item''. This should give you a default set of animations slots appropriate for an item. &amp;lt;br \&amp;gt;&lt;br /&gt;
Add the open door animation to the Open slot in the Default Animations Tab. Add the close door animation to the Close slot in the Default Animations Tab. &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleAnimSet.PNG|600px]]&lt;br /&gt;
&lt;br /&gt;
Now we can make a root template so we can preview the animation in the editor. Create a new root template, set the type to item and assign the model and the physics to their appropriate slots. &amp;lt;br \&amp;gt;&lt;br /&gt;
Create the root template and place this new root in an appropriate folder. &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleRootCreate.PNG|none]]&lt;br /&gt;
&lt;br /&gt;
Once the root template is made open the side bar and add to the '''Use Actions''' the '''Door''' action. Place the root template in game go into game mode and try out your new animated door. &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:DoorExampleSideBar.PNG|none]]&lt;br /&gt;
&lt;br /&gt;
===My First container===&lt;br /&gt;
&lt;br /&gt;
For a container the set up is pretty much the same. A simple rig with a single animating bone. &amp;lt;br \&amp;gt;&lt;br /&gt;
However, a container is a single mesh with only part of it rotating. Rather than have the mesh be part of the rig hierarchy it'll be seperate and skinned to the rig. &amp;lt;br \&amp;gt;&lt;br /&gt;
The exporter can find the rig an object is skinned to, but it is advised to keep the two in a single layer. &amp;lt;br \&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The export set up with animation files referencing the base file remains the same. Setting up the animaiton data and exporting remains the same as well. &amp;lt;br \&amp;gt;&lt;br /&gt;
Importing and creating the root remaind the same too. The use action changes though. You set the use action to '''open/close''' instead. &amp;lt;br \&amp;gt;&lt;br /&gt;
You'll also need to define the '''Treasure UI Type''' and give '''Treasure''' a treasure stats to have it fully function as a container . &lt;br /&gt;
&lt;br /&gt;
[[File:ContainerExampleSideBar.PNG|none]]&lt;/div&gt;</summary>
		<author><name>JoykaDeReyst</name></author>
	</entry>
</feed>