1 | <LevelInfo |
---|
2 | name = "Surface Race" |
---|
3 | description = "in progress..." |
---|
4 | tags = "Race" |
---|
5 | screenshot = "emptylevel.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("stats.oxo") |
---|
10 | include("HUDTemplates3.oxo") |
---|
11 | include("templates/lodInformation.oxt") |
---|
12 | include("templates/spaceshipRace.oxt") |
---|
13 | |
---|
14 | ?> |
---|
15 | |
---|
16 | |
---|
17 | <Level |
---|
18 | gametype = SpaceRace |
---|
19 | > |
---|
20 | |
---|
21 | <templates> |
---|
22 | <Template link=lodtemplate_default /> |
---|
23 | </templates> |
---|
24 | <?lua include("includes/notifications.oxi") ?> |
---|
25 | |
---|
26 | <Scene |
---|
27 | ambientlight = "2.0, 2.0, 2.0" |
---|
28 | skybox = "Orxonox/skyBoxClouds" |
---|
29 | gravity = "0,-70,0" |
---|
30 | negativeWorldRange = "-100000, -100000, -100000" |
---|
31 | positiveWorldRange = " 100000, 100000, 100000" |
---|
32 | hasPhysics = true |
---|
33 | > |
---|
34 | |
---|
35 | <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"/> |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | <SpaceRaceManager> |
---|
40 | <checkpoints> |
---|
41 | <RaceCheckPoint name="checkpoint1" position="0,5050,-300" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1"> |
---|
42 | <attached> |
---|
43 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
44 | |
---|
45 | <!-- |
---|
46 | <Model position="27.5,0,-27.5" mesh="testcube.mesh" scale3D="10,10,10" /> |
---|
47 | <Model position="55,0,0" mesh="testcube.mesh" scale3D="10,10,10" /> |
---|
48 | <Model position="-27.5,0,-27.5" mesh="testcube.mesh" scale3D="10,10,10" /> |
---|
49 | <Model position="-55,0,0" mesh="testcube.mesh" scale3D="10,10,10" /> |
---|
50 | |
---|
51 | --> |
---|
52 | |
---|
53 | </attached> |
---|
54 | |
---|
55 | <collisionShapes> |
---|
56 | |
---|
57 | <!-- |
---|
58 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
59 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
60 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
61 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
62 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
63 | |
---|
64 | --> |
---|
65 | </collisionShapes> |
---|
66 | |
---|
67 | |
---|
68 | </RaceCheckPoint> |
---|
69 | |
---|
70 | |
---|
71 | <RaceCheckPoint name="checkpoint2" position="0,5050,-800" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1"> |
---|
72 | <attached> |
---|
73 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
74 | </attached> |
---|
75 | <collisionShapes> |
---|
76 | <!-- |
---|
77 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
78 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
79 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
80 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
81 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
82 | |
---|
83 | --> |
---|
84 | </collisionShapes> |
---|
85 | </RaceCheckPoint> |
---|
86 | |
---|
87 | <RaceCheckPoint name="checkpoint3" position="0,5050,-1300" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="2" islast="false" nextcheckpoints="3,-1,-1"> |
---|
88 | <attached> |
---|
89 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
90 | </attached> |
---|
91 | <collisionShapes> |
---|
92 | <!-- |
---|
93 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
94 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
95 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
96 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
97 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
98 | |
---|
99 | --> |
---|
100 | </collisionShapes> |
---|
101 | </RaceCheckPoint> |
---|
102 | |
---|
103 | |
---|
104 | |
---|
105 | <RaceCheckPoint name="checkpoint4" position="500,5050,-1300" direction="0,0.5,0" collisionType="static" scale="4" distance="160" checkpointindex="3" islast="false" nextcheckpoints="4,-1,-1"> |
---|
106 | <attached> |
---|
107 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
108 | </attached> |
---|
109 | <collisionShapes> |
---|
110 | <!-- |
---|
111 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
112 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
113 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
114 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
115 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
116 | |
---|
117 | --> |
---|
118 | </collisionShapes> |
---|
119 | </RaceCheckPoint> |
---|
120 | |
---|
121 | |
---|
122 | <RaceCheckPoint name="checkpoint5" position="1000,5050,-1300" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="4" islast="false" nextcheckpoints="5,-1,-1"> |
---|
123 | <attached> |
---|
124 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
125 | </attached> |
---|
126 | <collisionShapes> |
---|
127 | <!-- |
---|
128 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
129 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
130 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
131 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
132 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
133 | |
---|
134 | --> |
---|
135 | </collisionShapes> |
---|
136 | </RaceCheckPoint> |
---|
137 | |
---|
138 | <RaceCheckPoint name="checkpoint6" position="1000,5050,-800" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="5" islast="false" nextcheckpoints="6,-1,-1"> |
---|
139 | <attached> |
---|
140 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
141 | </attached> |
---|
142 | <collisionShapes> |
---|
143 | <!-- |
---|
144 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
145 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
146 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
147 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
148 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
149 | |
---|
150 | --> |
---|
151 | </collisionShapes> |
---|
152 | </RaceCheckPoint> |
---|
153 | |
---|
154 | <RaceCheckPoint name="checkpoint7" position="1000,5050,-500" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="6" islast="false" nextcheckpoints="7,-1,-1"> |
---|
155 | <attached> |
---|
156 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
157 | </attached> |
---|
158 | <collisionShapes> |
---|
159 | <!-- |
---|
160 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
161 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
162 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
163 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
164 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
165 | |
---|
166 | --> |
---|
167 | </collisionShapes> |
---|
168 | </RaceCheckPoint> |
---|
169 | |
---|
170 | |
---|
171 | |
---|
172 | |
---|
173 | <RaceCheckPoint name="checkpoint8" position="1000,5050,-200" direction="0,1,0" collisionType="static" scale="4" distance="160" checkpointindex="7" islast="true"> |
---|
174 | <attached> |
---|
175 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
176 | </attached> |
---|
177 | <collisionShapes> |
---|
178 | <!-- |
---|
179 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
180 | <BoxCollisionShape position="27.5,0,-27.5" halfExtents="55, 10, 10" /> |
---|
181 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
182 | <BoxCollisionShape position="-27.5,0,-27.5" halfExtents="10, 10, 55" /> |
---|
183 | <BoxCollisionShape position="-55,0,0" halfExtents="55, 10, 10" /> |
---|
184 | |
---|
185 | --> |
---|
186 | </collisionShapes> |
---|
187 | </RaceCheckPoint> |
---|
188 | |
---|
189 | </checkpoints> |
---|
190 | </SpaceRaceManager> |
---|
191 | |
---|
192 | <SpawnPoint team=0 position="0,5050,0" lookat="0,5000,-5000" spawnclass=SpaceShip pawndesign=spaceshipRace /> |
---|
193 | |
---|
194 | |
---|
195 | <!-- -----------------------Zylinder---------------------------- |
---|
196 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 > |
---|
197 | <attached> |
---|
198 | <Model position="0,5100,-1300" mesh="cylinder.mesh" scale3D="100,100,100" /> |
---|
199 | </attached> |
---|
200 | </StaticEntity> |
---|
201 | --> |
---|
202 | |
---|
203 | <!-- ------------------Boden----------------- --> |
---|
204 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
205 | <attached> |
---|
206 | <Model position="0,0,0" mesh="testcube.mesh" scale3D="5000,5000,5000" /> |
---|
207 | </attached> |
---|
208 | <collisionShapes> |
---|
209 | <BoxCollisionShape position="0,50,0" halfExtents="5000,5000,5000" /> |
---|
210 | </collisionShapes> |
---|
211 | </StaticEntity> |
---|
212 | |
---|
213 | </Scene> |
---|
214 | </Level> |
---|
215 | |
---|