[7648] | 1 | <LevelInfo |
---|
| 2 | name = "The Time Machine" |
---|
| 3 | description = "A simple level. The only goal is to defeat as much enemies as you can." |
---|
[9016] | 4 | tags = "gametype" |
---|
| 5 | screenshot = "thetimemachine.png" |
---|
[7648] | 6 | /> |
---|
| 7 | |
---|
[7084] | 8 | <?lua |
---|
[7088] | 9 | include("stats.oxo") |
---|
[7679] | 10 | include("HUDTemplates3.oxo") |
---|
| 11 | include("templates/lodInformation.oxt") |
---|
| 12 | include("templates/spaceshipAssff.oxt") |
---|
| 13 | include("templates/spaceshipPirate.oxt") |
---|
[7084] | 14 | ?> |
---|
| 15 | |
---|
| 16 | <!--*****************************************************************************************************************************************************************************************--> |
---|
| 17 | <!--Including Template for triggering on player--> |
---|
| 18 | |
---|
| 19 | <Template name=spaceshipassffplayer> |
---|
| 20 | <SpaceShip |
---|
| 21 | hudtemplate = spaceshiphud |
---|
| 22 | camerapositiontemplate = spaceshipassffcameras |
---|
| 23 | engine = spaceshipassffengine |
---|
| 24 | spawnparticlesource = "Orxonox/fairytwirl" |
---|
| 25 | spawnparticleduration = 3 |
---|
| 26 | explosionchunks = 6 |
---|
| 27 | |
---|
| 28 | health = 100 |
---|
| 29 | maxhealth = 200 |
---|
| 30 | initialhealth = 100 |
---|
| 31 | |
---|
| 32 | primaryThrust = 100; |
---|
| 33 | auxilaryThrust = 30; |
---|
| 34 | rotationThrust = 25; |
---|
| 35 | |
---|
| 36 | collisionType = "dynamic" |
---|
| 37 | mass = 100 |
---|
| 38 | linearDamping = 0.7 |
---|
| 39 | angularDamping = 0.9999999 |
---|
| 40 | > |
---|
| 41 | <attached> |
---|
| 42 | <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" /> |
---|
| 43 | <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> |
---|
| 44 | <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 /> |
---|
[7673] | 45 | <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> <!--added DistanceTriggerBeacon--> |
---|
[7084] | 46 | </attached> |
---|
| 47 | <collisionShapes> |
---|
| 48 | <BoxCollisionShape position="0,0,0" halfExtents="10, 3, 5" /> |
---|
| 49 | <BoxCollisionShape position="13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 50 | <BoxCollisionShape position="-13,-1.3,0" halfExtents="3, 1, 2" /> |
---|
| 51 | <BoxCollisionShape position="0,0,7" halfExtents="3, 2, 2" /> |
---|
| 52 | <BoxCollisionShape position="0,0.1,-11" halfExtents="2.2, 1.8, 6" /> |
---|
| 53 | <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> |
---|
| 54 | </collisionShapes> |
---|
| 55 | <?lua |
---|
[7845] | 56 | include("includes/weaponSettingsAssff.oxi") |
---|
[7084] | 57 | ?> |
---|
| 58 | </SpaceShip> |
---|
| 59 | </Template> |
---|
| 60 | |
---|
[9145] | 61 | <Template name=spaceshipassffengine baseclass=MultiStateEngine> |
---|
| 62 | <MultiStateEngine |
---|
| 63 | boostfactor = 2 |
---|
| 64 | |
---|
| 65 | speedfront = 150 |
---|
| 66 | speedback = 50 |
---|
| 67 | speedleftright = 50 |
---|
| 68 | speedupdown = 50 |
---|
| 69 | |
---|
| 70 | defEngineSndNormal = "sounds/Engine_low.ogg" |
---|
| 71 | defEngineSndBoost = "sounds/Engine_high.ogg" |
---|
| 72 | |
---|
| 73 | accelerationfront = 500 |
---|
| 74 | accelerationbrake = 500 |
---|
| 75 | accelerationback = 125 |
---|
| 76 | accelerationleftright = 125 |
---|
| 77 | accelerationupdown = 125 |
---|
| 78 | > |
---|
| 79 | |
---|
| 80 | </MultiStateEngine> |
---|
| 81 | </Template> |
---|
| 82 | |
---|
[7084] | 83 | <!--*****************************************************************************************************************************************************************************************--> |
---|
| 84 | |
---|
| 85 | <Level |
---|
[9016] | 86 | gametype = "TeamDeathmatch" |
---|
[7084] | 87 | > |
---|
[7673] | 88 | <templates> |
---|
| 89 | <Template link=lodtemplate_default /> |
---|
| 90 | </templates> |
---|
[8706] | 91 | <?lua include("includes/notifications.oxi") ?> |
---|
| 92 | |
---|
[7088] | 93 | <Scene |
---|
| 94 | ambientlight="0.8,0.8,0.8" |
---|
| 95 | skybox="Orxonox/skypanoramagen2" |
---|
| 96 | > |
---|
[7677] | 97 | |
---|
[7088] | 98 | <Light type=directional position="0,0,0" direction="0, 0, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 1.0, 0.9" /> |
---|
[7084] | 99 | |
---|
[7673] | 100 | <!--CREATING SPAWNPOINTS_____________________________________________________________________________________________________________________________________________________________________--> |
---|
[7084] | 101 | <?lua for i=0,4,1 do |
---|
[7673] | 102 | x=500 |
---|
[7088] | 103 | ?> |
---|
[7084] | 104 | |
---|
[7088] | 105 | <TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" direction="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassffplayer /> |
---|
[7084] | 106 | <!--friendly spaceships spawnpoints--> |
---|
[7088] | 107 | <!-- TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" lookat="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassff /--> |
---|
[7084] | 108 | |
---|
| 109 | <!--enemy spaceship spawnpoint--> |
---|
[7673] | 110 | <!--TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate /--> |
---|
[7084] | 111 | <?lua end ?> |
---|
| 112 | |
---|
| 113 | <!--CREATING SPAWNPOINTS END______________________________________________________________________________________________________________________________________________________________--> |
---|
| 114 | |
---|
| 115 | |
---|
[7673] | 116 | <!--Triggers (used for the Time Machine effect)___________________________________________________________________________________________________________________________________________--> |
---|
[7088] | 117 | |
---|
| 118 | <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"--> |
---|
[8213] | 119 | <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" > |
---|
[7088] | 120 | <attached> |
---|
| 121 | <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 122 | <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 123 | <Billboard position="0,100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 124 | <Billboard position="0,0,100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 125 | <Billboard position="-100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 126 | <Billboard position="0,-100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 127 | <Billboard position="0,0,-100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 128 | </attached> |
---|
| 129 | </DistanceTrigger> |
---|
[7084] | 130 | |
---|
[7088] | 131 | <EventTrigger switch=true name=trigger4> |
---|
| 132 | <events> |
---|
| 133 | <trigger> |
---|
| 134 | <EventListener event=BotDied /> |
---|
| 135 | </trigger> |
---|
| 136 | </events> |
---|
| 137 | </EventTrigger> |
---|
[7084] | 138 | |
---|
[7088] | 139 | <!-- This Trigger flips to true if the player is in the TimeMachine and shoots another player and flips right back after that. --> |
---|
| 140 | <Trigger name=trigger1 mode=and > |
---|
| 141 | <EventTrigger name=trigger6> |
---|
| 142 | <events> |
---|
| 143 | <trigger> |
---|
| 144 | <EventListener event=EnterTimeMachine /> |
---|
| 145 | </trigger> |
---|
| 146 | </events> |
---|
| 147 | </EventTrigger> |
---|
| 148 | <EventTrigger switch=true name=trigger4> |
---|
| 149 | <events> |
---|
| 150 | <trigger> |
---|
| 151 | <EventListener event=BotDied /> |
---|
| 152 | <EventListener event=trigger2 /> |
---|
| 153 | </trigger> |
---|
| 154 | </events> |
---|
| 155 | </EventTrigger> |
---|
| 156 | <EventTrigger invert=true name=trigger5> |
---|
| 157 | <events> |
---|
| 158 | <trigger> |
---|
| 159 | <EventListener event=trigger2 /> |
---|
| 160 | </trigger> |
---|
| 161 | </events> |
---|
| 162 | </EventTrigger> |
---|
| 163 | </Trigger> |
---|
| 164 | |
---|
[7673] | 165 | <!-- This Trigger is true if the player is in the TimeMachine and has shot another player --> |
---|
[7088] | 166 | <EventTrigger name=trigger2 switch=true > |
---|
| 167 | <events> |
---|
| 168 | <trigger> |
---|
| 169 | <EventListener event=trigger1 /> |
---|
| 170 | <EventListener event=trigger3 /> |
---|
| 171 | </trigger> |
---|
| 172 | </events> |
---|
| 173 | </EventTrigger> |
---|
| 174 | |
---|
| 175 | <!-- This Trigger flips trigger2 back to false after the player has left the TimeMachine. --> |
---|
| 176 | <Trigger name=trigger3 mode=and > |
---|
| 177 | <EventTrigger> |
---|
| 178 | <events> |
---|
| 179 | <trigger> |
---|
| 180 | <EventListener event=trigger2 /> |
---|
| 181 | </trigger> |
---|
| 182 | </events> |
---|
| 183 | </EventTrigger> |
---|
| 184 | <EventTrigger invert=true> |
---|
| 185 | <events> |
---|
| 186 | <trigger> |
---|
| 187 | <EventListener event=EnterTimeMachine /> |
---|
| 188 | </trigger> |
---|
| 189 | </events> |
---|
| 190 | </EventTrigger> |
---|
| 191 | </Trigger> |
---|
| 192 | |
---|
| 193 | |
---|
[7084] | 194 | <!--Triggers (used for the Time Machine effect)_____________________________________________________________________________________________________________________________________________--> |
---|
| 195 | |
---|
[7673] | 196 | <!--Creating Spaceships_____________________________________________________________________________________________________________________________________________________________________--> |
---|
[7675] | 197 | |
---|
| 198 | <?lua for i=0,5,1 do |
---|
| 199 | y=math.random(-500,500) |
---|
| 200 | z=math.random(-1000,1000) |
---|
| 201 | y2=math.random(-500,500) |
---|
| 202 | z2=math.random(-1000,1000) |
---|
| 203 | health=230 |
---|
| 204 | addh=100 |
---|
| 205 | ?> |
---|
| 206 | |
---|
| 207 | <EventTrigger name="BotDied" > |
---|
| 208 | <events> |
---|
| 209 | <trigger> |
---|
| 210 | <SpaceShip position="-4000,<?lua print(y) ?>,<?lua print(z) ?>" lookat="1000,<?lua print(y) ?>,<?lua print(z) ?>" health=<?lua print(health) ?> maxhealth=<?lua print(health) ?> initialhealth=<?lua print(health) ?> > |
---|
| 211 | <templates> |
---|
| 212 | <Template link=spaceshipassff /> |
---|
| 213 | </templates> |
---|
| 214 | <controller> |
---|
| 215 | <WaypointPatrolController alertnessradius=1000 team=0 active=1 > |
---|
| 216 | <waypoints> |
---|
| 217 | <Model mesh="cube.mesh" scale=0 position="1000,<?lua print(math.random(-1000,1000)) ?>,<?lua print(math.random(-1000,1000)) ?>" /> |
---|
| 218 | </waypoints> |
---|
| 219 | <events> |
---|
| 220 | <activity> |
---|
| 221 | <Trigger mode=or> |
---|
| 222 | <EventTrigger invert=true> |
---|
| 223 | <events> |
---|
| 224 | <trigger> |
---|
| 225 | <EventListener event=EnterTimeMachine /> |
---|
| 226 | </trigger> |
---|
| 227 | </events> |
---|
| 228 | </EventTrigger> |
---|
| 229 | <EventTrigger> |
---|
| 230 | <events> |
---|
| 231 | <trigger> |
---|
| 232 | <EventListener event=trigger2 /> |
---|
| 233 | </trigger> |
---|
| 234 | </events> |
---|
| 235 | </EventTrigger> |
---|
| 236 | </Trigger> |
---|
| 237 | </activity> |
---|
| 238 | </events> |
---|
| 239 | </WaypointPatrolController> |
---|
| 240 | </controller> |
---|
| 241 | </SpaceShip> |
---|
| 242 | </trigger> |
---|
| 243 | </events> |
---|
| 244 | </EventTrigger> |
---|
[7084] | 245 | |
---|
[7675] | 246 | <EventTrigger name="BotDied" > |
---|
| 247 | <events> |
---|
| 248 | <trigger> |
---|
| 249 | <SpaceShip position="4000,<?lua print(y2) ?>,<?lua print(z2) ?>" lookat="-1000,<?lua print(y2) ?>, <?lua print(z2) ?>" health=<?lua print(health+addh) ?> maxhealth=<?lua print(health+addh) ?> initialhealth=<?lua print(health+addh) ?> > |
---|
| 250 | <templates> |
---|
| 251 | <Template link=spaceshippirate /> |
---|
| 252 | </templates> |
---|
| 253 | <controller> |
---|
| 254 | <WaypointPatrolController alertnessradius=1000 team=1 active=1 > |
---|
| 255 | <waypoints> |
---|
| 256 | <Model mesh="cube.mesh" scale=0 position="-1000,<?lua print(math.random(-1000,1000)) ?>, <?lua print(math.random(-1000,1000)) ?>" /> |
---|
| 257 | </waypoints> |
---|
| 258 | <events> |
---|
| 259 | <activity> |
---|
| 260 | <Trigger mode=or> |
---|
| 261 | <EventTrigger invert=true> |
---|
| 262 | <events> |
---|
| 263 | <trigger> |
---|
| 264 | <EventListener event=EnterTimeMachine /> |
---|
| 265 | </trigger> |
---|
| 266 | </events> |
---|
| 267 | </EventTrigger> |
---|
| 268 | <EventTrigger> |
---|
| 269 | <events> |
---|
| 270 | <trigger> |
---|
| 271 | <EventListener event=trigger2 /> |
---|
| 272 | </trigger> |
---|
| 273 | </events> |
---|
| 274 | </EventTrigger> |
---|
| 275 | </Trigger> |
---|
| 276 | </activity> |
---|
| 277 | </events> |
---|
| 278 | </WaypointPatrolController> |
---|
| 279 | </controller> |
---|
| 280 | </SpaceShip> |
---|
| 281 | </trigger> |
---|
| 282 | </events> |
---|
| 283 | </EventTrigger> |
---|
| 284 | <?lua end ?> |
---|
| 285 | |
---|
[7673] | 286 | <!--Creating Spaceships_____END_____________________________________________________________________________________________________________________________________________________________--> |
---|
[7084] | 287 | |
---|
| 288 | <!--BILLBOARD IN THE MIDDLE OF THE BATTLEFIELD--> |
---|
[7088] | 289 | <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Flares/backlightflare" scale=1 /> |
---|
| 290 | |
---|
[7084] | 291 | <!--TIME MACHINE____________________________________________________________________________________________________________________________________________________________________________--> |
---|
[7677] | 292 | <ForceField mode="invertedSphere" position="0,0,0" velocity=50000 diameter=6500 length=500 /> |
---|
[7088] | 293 | <StaticEntity> |
---|
| 294 | <attached> |
---|
| 295 | <MovableEntity position="0,0,0"> |
---|
| 296 | <attached> |
---|
[7084] | 297 | <!--MIDDLE--> |
---|
| 298 | <?lua for i=0,2,1 do ?> |
---|
[7088] | 299 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=<?lua print(-255-i*120) ?> > |
---|
| 300 | <attached> |
---|
| 301 | <Billboard position="<?lua print(10+i*10) ?>,<?lua print(-10-i*10) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 302 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 303 | </attached> |
---|
| 304 | </MovableEntity> |
---|
| 305 | |
---|
| 306 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(-245-i*90) ?> > |
---|
| 307 | <attached> |
---|
| 308 | <Billboard position="<?lua print(10+i*20) ?>,<?lua print(-10-i*20) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 309 | <Billboard position="<?lua print(-10-i*20) ?>,<?lua print(10+i*20) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 310 | </attached> |
---|
| 311 | </MovableEntity> |
---|
| 312 | |
---|
| 313 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(265+i*110) ?> > |
---|
| 314 | <attached> |
---|
| 315 | <Billboard position="<?lua print(10+i*20) ?>,0,<?lua print(-10-i*20) ?>" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 316 | <Billboard position="<?lua print(-10-i*20) ?>,0,<?lua print(10+i*20) ?>" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 317 | </attached> |
---|
| 318 | </MovableEntity> |
---|
| 319 | |
---|
| 320 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=<?lua print(240+i*80) ?> > |
---|
| 321 | <attached> |
---|
| 322 | <Billboard position="<?lua print(15+i*30) ?>,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 323 | <Billboard position="<?lua print(-15-i*30) ?>,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 324 | </attached> |
---|
| 325 | </MovableEntity> |
---|
[7084] | 326 | |
---|
[7088] | 327 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=<?lua print(232+i*70) ?> > |
---|
| 328 | <attached> |
---|
| 329 | <Billboard position="0,<?lua print(15+i*30) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 330 | <Billboard position="0,<?lua print(-15-i*30) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 331 | </attached> |
---|
| 332 | </MovableEntity> |
---|
[7084] | 333 | <?lua end ?> |
---|
| 334 | |
---|
| 335 | |
---|
| 336 | <!--FIRST DISTANT PAIR--> |
---|
| 337 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 338 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=10 > |
---|
| 339 | <attached> |
---|
| 340 | <MovableEntity position="<?lua print(1500-3000*i) ?>,0,0"> |
---|
| 341 | <attached> |
---|
[7673] | 342 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 343 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 344 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 345 | <attached> |
---|
| 346 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 347 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 348 | </attached> |
---|
| 349 | </MovableEntity> |
---|
[7084] | 350 | |
---|
[7088] | 351 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 352 | <attached> |
---|
| 353 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 354 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 355 | </attached> |
---|
| 356 | </MovableEntity> |
---|
[7084] | 357 | |
---|
[7088] | 358 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 359 | <attached> |
---|
| 360 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 361 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 362 | </attached> |
---|
| 363 | </MovableEntity> |
---|
[7084] | 364 | |
---|
[7088] | 365 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 366 | <attached> |
---|
| 367 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 368 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 369 | </attached> |
---|
| 370 | </MovableEntity> |
---|
[7084] | 371 | |
---|
[7088] | 372 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
| 373 | <attached> |
---|
| 374 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 375 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 376 | </attached> |
---|
| 377 | </MovableEntity> |
---|
[7084] | 378 | |
---|
[7088] | 379 | </attached> |
---|
| 380 | </MovableEntity> |
---|
| 381 | </attached> |
---|
| 382 | </MovableEntity> |
---|
[7084] | 383 | <?lua end ?> |
---|
| 384 | <!--SECOND DISTANT PAIR--> |
---|
| 385 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 386 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=8 > |
---|
| 387 | <attached> |
---|
| 388 | <MovableEntity position="0,<?lua print(1500-3000*i) ?>,0"> |
---|
| 389 | <attached> |
---|
[7673] | 390 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 391 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 392 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 393 | <attached> |
---|
| 394 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 395 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 396 | </attached> |
---|
| 397 | </MovableEntity> |
---|
[7084] | 398 | |
---|
[7088] | 399 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 400 | <attached> |
---|
| 401 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 402 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 403 | </attached> |
---|
| 404 | </MovableEntity> |
---|
[7084] | 405 | |
---|
[7088] | 406 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 407 | <attached> |
---|
| 408 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 409 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 410 | </attached> |
---|
| 411 | </MovableEntity> |
---|
[7084] | 412 | |
---|
[7088] | 413 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 414 | <attached> |
---|
| 415 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 416 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 417 | </attached> |
---|
| 418 | </MovableEntity> |
---|
[7084] | 419 | |
---|
[7088] | 420 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
| 421 | <attached> |
---|
| 422 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 423 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 424 | </attached> |
---|
| 425 | </MovableEntity> |
---|
[7084] | 426 | |
---|
[7088] | 427 | </attached> |
---|
| 428 | </MovableEntity> |
---|
| 429 | </attached> |
---|
| 430 | </MovableEntity> |
---|
[7084] | 431 | <?lua end ?> |
---|
| 432 | <!--THIRD DISTANT PAIR--> |
---|
| 433 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 434 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=9 > |
---|
| 435 | <attached> |
---|
| 436 | <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> |
---|
| 437 | <attached> |
---|
[7673] | 438 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 439 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 440 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 441 | <attached> |
---|
| 442 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 443 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 444 | </attached> |
---|
| 445 | </MovableEntity> |
---|
[7084] | 446 | |
---|
[7088] | 447 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 448 | <attached> |
---|
| 449 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 450 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 451 | </attached> |
---|
| 452 | </MovableEntity> |
---|
[7084] | 453 | |
---|
[7088] | 454 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 455 | <attached> |
---|
| 456 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 457 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 458 | </attached> |
---|
| 459 | </MovableEntity> |
---|
[7084] | 460 | |
---|
[7088] | 461 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 462 | <attached> |
---|
| 463 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 464 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 465 | </attached> |
---|
| 466 | </MovableEntity> |
---|
[7084] | 467 | |
---|
[7088] | 468 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
| 469 | <attached> |
---|
| 470 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 471 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 472 | </attached> |
---|
| 473 | </MovableEntity> |
---|
[7084] | 474 | |
---|
[7088] | 475 | </attached> |
---|
| 476 | </MovableEntity> |
---|
| 477 | </attached> |
---|
| 478 | </MovableEntity> |
---|
[7084] | 479 | <?lua end ?> |
---|
| 480 | <!--FOURTH DISTANT PAIR--> |
---|
| 481 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 482 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=12 > |
---|
| 483 | <attached> |
---|
| 484 | <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> |
---|
| 485 | <attached> |
---|
[7673] | 486 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 487 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 488 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 489 | <attached> |
---|
| 490 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 491 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 492 | </attached> |
---|
| 493 | </MovableEntity> |
---|
[7084] | 494 | |
---|
[7088] | 495 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 496 | <attached> |
---|
| 497 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 498 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 499 | </attached> |
---|
| 500 | </MovableEntity> |
---|
[7084] | 501 | |
---|
[7088] | 502 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 503 | <attached> |
---|
| 504 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 505 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 506 | </attached> |
---|
| 507 | </MovableEntity> |
---|
[7084] | 508 | |
---|
[7088] | 509 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 510 | <attached> |
---|
| 511 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 512 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 513 | </attached> |
---|
| 514 | </MovableEntity> |
---|
[7084] | 515 | |
---|
[7088] | 516 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
| 517 | <attached> |
---|
| 518 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 519 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 520 | </attached> |
---|
| 521 | </MovableEntity> |
---|
[7084] | 522 | |
---|
[7088] | 523 | </attached> |
---|
| 524 | </MovableEntity> |
---|
| 525 | </attached> |
---|
| 526 | </MovableEntity> |
---|
[7084] | 527 | <?lua end ?> |
---|
| 528 | <!--FIFTH DISTANT PAIR--> |
---|
| 529 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 530 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=11 > |
---|
| 531 | <attached> |
---|
| 532 | <MovableEntity position="<?lua print(1000-2000*i) ?>,0,<?lua print(-1000+2000*i) ?>"> |
---|
| 533 | <attached> |
---|
[7673] | 534 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 535 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 536 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 537 | <attached> |
---|
| 538 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 539 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 540 | </attached> |
---|
| 541 | </MovableEntity> |
---|
[7084] | 542 | |
---|
[7088] | 543 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 544 | <attached> |
---|
| 545 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 546 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 547 | </attached> |
---|
| 548 | </MovableEntity> |
---|
[7084] | 549 | |
---|
[7088] | 550 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 551 | <attached> |
---|
| 552 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 553 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 554 | </attached> |
---|
| 555 | </MovableEntity> |
---|
[7084] | 556 | |
---|
[7088] | 557 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 558 | <attached> |
---|
| 559 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 560 | <Billboard position="-15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 561 | </attached> |
---|
| 562 | </MovableEntity> |
---|
[7084] | 563 | |
---|
[7088] | 564 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=232 > |
---|
| 565 | <attached> |
---|
| 566 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 567 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 568 | </attached> |
---|
| 569 | </MovableEntity> |
---|
[7084] | 570 | |
---|
[7088] | 571 | </attached> |
---|
| 572 | </MovableEntity> |
---|
| 573 | </attached> |
---|
| 574 | </MovableEntity> |
---|
[7084] | 575 | <?lua end ?> |
---|
[7088] | 576 | </attached> |
---|
| 577 | </MovableEntity> |
---|
| 578 | </attached> |
---|
| 579 | </StaticEntity> |
---|
| 580 | |
---|
[7084] | 581 | |
---|
| 582 | <!--TIME MACHINE END____________________________________________________________________________________________________________________________________________________________________--> |
---|
| 583 | |
---|
| 584 | <!--Forcefields_________________________________________________________________________________________________________________________________________________________________________--> |
---|
| 585 | |
---|
| 586 | <!--NO 1--> |
---|
[7088] | 587 | <ForceField position="-2500,0,800" direction="1,0,0" diameter=500 velocity=5000 length=1000 /> |
---|
| 588 | <MovableEntity position="-2500,0,800"> |
---|
| 589 | <attached> |
---|
| 590 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=2/> |
---|
| 591 | <?lua for i=0,20,1 do ?> |
---|
| 592 | <Billboard position="<?lua print(i*200) ?>,0,-100" material="Examples/Flare" colour="0.5,0,0" scale=1/> |
---|
| 593 | <Billboard position="<?lua print(i*200) ?>,0,100" material="Examples/Flare" colour="0.5,0,0" scale=1/> |
---|
| 594 | <?lua end ?> |
---|
| 595 | </attached> |
---|
| 596 | </MovableEntity> |
---|
[7084] | 597 | <!--NO 2--> |
---|
[7088] | 598 | <ForceField position="2500,0,-800" direction="-1,0,0" diameter=500 velocity=5000 length=1000 /> |
---|
| 599 | <MovableEntity position="2500,0,-800"> |
---|
| 600 | <attached> |
---|
| 601 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0.5,0" scale=2/> |
---|
| 602 | <?lua for i=0,20,1 do ?> |
---|
| 603 | <Billboard position="<?lua print(-i*200) ?>,0,-100" material="Examples/Flare" colour="0,0.5,0" scale=1/> |
---|
| 604 | <Billboard position="<?lua print(-i*200) ?>,0,100" material="Examples/Flare" colour="0,0.5,0" scale=1/> |
---|
| 605 | <?lua end ?> |
---|
| 606 | </attached> |
---|
| 607 | </MovableEntity> |
---|
| 608 | |
---|
[7084] | 609 | <!--NO 3--> |
---|
[7088] | 610 | <ForceField position="-2500,0,-600" direction="0.75,0.5,1" diameter=500 velocity=5000 length=1000 /> |
---|
| 611 | <MovableEntity position="-2500,0,-600"> |
---|
| 612 | <attached> |
---|
| 613 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0.5" scale=2/> |
---|
| 614 | <?lua for i=0,20,1 do ?> |
---|
| 615 | <Billboard position="<?lua print(i*115-100) ?>,<?lua print(i*75) ?>,<?lua print(i*150) ?>" material="Examples/Flare" colour="0.5,0,0.5" scale=1/> |
---|
| 616 | <Billboard position="<?lua print(i*115+100) ?>,<?lua print(i*75) ?>,<?lua print(i*150) ?>" material="Examples/Flare" colour="0.5,0,0.5" scale=1/> |
---|
| 617 | <?lua end ?> |
---|
| 618 | </attached> |
---|
| 619 | </MovableEntity> |
---|
[7084] | 620 | |
---|
| 621 | <!--NO 4--> |
---|
[7088] | 622 | <ForceField position="2500,0,600" direction="-0.75,-0.5,-1" diameter=500 velocity=5000 length=1000 /> |
---|
| 623 | <MovableEntity position="2500,0,600"> |
---|
| 624 | <attached> |
---|
| 625 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0.5,0.5" scale=2/> |
---|
| 626 | <?lua for i=0,20,1 do ?> |
---|
| 627 | <Billboard position="<?lua print(i*(-115)-100) ?>,<?lua print(i*(-75)) ?>,<?lua print(i*(-150)) ?>" material="Examples/Flare" colour="0,0.5,0.5" scale=1/> |
---|
| 628 | <Billboard position="<?lua print(i*(-115)+100) ?>,<?lua print(i*-(75)) ?>,<?lua print(i*(-150)) ?>" material="Examples/Flare" colour="0,0.5,0.5" scale=1/> |
---|
| 629 | <?lua end ?> |
---|
| 630 | </attached> |
---|
| 631 | </MovableEntity> |
---|
[7084] | 632 | |
---|
| 633 | <!--NO 5 (samller)--> |
---|
[7088] | 634 | <ForceField position="0,-500,500" direction="0,1,0" diameter=500 velocity=3000 length=1000 /> |
---|
| 635 | <MovableEntity position="0,-500,500"> |
---|
| 636 | <attached> |
---|
| 637 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.5,0" scale=2/> |
---|
| 638 | <?lua for i=0,15,1 do ?> |
---|
| 639 | <Billboard position="0,<?lua print(i*100) ?>,0" material="Examples/Flare" colour="0.5,0.5,0" scale=1/> |
---|
| 640 | <?lua end ?> |
---|
| 641 | </attached> |
---|
| 642 | </MovableEntity> |
---|
[7084] | 643 | |
---|
| 644 | <!--No 6 (smaller)--> |
---|
[7088] | 645 | <ForceField position="0,500,-500" direction="0,-1,0" diameter=500 velocity=3000 length=1000 /> |
---|
| 646 | <MovableEntity position="0,500,-500"> |
---|
| 647 | <attached> |
---|
| 648 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.3,0.2" scale=2/> |
---|
| 649 | <?lua for i=0,15,1 do ?> |
---|
| 650 | <Billboard position="0,<?lua print(i*(-100)) ?>,0" material="Examples/Flare" colour="0.5,0.3,0.2" scale=1/> |
---|
| 651 | <?lua end ?> |
---|
| 652 | </attached> |
---|
| 653 | </MovableEntity> |
---|
[7084] | 654 | |
---|
| 655 | <!--No 7 (smaller)--> |
---|
[7088] | 656 | <ForceField position="500,0,-500" direction="0,0,1" diameter=500 velocity=2500 length=750 /> |
---|
| 657 | <MovableEntity position="500,0,-500"> |
---|
| 658 | <attached> |
---|
| 659 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.4,0.6" scale=2/> |
---|
| 660 | <?lua for i=0,8,1 do ?> |
---|
| 661 | <Billboard position="0,0,<?lua print(i*(100)) ?>" material="Examples/Flare" colour="0.5,0.4,0.6" scale=1/> |
---|
| 662 | <?lua end ?> |
---|
| 663 | </attached> |
---|
| 664 | </MovableEntity> |
---|
[7084] | 665 | |
---|
| 666 | <!--No 8 (smaller)--> |
---|
[7088] | 667 | <ForceField position="-500,0,500" direction="0,0,-1" diameter=500 velocity=2500 length=750 /> |
---|
| 668 | <MovableEntity position="-500,0,500"> |
---|
| 669 | <attached> |
---|
| 670 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=2/> |
---|
| 671 | <?lua for i=0,8,1 do ?> |
---|
| 672 | <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/> |
---|
| 673 | <?lua end ?> |
---|
| 674 | </attached> |
---|
| 675 | </MovableEntity> |
---|
[7084] | 676 | |
---|
| 677 | <!--Invisible Forcefield (immediatly sends the player to the time machine)--> |
---|
[7088] | 678 | <ForceField position="-2500,2500,800" direction="1,-1,-0.32" diameter=200 velocity=10000 length=880 /> |
---|
| 679 | <Billboard position="-2500,2500,800" material="Examples/Flare" colour="1,1,1" /> <!--This Billboard looks like a star on the Skybox--> |
---|
| 680 | |
---|
| 681 | |
---|
| 682 | </Scene> |
---|
[7084] | 683 | </Level> |
---|