## Specification of (animated) 3d model props

The following code demonstrates how to specify (animated) props that are based on 3d model files.

`01 <?xml version="1.0" encoding="ISO-8859-1"?> 02 03 <room scriptid="room1" scriptfile="room1.bsh"> 04 <props> 05 <prop scriptid="teleporter_mesh" id="teleporter_mesh" type="ms3dascii" smooth="false" volume="sphere" shadow="true"> 06 <file>./models/ms3d/teleporter/teleporter.txt</file> 07 <texture unit="0" mipmap="true" rotate="true" flip="true">./models/ms3d/teleporter/texture.jpg</texture> 08 <position x="0.0" y="0.0" z="0.0"/> 09 <rotation x="0.0" y="0.0" z="0.0"/> 10 <scale x="0.1" y="0.1" z="0.1"/> 11 <animation name="idle" start="1" end="1" timeperframe="100"/> 12 </prop> 13 <prop scriptid="plant1_mesh" id="plant1_mesh" type="3ds" smooth="false" volume="sphere" shadow="true"> 14 <file>./models/3ds/plants/plant01a.3ds</file> 15 <texture unit="0" mipmap="true" rotate="false" flip="false">./models/3ds/plants/plant01a.jpg</texture> 16 <position x="-20.0" y="0.0" z="0.0"/> 17 <rotation x="0.0" y="0.0" z="0.0"/> 18 <scale x="0.15" y="0.15" z="0.15"/> 19 </prop> 20 </props> 21 </room>`
Java2html