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