[11232] | 1 | <LevelInfo |
---|
| 2 | name = "New Old Space Race 2" |
---|
| 3 | description = "Under maintenance..." |
---|
| 4 | tags = "gametype" |
---|
| 5 | screenshot = "spacerace.png" |
---|
| 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
| 9 | include("stats.oxo") |
---|
| 10 | include("HUDTemplates3.oxo") |
---|
| 11 | include("templates/lodInformation.oxt") |
---|
[11250] | 12 | include("templates/spaceshipAssff.oxt") |
---|
| 13 | |
---|
[11232] | 14 | ?> |
---|
| 15 | |
---|
| 16 | <?lua |
---|
[11250] | 17 | include("templates/spaceshipAssff2.oxt") |
---|
[11238] | 18 | include("templates/fastship.oxt") |
---|
[11232] | 19 | include("templates/spaceshipPirate.oxt") |
---|
| 20 | ?> |
---|
| 21 | |
---|
| 22 | <Level |
---|
| 23 | plugins = "gametypes" |
---|
| 24 | gametype = "OldSpaceRace" |
---|
| 25 | > |
---|
| 26 | <templates> |
---|
| 27 | <Template link=lodtemplate_default /> |
---|
| 28 | </templates> |
---|
| 29 | <?lua include("includes/notifications.oxi") ?> |
---|
| 30 | |
---|
| 31 | <Scene |
---|
| 32 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 33 | skybox = "Orxonox/skyBoxMoreNebula" |
---|
| 34 | > |
---|
| 35 | |
---|
[11250] | 36 | |
---|
| 37 | |
---|
[11232] | 38 | <!-- SOUNDS & MUSIC --> |
---|
[11239] | 39 | |
---|
[11246] | 40 | |
---|
| 41 | <WorldSound name="Countdown" position="0,0,0" source="sounds/Countdown.ogg" > |
---|
[11239] | 42 | <events> |
---|
| 43 | <play> |
---|
| 44 | <EventListener event="start1" /> |
---|
| 45 | </play> |
---|
| 46 | </events> |
---|
[11232] | 47 | </WorldSound> |
---|
[11239] | 48 | |
---|
| 49 | |
---|
[11246] | 50 | <WorldSound name="Go" position="0,0,0" source="sounds/Go.ogg" > |
---|
[11239] | 51 | <events> |
---|
| 52 | <play> |
---|
| 53 | <EventListener event="go" /> |
---|
| 54 | </play> |
---|
| 55 | </events> |
---|
| 56 | </WorldSound> |
---|
| 57 | |
---|
[11246] | 58 | |
---|
| 59 | <DistanceTrigger name="start1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=0.5 /> |
---|
| 60 | <DistanceTrigger name="go" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=10.5 /> |
---|
| 61 | |
---|
| 62 | <DistanceTrigger name="racetheme" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=10.75 /> |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | <WorldAmbientSound source="racetheme.ogg" looping="true" playOnLoad="false" > |
---|
| 68 | <events> |
---|
[11239] | 69 | <play> |
---|
| 70 | <EventListener event="racetheme" /> |
---|
| 71 | </play> |
---|
| 72 | </events> |
---|
[11246] | 73 | </WorldAmbientSound> |
---|
[11239] | 74 | |
---|
| 75 | |
---|
[11256] | 76 | |
---|
| 77 | <!-- Das erste Bot --> |
---|
| 78 | <SpaceShip position="20,0,0" lookat="25,0,0"> |
---|
[11250] | 79 | <templates> |
---|
[11256] | 80 | <Template link=fastship /> |
---|
[11250] | 81 | </templates> |
---|
| 82 | <controller> |
---|
[11256] | 83 | <WaypointPatrolController alertnessradius=1 team=10> |
---|
[11250] | 84 | <waypoints> |
---|
[11256] | 85 | <Model mesh="cube.mesh" scale=0 position="1000,0,0" /> |
---|
| 86 | <Model mesh="cube.mesh" scale=0 position="1500,1000,250" /> |
---|
| 87 | <Model mesh="cube.mesh" scale=0 position="0,400,300" /> |
---|
[11250] | 88 | </waypoints> |
---|
| 89 | </WaypointPatrolController> |
---|
| 90 | </controller> |
---|
| 91 | </SpaceShip> |
---|
[11239] | 92 | |
---|
| 93 | |
---|
[11256] | 94 | |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | |
---|
[11239] | 98 | <!-- <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true" /> --> |
---|
[11232] | 99 | |
---|
| 100 | |
---|
| 101 | <?lua math.randomseed(98) ?> |
---|
| 102 | |
---|
| 103 | <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"/> |
---|
| 104 | |
---|
| 105 | <SimpleNotification message="Reach the last check point within 150 seconds!!" /> |
---|
| 106 | |
---|
| 107 | <!-- ------------------SpawnPoint----------------- --> |
---|
[11249] | 108 | <SpawnPoint position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=fastship active="true" > |
---|
[11232] | 109 | </SpawnPoint> |
---|
| 110 | |
---|
[11238] | 111 | <Model mesh="axes.mesh" scale="10" position="600,0,0"/> |
---|
| 112 | <Model mesh="axes.mesh" scale="10" position="800,0,0"/> |
---|
| 113 | <Model mesh="axes.mesh" scale="10" position="1000,0,0"/> |
---|
| 114 | <Model mesh="axes.mesh" scale="10" position="1100,0,0"/> |
---|
| 115 | <Model mesh="axes.mesh" scale="10" position="1200,0,0"/> |
---|
| 116 | <Model mesh="axes.mesh" scale="10" position="1300,0,0"/> |
---|
| 117 | <Model mesh="axes.mesh" scale="10" position="1400,0,0"/> |
---|
| 118 | <Model mesh="axes.mesh" scale="10" position="1500,0,0"/> |
---|
| 119 | <Model mesh="axes.mesh" scale="10" position="1600,0,0"/> |
---|
| 120 | <Model mesh="axes.mesh" scale="10" position="1700,0,0"/> |
---|
[11232] | 121 | |
---|
[11249] | 122 | |
---|
[11260] | 123 | <!-- Launch station --> |
---|
[11249] | 124 | <StaticEntity mass="50" position="-400,-20,0" direction="0,-90,0" collisionType="static"> |
---|
| 125 | <attached> |
---|
| 126 | <Model scale="20" mesh="Carrier.mesh" /> |
---|
| 127 | </attached> |
---|
| 128 | <collisionShapes> |
---|
| 129 | <BoxCollisionShape position="280,0,-100" halfExtents="600, 200, 100" /> |
---|
| 130 | <BoxCollisionShape position="380,300,-64" halfExtents="280, 40, 48" /> |
---|
| 131 | <BoxCollisionShape position="380,-300,-64" halfExtents="280, 40, 48" /> |
---|
| 132 | <BoxCollisionShape position="308, 188,120" halfExtents="440, 80, 120" /> |
---|
| 133 | <BoxCollisionShape position="308,-188,120" halfExtents="440, 80, 120" /> |
---|
| 134 | <BoxCollisionShape position="308,0,200" halfExtents="440, 180, 24" /> |
---|
| 135 | <BoxCollisionShape position="668,0,280" halfExtents="108, 80, 80" /> |
---|
| 136 | </collisionShapes> |
---|
| 137 | </StaticEntity> |
---|
| 138 | |
---|
[11260] | 139 | <!-- ---------------asteroid ellipse1----------------- --> |
---|
| 140 | <?lua |
---|
| 141 | max = 50 |
---|
| 142 | for i = 0, max, 1 |
---|
| 143 | do |
---|
| 144 | x = i*1000 |
---|
| 145 | y = math.cos(i)*20 |
---|
| 146 | z = math.sin(i)*20 |
---|
| 147 | ?> |
---|
| 148 | <?lua |
---|
| 149 | for k = 1, 15, 1 |
---|
| 150 | do |
---|
| 151 | j = math.random() |
---|
| 152 | ?> |
---|
[11250] | 153 | |
---|
[11260] | 154 | <MovableEntity |
---|
| 155 | position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 500) ?>,<?lua print(z + math.random() * 1000) ?>" |
---|
| 156 | collisionType = "dynamic" |
---|
| 157 | linearDamping = "0.5" |
---|
| 158 | angularDamping = "0.01" |
---|
| 159 | collisiondamage = "0.01" |
---|
| 160 | enablecollisiondamage = "true" |
---|
| 161 | scale="<?lua print(j * 5) ?>" > |
---|
| 162 | <attached> |
---|
| 163 | <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
| 164 | <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- --> |
---|
| 165 | <ParticleEmitter position="0,0,0" source="Orxonox/Steam" /> |
---|
| 166 | </attached> <?lua end ?> |
---|
| 167 | </Model> |
---|
| 168 | </attached> |
---|
| 169 | <collisionShapes> |
---|
| 170 | <SphereCollisionShape radius="<?lua print(j * 80) ?>" /> |
---|
| 171 | </collisionShapes> |
---|
| 172 | </MovableEntity> |
---|
| 173 | <?lua |
---|
| 174 | end |
---|
| 175 | ?> |
---|
| 176 | <?lua end ?> |
---|
[11250] | 177 | |
---|
[11260] | 178 | <!-- ---------------asteroid ellipse1----------------- --> |
---|
| 179 | <?lua |
---|
| 180 | max = 50 |
---|
| 181 | for i = 0, max, 1 |
---|
| 182 | do |
---|
| 183 | x = i*1000 |
---|
| 184 | y = math.cos(i)*-20 |
---|
| 185 | z = math.sin(i)*-20 |
---|
| 186 | ?> |
---|
| 187 | <?lua |
---|
| 188 | for k = 1, 15, 1 |
---|
| 189 | do |
---|
| 190 | j = math.random() |
---|
| 191 | ?> |
---|
[11250] | 192 | |
---|
[11260] | 193 | <MovableEntity |
---|
| 194 | position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 500) ?>,<?lua print(z + math.random() * 1000) ?>" |
---|
| 195 | collisionType = "dynamic" |
---|
| 196 | linearDamping = "0.5" |
---|
| 197 | angularDamping = "0.01" |
---|
| 198 | collisiondamage = "0.01" |
---|
| 199 | enablecollisiondamage = "true" |
---|
| 200 | scale="<?lua print(j * 5) ?>" > |
---|
| 201 | <attached> |
---|
| 202 | <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"> |
---|
| 203 | <?lua if k == 5 then ?><attached><!-- ---------asteroid fog----- --> |
---|
| 204 | <ParticleEmitter position="0,0,0" source="Orxonox/Steam" /> |
---|
| 205 | </attached> <?lua end ?> |
---|
| 206 | </Model> |
---|
| 207 | </attached> |
---|
| 208 | <collisionShapes> |
---|
| 209 | <SphereCollisionShape radius="<?lua print(j * 80) ?>" /> |
---|
| 210 | </collisionShapes> |
---|
| 211 | </MovableEntity> |
---|
| 212 | <?lua |
---|
| 213 | end |
---|
| 214 | ?> |
---|
| 215 | <?lua end ?> |
---|
| 216 | |
---|
| 217 | |
---|
[11249] | 218 | <!-- ---------------ForceFields----------------- --> |
---|
[11260] | 219 | <ForceField position="0,0,0" direction="0,-1,0" diameter=500 velocity=2000 length=1200/> |
---|
[11249] | 220 | |
---|
[11260] | 221 | <!-- ------------------CheckPoints----------------- --> |
---|
[11272] | 222 | <OldRaceCheckPoint name="checkpoint1" direction="0,2,0" position="800,20,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false"> |
---|
[11260] | 223 | <attached> |
---|
| 224 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 225 | </attached> |
---|
| 226 | <collisionShapes> |
---|
| 227 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 228 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 229 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 230 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 231 | </collisionShapes> |
---|
| 232 | </OldRaceCheckPoint> |
---|
[11249] | 233 | |
---|
[11260] | 234 | <OldRaceCheckPoint name="checkpoint2" position="1600,60,40" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false"> |
---|
| 235 | <attached> |
---|
| 236 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 237 | </attached> |
---|
| 238 | <collisionShapes> |
---|
| 239 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 240 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 241 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 242 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 243 | </collisionShapes> |
---|
| 244 | </OldRaceCheckPoint> |
---|
| 245 | |
---|
| 246 | <OldRaceCheckPoint name="checkpoint3" position="2400,100,70" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="2" islast="false"> |
---|
| 247 | <attached> |
---|
| 248 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 249 | </attached> |
---|
| 250 | <collisionShapes> |
---|
| 251 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 252 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 253 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 254 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 255 | </collisionShapes> |
---|
| 256 | </OldRaceCheckPoint> |
---|
| 257 | |
---|
| 258 | <OldRaceCheckPoint name="checkpoint4" position="3200,150,120" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="3" islast="false"> |
---|
| 259 | <attached> |
---|
| 260 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 261 | </attached> |
---|
| 262 | <collisionShapes> |
---|
| 263 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 264 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 265 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 266 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 267 | </collisionShapes> |
---|
| 268 | </OldRaceCheckPoint> |
---|
| 269 | |
---|
| 270 | <OldRaceCheckPoint name="checkpoint5" position="4000,200,140" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="4" islast="false"> |
---|
| 271 | <attached> |
---|
| 272 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 273 | </attached> |
---|
| 274 | <collisionShapes> |
---|
| 275 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 276 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 277 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 278 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 279 | </collisionShapes> |
---|
| 280 | </OldRaceCheckPoint> |
---|
| 281 | |
---|
| 282 | <OldRaceCheckPoint name="checkpoint6" position="4800,100,100" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="5" islast="false"> |
---|
| 283 | <attached> |
---|
| 284 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 285 | </attached> |
---|
| 286 | <collisionShapes> |
---|
| 287 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 288 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 289 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 290 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 291 | </collisionShapes> |
---|
| 292 | </OldRaceCheckPoint> |
---|
| 293 | |
---|
| 294 | <OldRaceCheckPoint name="checkpoint7" position="5600,0,-20" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="6" islast="true"> |
---|
| 295 | <attached> |
---|
| 296 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 297 | </attached> |
---|
| 298 | <collisionShapes> |
---|
| 299 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 300 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 301 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 302 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 303 | </collisionShapes> |
---|
| 304 | </OldRaceCheckPoint> |
---|
| 305 | |
---|
[11272] | 306 | |
---|
| 307 | |
---|
| 308 | <!-- <SpaceRaceManager> |
---|
| 309 | <checkpoints> |
---|
| 310 | <RaceCheckPoint name="checkpoint1" position="0,8050,-1000" direction="0,1,0" collisionType="static" scale="4" distance="150" checkpointindex="0" islast="false" nextcheckpoints="1,-1,-1"> |
---|
| 311 | <attached> |
---|
| 312 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 313 | |
---|
| 314 | |
---|
| 315 | <Model position="0,0,55" mesh="testcube.mesh" scale3D="110,20,20" /> |
---|
| 316 | <Model position="0,0,-55" mesh="testcube.mesh" scale3D="110,20,20" /> |
---|
| 317 | <Model position="55,0,0" mesh="testcube.mesh" scale3D="20,20,110" /> |
---|
| 318 | <Model position="-55,0,0" mesh="testcube.mesh" scale3D="20,20,110" /> |
---|
| 319 | |
---|
| 320 | |
---|
| 321 | |
---|
| 322 | |
---|
| 323 | </attached> |
---|
| 324 | |
---|
| 325 | |
---|
| 326 | |
---|
| 327 | <collisionShapes> |
---|
| 328 | |
---|
| 329 | |
---|
| 330 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 331 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 332 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 333 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
| 334 | |
---|
| 335 | |
---|
| 336 | </collisionShapes> |
---|
| 337 | |
---|
| 338 | |
---|
| 339 | |
---|
| 340 | |
---|
| 341 | </RaceCheckPoint> |
---|
| 342 | |
---|
| 343 | <RaceCheckPoint name="checkpoint2" position="1000,8050,-4000" direction="0,1,0" roll="45" collisionType="static" scale="4" distance="150" checkpointindex="1" islast="false" nextcheckpoints="2,-1,-1"> |
---|
| 344 | <attached> |
---|
| 345 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 346 | </attached> |
---|
| 347 | |
---|
| 348 | |
---|
| 349 | <collisionShapes> |
---|
| 350 | |
---|
| 351 | <BoxCollisionShape position="0,0,220" halfExtents="220, 40, 40" /> |
---|
| 352 | <BoxCollisionShape position="0,0,-220" halfExtents="220, 40, 40" /> |
---|
| 353 | <BoxCollisionShape position="220,0,0" halfExtents="40, 40, 220" /> |
---|
| 354 | <BoxCollisionShape position="-220,0,0" halfExtents="40, 40, 220" /> |
---|
| 355 | |
---|
| 356 | </collisionShapes> |
---|
| 357 | </RaceCheckPoint> |
---|
| 358 | |
---|
| 359 | |
---|
| 360 | </checkpoints> |
---|
| 361 | </SpaceRaceManager> --> |
---|
| 362 | |
---|
| 363 | |
---|
| 364 | |
---|
[11232] | 365 | </Scene> |
---|
| 366 | </Level> |
---|
[11272] | 367 | |
---|