## Specification of Non-Player-Characters (NPCs)

The following code demonstrates how to specify NPCs 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 <characters> 06 <character scriptid="qinmae" id="qinmae" type="ms3dascii" smooth="false" volume="box" shadow="true"> 07 <name>Qin-Mae</name> 08 <file>./models/ms3d/qinmae/quinmae.txt</file> 09 <texture unit="0" mipmap="true" rotate="false" flip="false">./models/ms3d/qinmae/texture.jpg</texture> 10 <position x="0.0" y="0.0" z="0.0"/> 11 <rotation x="0.0" y="0.0" z="0.0"/> 12 <scale x="1.0" y="1.0" z="1.0"/> 13 <animation name="idle" start="1" end="1" timeperframe="100"/> 14 </character> 15 </characters> 16 </room>`
Java2html