File: simple.xml

package info (click to toggle)
crrcsim 0.9.13-3.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 22,176 kB
  • sloc: cpp: 43,186; xml: 5,022; sh: 3,832; makefile: 501; asm: 228; ansic: 150
file content (141 lines) | stat: -rw-r--r-- 4,637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version="1.0"?>

<crrcsimSceneryFile version="3">
  
  <!-- Some general information -->
  <name>Simple scenery</name>
  <categories>
    <category>Field</category>
  </categories>
  <description>
    <en>A demonstration for the new modelled scenery engine.</en>
  </description>
  <changelog>
    <change>
      <date>2008-03-12</date>
      <author>Jan Reucker (slowhand_47@gmx.de)</author>
      <en>Created.</en>
    </change>
    <change>
      <date>2010-01-07</date>
      <author>Jan Reucker (slowhand_47@gmx.de)</author>
      <en>Changed from x/y/z to north/east/height coordinates.</en>
    </change>
    <change>
      <date>2010-02-09</date>
      <author>Jan Reucker (slowhand_47@gmx.de)</author>
      <en>Added picnic table as collision box example.</en>
    </change>
    <change>
      <date>2015-01-31</date>
      <author>Luca G.</author>
      <en>Added sun position and haze</en>
    </change>
    <change>
      <date>2016-03-28</date>
      <author>Luca G.</author>
      <en>Objects in scenery cast shadows</en>
    </change>
  </changelog>
  
  <!-- Player position. You may specify multiple <position>s. -->
  <views>
    <position name="default" north="0" east="-0" height="6" />
  </views>
  
  <!-- Starting position for the model. -->
  <start>
    <position name="runway" north="200" east="-100" height="0" />
    <position name="field" north="0" east="0" height="0" />
    <position name="table" north="8" east="-63" height="2.5" />
    <position name="border table" north="6" east="-63" height="2.5" />
    <position name="front table" north="8" east="-58" height="0" />
  </start>
  
  <!-- Default settings -->
  <default>
    <wind velocity="3" direction="0" />
  </default>
  
  <!-- Preview -->
  <preview filename="textures/simple_preview.jpg" />

  <!-- A sky box. -->
  <sky type="box" size="10">
    <descr_short >
       <en>Little cloudy (Box) </en>
    </descr_short>
    <textures>
      <north filename="textures/skybox_n.rgb" />
      <south filename="textures/skybox_s.rgb" />
      <west  filename="textures/skybox_w.rgb" />
      <east  filename="textures/skybox_e.rgb" />
      <up    filename="textures/skybox_u.rgb" />
      <down  filename="" />
    </textures>
    <sun fUse_lensFlare="1">
      <position azimuth="210" elevation="25" />
    </sun>    
    <haze density="0.3">
      <color r="0.85" g="0.90" b="0.95" />
    </haze>    
  </sky>
  <!-- A sky dome, original style, textured -->
  <sky type="original" texture="textures/clouds.rgb" radius="8000" >
    <descr_short >
       <en>Dome, textured</en>
    </descr_short>
    <sun>
      <position azimuth="180" elevation="55" />
    </sun>    
    <haze density="0.3">
      <color r="0.9" g="0.9" b="0.9" />
    </haze>    
  </sky>
  <!-- A sky dome, original style, untextured -->
  <sky type="original" radius="8000" >
    <descr_short >
       <en>Dome, untextured</en>
    </descr_short>
    <sun fUse_lensFlare="1">
      <position azimuth="180" elevation="55" />
    </sun>    
    <haze density="0.3">
      <color r="0.9" g="0.9" b="0.9" />
    </haze>    
  </sky>

  <!-- Scenery graphics. -->
  <scene type="model-based">
    <!-- You *must* specify absolute north, east and height coordinates. 
         The object's orientation is specified in heading/pitch/roll format. 
         To save (texture) memory, you can specify multiple instances
         of one object. The corresponding 3D model and all associated
         textures will only be loaded once and drawn at multiple
         locations.
      -->
    <object filename="small.ac" terrain="1">
      <instance north="0" east="0" height="0" h="180" />
    </object>
    <object filename="hut.ac" terrain="1" shadow="1">
      <instance above_ground="1" north="-45.0" east="-180" height="0" h="180" />
    </object>
    <object filename="outhouse.ac" terrain="1" shadow="1">
      <!-- Yes, we have three of them! Just in case... ;) -->
      <instance above_ground="1" north="34.0" east="-160" height="0" />
      <instance above_ground="1" north="27.0" east="-160" height="0" />
      <instance above_ground="1" north="20.0" east="-160" height="0" />
    </object>
    <object filename="freqboard.ac" terrain="1" shadow="1">
      <instance above_ground="1" north="0.0" east="-160" height="0" h="90" p="0" r="0" />
    </object>
    <object filename="table.ac" terrain="1" shadow="1">
      <instance above_ground="1" north="8" east="-63" height="0" />
    </object>
    <object filename="gap65.ac" terrain="0" shadow="1">
      <instance north="9" east="-63" height="2.48" h="5" p="11"/>
    </object>
  </scene>
  
</crrcsimSceneryFile>