Specification of a ground plane

The following code demonstrates how to specify a ground plane in a room file.


01 <?xml version="1.0" encoding="ISO-8859-1"?>
02 
03 <room scriptid="room1" scriptfile="room1.bsh">
04   <props>
05     <ground id="ground plane" type="plane" size="64" texrepeat="10.0" scriptid="ground">
06       <texture unit="0" mipmap="true" rotate="true" flip="true">./images/misc/parkett_boden.jpg</texture>
07       <position x="0.0" y="0.0" z="0.0"/>
08       <rotation x="0.0" y="0.0" z="0.0"/>
09       <scale x="1.0" y="1.0" z="1.0"/>
10       <pathgrid nodesize="2">
11         <walkable nodeid="654"/>
12         <walkable nodeid="655"/>
13         <walkable nodeid="656"/>
14         <walkable nodeid="657"/>
15         <walkable nodeid="686"/>
16         <walkable nodeid="687"/>
17         <walkable nodeid="688"/>
18         <walkable nodeid="689"/>
19         <walkable nodeid="718"/>
20         <walkable nodeid="719"/>
21         <walkable nodeid="720"/>
22         <walkable nodeid="721"/>
23         <walkable nodeid="750"/>
24         <walkable nodeid="751"/>
25         <walkable nodeid="752"/>
26       </pathgrid>
27     </ground>
28   </props>
29 </room>
Java2html