Skeletal setup for animated opening and closing gates

This was SVN commit r12089.
This commit is contained in:
Pureon
2012-07-11 15:36:00 +00:00
parent c8b024ec5f
commit f340c8be63
7 changed files with 43 additions and 3 deletions
@@ -5,7 +5,10 @@
<group>
<variant frequency="100" name="palisade rocks gate">
<animations/>
<animations>
<animation file="mechanical/palisade_rocks_gate_closed.dae" name="gate_closed" speed="100"/>
<animation file="mechanical/palisade_rocks_gate_open.dae" name="gate_open" speed="100"/>
</animations>
<mesh>props/palisade_rocks_gate.dae</mesh>
<texture>props/palisade_main.png</texture>
</variant>
@@ -1595,4 +1595,29 @@ This skeleton is for the deer and any other similiar shaped animals with the exa
</bone>
</skeleton>
<standard_skeleton title="Gate Skeleton" id="gate">
<bone name="origin">
<bone name="door_right">
<bone name="lock_right"></bone>
</bone>
<bone name="door_left">
<bone name="lock_left"></bone>
</bone>
</bone>
</standard_skeleton>
<skeleton title="Gate Skeleton" target="gate">
<identifier>
<root>gate</root>
</identifier>
<bone name="origin"><target>origin</target>
<bone name="door_right"><target>door_right</target>
<bone name="lock_right"><target>lock_right</target></bone>
</bone>
<bone name="door_left"><target>door_left</target>
<bone name="lock_left"><target>lock_left</target></bone>
</bone>
</bone>
</skeleton>
</skeletons>