1 | <LevelInfo |
---|
2 | name = "Heavy Cruiser Demo" |
---|
3 | description = "Demonstration of the Heavy Cruiser." |
---|
4 | tags = "test" |
---|
5 | screenshot = "emptylevel.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("stats.oxo") |
---|
10 | include("HUDTemplates3.oxo") |
---|
11 | include("templates/lodInformation.oxt") |
---|
12 | ?> |
---|
13 | |
---|
14 | <?lua |
---|
15 | include("templates/spaceshipAssff.oxt") |
---|
16 | include("templates/spaceshipAssff2.oxt") |
---|
17 | include("templates/spaceshipPirate.oxt") |
---|
18 | include("templates/spaceshipEscort.oxt") |
---|
19 | include("templates/HeavyCruiser.oxt") |
---|
20 | ?> |
---|
21 | |
---|
22 | <Level> |
---|
23 | <templates> |
---|
24 | <Template link=lodtemplate_default /> |
---|
25 | </templates> |
---|
26 | <?lua include("includes/notifications.oxi") ?> |
---|
27 | <lodinformation> <!-- Set LOD to stay higher even on greater distances, since ship is large--> |
---|
28 | <!-- <MeshLodInformation mesh=HeavyCruiser_frontR.mesh enabled=true lodQuality=0.6/> |
---|
29 | <MeshLodInformation mesh=HeavyCruiser_frontL.mesh enabled=true lodQuality=0.6/> |
---|
30 | <MeshLodInformation mesh=HeavyCruiser_partR.mesh enabled=true lodQuality=0.6/> |
---|
31 | <MeshLodInformation mesh=HeavyCruiser_partL.mesh enabled=true lodQuality=0.6/> |
---|
32 | <MeshLodInformation mesh=HeavyCruiser_sidearmFrontL.mesh enabled=false/> |
---|
33 | <MeshLodInformation mesh=HeavyCruiser_sidearmFrontR.mesh enabled=false/> --> |
---|
34 | |
---|
35 | <MeshLodInformation mesh=cube.mesh enabled=false/> |
---|
36 | </lodinformation> |
---|
37 | |
---|
38 | <Scene |
---|
39 | ambientlight = "0.8, 0.8, 0.8" |
---|
40 | skybox = "Orxonox/Starbox" |
---|
41 | > |
---|
42 | |
---|
43 | <StaticEntity position="0,-500,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 > |
---|
44 | <attached> |
---|
45 | <Model mesh="HeavyCruiser_body.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
46 | <Model mesh="HeavyCruiser_frontR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
47 | <Model mesh="HeavyCruiser_frontL.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
48 | <Model mesh="HeavyCruiser_partL.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
49 | <Model mesh="HeavyCruiser_partR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
50 | <Model mesh="HeavyCruiser_sidearmL.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
51 | <Model mesh="HeavyCruiser_sidearmLfront.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
52 | <Model mesh="HeavyCruiser_sidearmR.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
53 | <Model mesh="HeavyCruiser_sidearmRfront.mesh" direction="-1,0,0" position="0,0,0" scale="40"/> |
---|
54 | |
---|
55 | <!-- bay1 lights --> |
---|
56 | <BlinkingBillboard position="75,30,-416" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.05 frequency=0.3 phase=240 quadratic=1 /> |
---|
57 | <BlinkingBillboard position="-75,30,-416" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.05 frequency=0.3 phase=240 quadratic=1 /> |
---|
58 | <BlinkingBillboard position="74,30,-402" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.1 frequency=0.3 phase=120 quadratic=1 /> |
---|
59 | <BlinkingBillboard position="-74,30,-402" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.1 frequency=0.3 phase=120 quadratic=1 /> |
---|
60 | <BlinkingBillboard position="73,30,-388" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.15 frequency=0.3 phase=0 quadratic=1 /> |
---|
61 | <BlinkingBillboard position="-73,30,-388" material="Examples/Flare" colour="0.8, 0.8, 0, 0.1" amplitude=0.15 frequency=0.3 phase=0 quadratic=1 /> |
---|
62 | <!-- front position lights --> |
---|
63 | <BlinkingBillboard position="67,-5,-240" material="Examples/Flare" colour="0, 0.7, 0, 0.1" amplitude=0.3 frequency=0.15 phase=0 quadratic=1 /> |
---|
64 | <BlinkingBillboard position="-67,-5,-240" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 /> |
---|
65 | <BlinkingBillboard position="72,51,-380" material="Examples/Flare" colour="0, 0.7, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 /> |
---|
66 | <BlinkingBillboard position="-72,51,-380" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=0 quadratic=1 /> |
---|
67 | <!-- rear position lights --> |
---|
68 | <BlinkingBillboard position="95,-15,483" material="Examples/Flare" colour="0, 0.7, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 /> |
---|
69 | <BlinkingBillboard position="-95,-15,483" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=0 quadratic=1 /> |
---|
70 | <BlinkingBillboard position="74,103,524" material="Examples/Flare" colour="0, 0.7, 0, 0.1" amplitude=0.3 frequency=0.15 phase=0 quadratic=1 /> |
---|
71 | <BlinkingBillboard position="-74,103,524" material="Examples/Flare" colour="0.7, 0, 0, 0.1" amplitude=0.3 frequency=0.15 phase=360 quadratic=1 /> |
---|
72 | </attached> |
---|
73 | <collisionShapes> |
---|
74 | <BoxCollisionShape position="79,33,-320" halfExtents="8,11,54" info="frontR"/> |
---|
75 | <BoxCollisionShape position="79,31,-399" halfExtents="3,6,26" info="frontR"/> |
---|
76 | |
---|
77 | <BoxCollisionShape position="-79,33,-320" halfExtents="8,11,54" info="frontL"/> |
---|
78 | <BoxCollisionShape position="-79,31,-399" halfExtents="3,6,26" info="frontL"/> |
---|
79 | |
---|
80 | <BoxCollisionShape position="93,33,-179" halfExtents="12,13,45" info="partR"/> |
---|
81 | <BoxCollisionShape position="93,33,-230" halfExtents="15,17,22" info="partR"/> |
---|
82 | |
---|
83 | <BoxCollisionShape position="-93,33,-179" halfExtents="12,13,45" info="partL"/> |
---|
84 | <BoxCollisionShape position="-93,33,-230" halfExtents="15,17,22" info="partL"/> |
---|
85 | |
---|
86 | <BoxCollisionShape position="145,21,115" roll="-15" halfExtents="19,31,105" info="sidearmR"/> |
---|
87 | |
---|
88 | <BoxCollisionShape position="60,35,-310" halfExtents="13,28,60" info="body, bay1, Rwall"/> |
---|
89 | <BoxCollisionShape position="-60,35,-310" halfExtents="13,28,60" info="body, bay1, Lwall"/> |
---|
90 | <BoxCollisionShape position="0,56,-310" halfExtents="65,6,60" info="body, bay1, Twall"/> |
---|
91 | <BoxCollisionShape position="0,33,-260" halfExtents="65,28,5" info="body, bay1, Bwall"/> |
---|
92 | <BoxCollisionShape position="0,10,-310" halfExtents="65,5,60" info="body, bay1, BottomWall"/> |
---|
93 | |
---|
94 | <BoxCollisionShape position="0,35,-125" halfExtents="83,30,130" info="body, front"/> |
---|
95 | <BoxCollisionShape position="0,6,-307" halfExtents="19,3,43" info="body, frontbottom"/> |
---|
96 | <BoxCollisionShape position="0,5,-196" halfExtents="27,3,24" info="body, dock"/> |
---|
97 | <BoxCollisionShape position="0,7,-248" pitch="25" halfExtents="63,4,12" info="body, dockF"/> |
---|
98 | <BoxCollisionShape position="70,6,-120" roll="20" halfExtents="12,6,120" info="body, dockR"/> |
---|
99 | <BoxCollisionShape position="63,-2,-180" halfExtents="3,3,60" info="body, dockR"/> |
---|
100 | <BoxCollisionShape position="-70,6,-120" roll="-20" halfExtents="12,6,120" info="body, dockL"/> |
---|
101 | <BoxCollisionShape position="-63,-2,-180" halfExtents="3,3,60" info="body, dockL"/> |
---|
102 | <BoxCollisionShape position="87,32,-63" halfExtents="4,23,50" info="body, frontCR"/> |
---|
103 | <BoxCollisionShape position="-87,32,-63" halfExtents="4,23,50" info="body, frontCL"/> |
---|
104 | |
---|
105 | <BoxCollisionShape position="0,72,-213" halfExtents="37,8,60" info="body, Fbridge"/> |
---|
106 | <BoxCollisionShape position="0,72,-110" halfExtents="53,11,53" info="body, Cbridge"/> |
---|
107 | <BoxCollisionShape position="0,86,-110" halfExtents="40,4,40" info="body, Cbridge"/> |
---|
108 | <BoxCollisionShape position="0,70,-60" halfExtents="65,11,30" info="body, Bbridge"/> |
---|
109 | <BoxCollisionShape position="0,84,-45" halfExtents="33,11,26" info="body, Bbridge"/> |
---|
110 | <BoxCollisionShape position="0,79,-6" pitch="10" halfExtents="32,13,17" info="body, Bbridge"/> |
---|
111 | <BoxCollisionShape position="38,67,-45" roll="50" halfExtents="16,23,25" info="body, BbridgeR"/> |
---|
112 | <BoxCollisionShape position="35,63,-17" pitch="25" yaw="-20" roll="40" halfExtents="16,23,16" info="body, BbridgeR"/> |
---|
113 | <BoxCollisionShape position="-38,67,-45" roll="-50" halfExtents="16,23,25" info="body, BbridgeL"/> |
---|
114 | <BoxCollisionShape position="-35,63,-17" pitch="25" yaw="20" roll="-40" halfExtents="16,23,16" info="body, BbridgeL"/> |
---|
115 | |
---|
116 | <BoxCollisionShape position="0,-15,-60" halfExtents="60,25,65" info="body, bay3, Fwall"/> |
---|
117 | <BoxCollisionShape position="47,-20,90" halfExtents="13,11,90" info="body, bay3, Rwall"/> |
---|
118 | <BoxCollisionShape position="-47,-20,90" halfExtents="13,11,90" info="body, bay3, Lwall"/> |
---|
119 | <BoxCollisionShape position="0,-29,149" halfExtents="10,2,11" info="body, bay3, platform"/> |
---|
120 | <BoxCollisionShape position="0,-20,240" halfExtents="60,20,78" info="body, bay3, Bwall"/> |
---|
121 | |
---|
122 | <BoxCollisionShape position="103,60,420" halfExtents="18,9,64" info="body, bay2, Rextrusion"/> |
---|
123 | <BoxCollisionShape position="-103,60,420" halfExtents="18,9,64" info="body, bay2, Rextrusion"/> |
---|
124 | |
---|
125 | <BoxCollisionShape position="76,27,440" roll="-19" halfExtents="18,38,85" info="body, bay2, Rwall"/> |
---|
126 | <BoxCollisionShape position="75,71,440" roll="35" halfExtents="18,27,85" info="body, bay2, Rwall"/> |
---|
127 | <BoxCollisionShape position="-76,27,440" roll="19" halfExtents="18,38,85" info="body, bay2, Lwall"/> |
---|
128 | <BoxCollisionShape position="-75,71,440" roll="-35" halfExtents="18,27,85" info="body, bay2, Rwall"/> |
---|
129 | <BoxCollisionShape position="0,75,465" halfExtents="72,28,60" info="body, bay2, Twall"/> |
---|
130 | <BoxCollisionShape position="0,35,423" halfExtents="85,35,5" info="body, bay2, Fwall"/> |
---|
131 | <BoxCollisionShape position="0,-5,465" halfExtents="85,6,60" info="body, bay2, BottomWall"/> |
---|
132 | <BoxCollisionShape position="0,78,526" halfExtents="43,17,5" info="body, bay2, Twall"/> |
---|
133 | </collisionShapes> |
---|
134 | </StaticEntity> |
---|
135 | |
---|
136 | <!-- Width/Height/Lenght--> <!-- B=back F=front C=center--> |
---|
137 | <StaticEntity position="0,-500,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 > |
---|
138 | <attached> |
---|
139 | <Model position="79,33,-320" mesh="cube.mesh" scale3D="8,11,54" info="frontR"/> |
---|
140 | <Model position="79,31,-399" mesh="cube.mesh" scale3D="3,6,26" info="frontR"/> |
---|
141 | |
---|
142 | <Model position="-79,33,-320" mesh="cube.mesh" scale3D="8,11,54" info="frontL"/> |
---|
143 | <Model position="-79,31,-399" mesh="cube.mesh" scale3D="3,6,26" info="frontL"/> |
---|
144 | |
---|
145 | <Model position="93,33,-179" mesh="cube.mesh" scale3D="12,13,45" info="partR"/> |
---|
146 | <Model position="93,33,-230" mesh="cube.mesh" scale3D="15,17,22" info="partR"/> |
---|
147 | |
---|
148 | <Model position="-93,33,-179" mesh="cube.mesh" scale3D="12,13,45" info="partL"/> |
---|
149 | <Model position="-93,33,-230" mesh="cube.mesh" scale3D="15,17,22" info="partL"/> |
---|
150 | |
---|
151 | <Model position="145,21,115" roll="-15" mesh="cube.mesh" scale3D="19,31,105" info="sidearmR"/> |
---|
152 | |
---|
153 | <Model position="60,35,-310" mesh="cube.mesh" scale3D="13,28,60" info="body, bay1, Rwall"/> |
---|
154 | <Model position="-60,35,-310" mesh="cube.mesh" scale3D="13,28,60" info="body, bay1, Lwall"/> |
---|
155 | <Model position="0,56,-310" mesh="cube.mesh" scale3D="65,6,60" info="body, bay1, Twall"/> |
---|
156 | <Model position="0,33,-260" mesh="cube.mesh" scale3D="65,28,5" info="body, bay1, Bwall"/> |
---|
157 | <Model position="0,10,-310" mesh="cube.mesh" scale3D="65,5,60" info="body, bay1, BottomWall"/> |
---|
158 | |
---|
159 | <Model position="0,35,-125" mesh="cube.mesh" scale3D="83,30,130" info="body, front"/> |
---|
160 | <Model position="0,6,-307" mesh="cube.mesh" scale3D="19,3,43" info="body, frontbottom"/> |
---|
161 | <Model position="0,5,-196" mesh="cube.mesh" scale3D="27,3,24" info="body, dock"/> |
---|
162 | <Model position="0,7,-248" pitch="25" mesh="cube.mesh" scale3D="63,4,12" info="body, dockF"/> |
---|
163 | <Model position="70,6,-120" roll="20" mesh="cube.mesh" scale3D="12,6,120" info="body, dockR"/> |
---|
164 | <Model position="63,-2,-180" mesh="cube.mesh" scale3D="3,3,60" info="body, dockR"/> |
---|
165 | <Model position="-70,6,-120" roll="-20" mesh="cube.mesh" scale3D="12,6,120" info="body, dockL"/> |
---|
166 | <Model position="-63,-2,-180" mesh="cube.mesh" scale3D="3,3,60" info="body, dockL"/> |
---|
167 | <Model position="87,32,-63" mesh="cube.mesh" scale3D="4,23,50" info="body, frontCR"/> |
---|
168 | <Model position="-87,32,-63" mesh="cube.mesh" scale3D="4,23,50" info="body, frontCL"/> |
---|
169 | |
---|
170 | <Model position="0,72,-213" mesh="cube.mesh" scale3D="37,8,60" info="body, Fbridge"/> |
---|
171 | <Model position="0,72,-110" mesh="cube.mesh" scale3D="53,11,53" info="body, Cbridge"/> |
---|
172 | <Model position="0,86,-110" mesh="cube.mesh" scale3D="40,4,40" info="body, Cbridge"/> |
---|
173 | <Model position="0,70,-60" mesh="cube.mesh" scale3D="65,11,30" info="body, Bbridge"/> |
---|
174 | <Model position="0,84,-45" mesh="cube.mesh" scale3D="33,11,26" info="body, Bbridge"/> |
---|
175 | <Model position="0,79,-6" pitch="10" mesh="cube.mesh" scale3D="32,13,17" info="body, Bbridge"/> |
---|
176 | <Model position="38,67,-45" roll="50" mesh="cube.mesh" scale3D="16,23,25" info="body, BbridgeR"/> |
---|
177 | <Model position="35,63,-17" pitch="25" yaw="-20" roll="40" mesh="cube.mesh" scale3D="16,23,16" info="body, BbridgeR"/> |
---|
178 | <Model position="-38,67,-45" roll="-50" mesh="cube.mesh" scale3D="16,23,25" info="body, BbridgeL"/> |
---|
179 | <Model position="-35,63,-17" pitch="25" yaw="20" roll="-40" mesh="cube.mesh" scale3D="16,23,16" info="body, BbridgeL"/> |
---|
180 | |
---|
181 | <Model position="-67,18,58" roll="-22" mesh="cube.mesh" scale3D="13,5,53" info="body, CFL"/> |
---|
182 | <Model position="-76,36,86" mesh="cube.mesh" scale3D="5,18,81" info="body, CL"/> |
---|
183 | <Model position="-71,55,140" pitch="-4" roll="31" mesh="cube.mesh" scale3D="9,5,27" info="body, CBTopL"/> |
---|
184 | <Model position="-62,2,140" roll="24" mesh="cube.mesh" scale3D="10,24,32" info="body, CBBottomL"/> |
---|
185 | <Model position="67,18,58" roll="22" mesh="cube.mesh" scale3D="13,5,53" info="body, CFL"/> |
---|
186 | <Model position="76,36,86" mesh="cube.mesh" scale3D="5,18,81" info="body, CL"/> |
---|
187 | <Model position="71,55,140" pitch="-4" roll="-31" mesh="cube.mesh" scale3D="9,5,27" info="body, CBTopL"/> |
---|
188 | <Model position="62,2,140" roll="-24" mesh="cube.mesh" scale3D="10,24,32" info="body, CBBottomL"/> |
---|
189 | <Model position="0,60,12" mesh="cube.mesh" scale3D="81,5,11" info="body, CFTop"/> |
---|
190 | <Model position="0,55,40" pitch="15" mesh="cube.mesh" scale3D="81,5,20" info="body, CFTop"/> |
---|
191 | <Model position="0,50,85" pitch="1" mesh="cube.mesh" scale3D="81,5,29" info="body, CTop"/> |
---|
192 | <Model position="0,59,140" pitch="-4" mesh="cube.mesh" scale3D="68,5,27" info="body, CBTop"/> |
---|
193 | |
---|
194 | <Model position="0,81,238" mesh="cube.mesh" scale3D="26,5,59" info="body, BFTop"/> |
---|
195 | <Model position="0,67,234" mesh="cube.mesh" scale3D="54,5,67" info="body, BFTop"/> |
---|
196 | <Model position="0,77,175" pitch="-36" mesh="cube.mesh" scale3D="26,5,9" info="body, BFTop"/> |
---|
197 | <Model position="-31,76,238" roll="46" mesh="cube.mesh" scale3D="10,3,59" info="body, BFTopL"/> |
---|
198 | <Model position="-64,64,234" roll="24" mesh="cube.mesh" scale3D="13,3,67" info="body, BFTopL"/> |
---|
199 | |
---|
200 | <Model position="-48,-29,400" mesh="cube.mesh" scale3D="5,8,58" info="body, BBottomLBeam"/> |
---|
201 | <Model position="-48,-29,451" mesh="cube.mesh" scale3D="10,13,14" info="body, BBottomLBeam"/> |
---|
202 | |
---|
203 | <Model position="0,-15,-60" mesh="cube.mesh" scale3D="60,25,65" info="body, bay3, Fwall"/> |
---|
204 | <Model position="47,-11,90" mesh="cube.mesh" scale3D="13,20,90" info="body, bay3, Rwall"/> |
---|
205 | <Model position="-47,-11,90" mesh="cube.mesh" scale3D="13,20,90" info="body, bay3, Lwall"/> |
---|
206 | <Model position="0,-29,149" mesh="cube.mesh" scale3D="10,2,11" info="body, bay3, platform"/> |
---|
207 | <Model position="0,-20,240" mesh="cube.mesh" scale3D="60,20,78" info="body, bay3, Bwall"/> |
---|
208 | |
---|
209 | <Model position="103,60,420" mesh="cube.mesh" scale3D="18,9,64" info="body, bay2, Rextrusion"/> |
---|
210 | <Model position="-103,60,420" mesh="cube.mesh" scale3D="18,9,64" info="body, bay2, Rextrusion"/> |
---|
211 | |
---|
212 | <Model position="76,27,440" roll="-19" mesh="cube.mesh" scale3D="18,38,85" info="body, bay2, Rwall"/> |
---|
213 | <Model position="75,71,440" roll="35" mesh="cube.mesh" scale3D="18,27,85" info="body, bay2, Rwall"/> |
---|
214 | <Model position="-76,27,440" roll="19" mesh="cube.mesh" scale3D="18,38,85" info="body, bay2, Lwall"/> |
---|
215 | <Model position="-75,71,440" roll="-35" mesh="cube.mesh" scale3D="18,27,85" info="body, bay2, Rwall"/> |
---|
216 | <Model position="0,75,465" mesh="cube.mesh" scale3D="72,28,60" info="body, bay2, Twall"/> |
---|
217 | <Model position="0,35,423" mesh="cube.mesh" scale3D="85,35,5" info="body, bay2, Fwall"/> |
---|
218 | <Model position="0,-5,465" mesh="cube.mesh" scale3D="85,6,60" info="body, bay2, BottomWall"/> |
---|
219 | <Model position="0,78,526" mesh="cube.mesh" scale3D="43,17,5" info="body, bay2, Twall"/> |
---|
220 | <Model position="0,69,80" mesh="cube.mesh" scale3D="8,4,80" info="body, Cbeam"/> |
---|
221 | </attached> |
---|
222 | <collisionShapes> |
---|
223 | <BoxCollisionShape position="-50,30,0" halfExtents="10,10,10" /> |
---|
224 | </collisionShapes> |
---|
225 | </StaticEntity> |
---|
226 | |
---|
227 | <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> |
---|
228 | <!-- <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> --> |
---|
229 | <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
230 | <!-- <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=HeavyCruiser /> --> |
---|
231 | |
---|
232 | </Scene> |
---|
233 | </Level> |
---|
234 | |
---|