After you add a model to the system in this way you must describe the model in an XML document for the server.
The XML document goes in the world directory associated with the model. In this example:
...\lg3d-wonderland\src\worlds\myWorld-wfs
Create a new xml document called: myWorld-wlc.xml (Wonderland world descriptors require '-wlc' in the filename).
Copy the following XML to the file:
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.6.0-dp" class="java.beans.XMLDecoder">
<object class="org.jdesktop.lg3d.wonderland.darkstar.server.setup.BasicCellGLOSetup">
<void property="cellGLOClassName">
<string>org.jdesktop.lg3d.wonderland.extracells.server.cell.MultiModelCellGLO</string>
</void>
<void property="origin">
<void index="0">
<double>0.0</double>
</void>
<void index="1">
<double>0.0</double>
</void>
<void index="2">
<double>0.0</double>
</void>
</void>
<void property="cellSetup">
<object class="org.jdesktop.lg3d.wonderland.extracells.common.MultiModelCellSetup">
<void property="models">
<array class="org.jdesktop.lg3d.wonderland.extracells.common.MultiModelCellModel">
<object class="org.jdesktop.lg3d.wonderland.extracells.common.MultiModelCellModel">
<void property="modelFile">
<string>models/AlienGuy.j3s.gz</string>
</void>
<void property="location">
<array class="double">
<double>60</double>
<double>-0.6</double>
<double>51</double>
</array>
</void>
<void property="rotation">
<array class="double">
<double>0</double>
<double>0</double>
<double>0</double>
<double>0</double>
</array>
</void>
<void property="instanced">
<boolean>true</boolean>
</void>
</object>
</array>
</void>
</object>
</void>
</object>
</java>
~46~