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