[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 |
---|
[7845] | 55 | include("includes/weaponSettingsAssff.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> |
---|
[8706] | 70 | <?lua include("includes/notifications.oxi") ?> |
---|
| 71 | |
---|
[7088] | 72 | <Scene |
---|
| 73 | ambientlight="0.8,0.8,0.8" |
---|
| 74 | skybox="Orxonox/skypanoramagen2" |
---|
| 75 | > |
---|
[7677] | 76 | |
---|
[7088] | 77 | <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] | 78 | |
---|
[7673] | 79 | <!--CREATING SPAWNPOINTS_____________________________________________________________________________________________________________________________________________________________________--> |
---|
[7084] | 80 | <?lua for i=0,4,1 do |
---|
[7673] | 81 | x=500 |
---|
[7088] | 82 | ?> |
---|
[7084] | 83 | |
---|
[7088] | 84 | <TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" direction="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassffplayer /> |
---|
[7084] | 85 | <!--friendly spaceships spawnpoints--> |
---|
[7088] | 86 | <!-- TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" lookat="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassff /--> |
---|
[7084] | 87 | |
---|
| 88 | <!--enemy spaceship spawnpoint--> |
---|
[7673] | 89 | <!--TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate /--> |
---|
[7084] | 90 | <?lua end ?> |
---|
| 91 | |
---|
| 92 | <!--CREATING SPAWNPOINTS END______________________________________________________________________________________________________________________________________________________________--> |
---|
| 93 | |
---|
| 94 | |
---|
[7673] | 95 | <!--Triggers (used for the Time Machine effect)___________________________________________________________________________________________________________________________________________--> |
---|
[7088] | 96 | |
---|
| 97 | <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"--> |
---|
[8213] | 98 | <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="Pawn" beaconMode="identify" targetname="PlayerDistanceTrigger" > |
---|
[7088] | 99 | <attached> |
---|
| 100 | <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 101 | <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 102 | <Billboard position="0,100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 103 | <Billboard position="0,0,100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 104 | <Billboard position="-100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 105 | <Billboard position="0,-100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 106 | <Billboard position="0,0,-100" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
| 107 | </attached> |
---|
| 108 | </DistanceTrigger> |
---|
[7084] | 109 | |
---|
[7088] | 110 | <EventTrigger switch=true name=trigger4> |
---|
| 111 | <events> |
---|
| 112 | <trigger> |
---|
| 113 | <EventListener event=BotDied /> |
---|
| 114 | </trigger> |
---|
| 115 | </events> |
---|
| 116 | </EventTrigger> |
---|
[7084] | 117 | |
---|
[7088] | 118 | <!-- This Trigger flips to true if the player is in the TimeMachine and shoots another player and flips right back after that. --> |
---|
| 119 | <Trigger name=trigger1 mode=and > |
---|
| 120 | <EventTrigger name=trigger6> |
---|
| 121 | <events> |
---|
| 122 | <trigger> |
---|
| 123 | <EventListener event=EnterTimeMachine /> |
---|
| 124 | </trigger> |
---|
| 125 | </events> |
---|
| 126 | </EventTrigger> |
---|
| 127 | <EventTrigger switch=true name=trigger4> |
---|
| 128 | <events> |
---|
| 129 | <trigger> |
---|
| 130 | <EventListener event=BotDied /> |
---|
| 131 | <EventListener event=trigger2 /> |
---|
| 132 | </trigger> |
---|
| 133 | </events> |
---|
| 134 | </EventTrigger> |
---|
| 135 | <EventTrigger invert=true name=trigger5> |
---|
| 136 | <events> |
---|
| 137 | <trigger> |
---|
| 138 | <EventListener event=trigger2 /> |
---|
| 139 | </trigger> |
---|
| 140 | </events> |
---|
| 141 | </EventTrigger> |
---|
| 142 | </Trigger> |
---|
| 143 | |
---|
[7673] | 144 | <!-- This Trigger is true if the player is in the TimeMachine and has shot another player --> |
---|
[7088] | 145 | <EventTrigger name=trigger2 switch=true > |
---|
| 146 | <events> |
---|
| 147 | <trigger> |
---|
| 148 | <EventListener event=trigger1 /> |
---|
| 149 | <EventListener event=trigger3 /> |
---|
| 150 | </trigger> |
---|
| 151 | </events> |
---|
| 152 | </EventTrigger> |
---|
| 153 | |
---|
| 154 | <!-- This Trigger flips trigger2 back to false after the player has left the TimeMachine. --> |
---|
| 155 | <Trigger name=trigger3 mode=and > |
---|
| 156 | <EventTrigger> |
---|
| 157 | <events> |
---|
| 158 | <trigger> |
---|
| 159 | <EventListener event=trigger2 /> |
---|
| 160 | </trigger> |
---|
| 161 | </events> |
---|
| 162 | </EventTrigger> |
---|
| 163 | <EventTrigger invert=true> |
---|
| 164 | <events> |
---|
| 165 | <trigger> |
---|
| 166 | <EventListener event=EnterTimeMachine /> |
---|
| 167 | </trigger> |
---|
| 168 | </events> |
---|
| 169 | </EventTrigger> |
---|
| 170 | </Trigger> |
---|
| 171 | |
---|
| 172 | |
---|
[7084] | 173 | <!--Triggers (used for the Time Machine effect)_____________________________________________________________________________________________________________________________________________--> |
---|
| 174 | |
---|
[7673] | 175 | <!--Creating Spaceships_____________________________________________________________________________________________________________________________________________________________________--> |
---|
[7675] | 176 | |
---|
| 177 | <?lua for i=0,5,1 do |
---|
| 178 | y=math.random(-500,500) |
---|
| 179 | z=math.random(-1000,1000) |
---|
| 180 | y2=math.random(-500,500) |
---|
| 181 | z2=math.random(-1000,1000) |
---|
| 182 | health=230 |
---|
| 183 | addh=100 |
---|
| 184 | ?> |
---|
| 185 | |
---|
| 186 | <EventTrigger name="BotDied" > |
---|
| 187 | <events> |
---|
| 188 | <trigger> |
---|
| 189 | <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) ?> > |
---|
| 190 | <templates> |
---|
| 191 | <Template link=spaceshipassff /> |
---|
| 192 | </templates> |
---|
| 193 | <controller> |
---|
| 194 | <WaypointPatrolController alertnessradius=1000 team=0 active=1 > |
---|
| 195 | <waypoints> |
---|
| 196 | <Model mesh="cube.mesh" scale=0 position="1000,<?lua print(math.random(-1000,1000)) ?>,<?lua print(math.random(-1000,1000)) ?>" /> |
---|
| 197 | </waypoints> |
---|
| 198 | <events> |
---|
| 199 | <activity> |
---|
| 200 | <Trigger mode=or> |
---|
| 201 | <EventTrigger invert=true> |
---|
| 202 | <events> |
---|
| 203 | <trigger> |
---|
| 204 | <EventListener event=EnterTimeMachine /> |
---|
| 205 | </trigger> |
---|
| 206 | </events> |
---|
| 207 | </EventTrigger> |
---|
| 208 | <EventTrigger> |
---|
| 209 | <events> |
---|
| 210 | <trigger> |
---|
| 211 | <EventListener event=trigger2 /> |
---|
| 212 | </trigger> |
---|
| 213 | </events> |
---|
| 214 | </EventTrigger> |
---|
| 215 | </Trigger> |
---|
| 216 | </activity> |
---|
| 217 | </events> |
---|
| 218 | </WaypointPatrolController> |
---|
| 219 | </controller> |
---|
| 220 | </SpaceShip> |
---|
| 221 | </trigger> |
---|
| 222 | </events> |
---|
| 223 | </EventTrigger> |
---|
[7084] | 224 | |
---|
[7675] | 225 | <EventTrigger name="BotDied" > |
---|
| 226 | <events> |
---|
| 227 | <trigger> |
---|
| 228 | <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) ?> > |
---|
| 229 | <templates> |
---|
| 230 | <Template link=spaceshippirate /> |
---|
| 231 | </templates> |
---|
| 232 | <controller> |
---|
| 233 | <WaypointPatrolController alertnessradius=1000 team=1 active=1 > |
---|
| 234 | <waypoints> |
---|
| 235 | <Model mesh="cube.mesh" scale=0 position="-1000,<?lua print(math.random(-1000,1000)) ?>, <?lua print(math.random(-1000,1000)) ?>" /> |
---|
| 236 | </waypoints> |
---|
| 237 | <events> |
---|
| 238 | <activity> |
---|
| 239 | <Trigger mode=or> |
---|
| 240 | <EventTrigger invert=true> |
---|
| 241 | <events> |
---|
| 242 | <trigger> |
---|
| 243 | <EventListener event=EnterTimeMachine /> |
---|
| 244 | </trigger> |
---|
| 245 | </events> |
---|
| 246 | </EventTrigger> |
---|
| 247 | <EventTrigger> |
---|
| 248 | <events> |
---|
| 249 | <trigger> |
---|
| 250 | <EventListener event=trigger2 /> |
---|
| 251 | </trigger> |
---|
| 252 | </events> |
---|
| 253 | </EventTrigger> |
---|
| 254 | </Trigger> |
---|
| 255 | </activity> |
---|
| 256 | </events> |
---|
| 257 | </WaypointPatrolController> |
---|
| 258 | </controller> |
---|
| 259 | </SpaceShip> |
---|
| 260 | </trigger> |
---|
| 261 | </events> |
---|
| 262 | </EventTrigger> |
---|
| 263 | <?lua end ?> |
---|
| 264 | |
---|
[7673] | 265 | <!--Creating Spaceships_____END_____________________________________________________________________________________________________________________________________________________________--> |
---|
[7084] | 266 | |
---|
| 267 | <!--BILLBOARD IN THE MIDDLE OF THE BATTLEFIELD--> |
---|
[7088] | 268 | <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Flares/backlightflare" scale=1 /> |
---|
| 269 | |
---|
[7084] | 270 | <!--TIME MACHINE____________________________________________________________________________________________________________________________________________________________________________--> |
---|
[7677] | 271 | <ForceField mode="invertedSphere" position="0,0,0" velocity=50000 diameter=6500 length=500 /> |
---|
[7088] | 272 | <StaticEntity> |
---|
| 273 | <attached> |
---|
| 274 | <MovableEntity position="0,0,0"> |
---|
| 275 | <attached> |
---|
[7084] | 276 | <!--MIDDLE--> |
---|
| 277 | <?lua for i=0,2,1 do ?> |
---|
[7088] | 278 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=<?lua print(-255-i*120) ?> > |
---|
| 279 | <attached> |
---|
| 280 | <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/> |
---|
| 281 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 282 | </attached> |
---|
| 283 | </MovableEntity> |
---|
| 284 | |
---|
| 285 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(-245-i*90) ?> > |
---|
| 286 | <attached> |
---|
| 287 | <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/> |
---|
| 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 | </attached> |
---|
| 290 | </MovableEntity> |
---|
| 291 | |
---|
| 292 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(265+i*110) ?> > |
---|
| 293 | <attached> |
---|
| 294 | <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/> |
---|
| 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 | </attached> |
---|
| 297 | </MovableEntity> |
---|
| 298 | |
---|
| 299 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=<?lua print(240+i*80) ?> > |
---|
| 300 | <attached> |
---|
| 301 | <Billboard position="<?lua print(15+i*30) ?>,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 302 | <Billboard position="<?lua print(-15-i*30) ?>,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 303 | </attached> |
---|
| 304 | </MovableEntity> |
---|
[7084] | 305 | |
---|
[7088] | 306 | <MovableEntity position="0,0,0" rotationaxis="1,0,0" rotationrate=<?lua print(232+i*70) ?> > |
---|
| 307 | <attached> |
---|
| 308 | <Billboard position="0,<?lua print(15+i*30) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 309 | <Billboard position="0,<?lua print(-15-i*30) ?>,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 310 | </attached> |
---|
| 311 | </MovableEntity> |
---|
[7084] | 312 | <?lua end ?> |
---|
| 313 | |
---|
| 314 | |
---|
| 315 | <!--FIRST DISTANT PAIR--> |
---|
| 316 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 317 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=10 > |
---|
| 318 | <attached> |
---|
| 319 | <MovableEntity position="<?lua print(1500-3000*i) ?>,0,0"> |
---|
| 320 | <attached> |
---|
[7673] | 321 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 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> |
---|
[7673] | 369 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 370 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 371 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 372 | <attached> |
---|
| 373 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 374 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 375 | </attached> |
---|
| 376 | </MovableEntity> |
---|
[7084] | 377 | |
---|
[7088] | 378 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 379 | <attached> |
---|
| 380 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 381 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 382 | </attached> |
---|
| 383 | </MovableEntity> |
---|
[7084] | 384 | |
---|
[7088] | 385 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 386 | <attached> |
---|
| 387 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 388 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 389 | </attached> |
---|
| 390 | </MovableEntity> |
---|
[7084] | 391 | |
---|
[7088] | 392 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 393 | <attached> |
---|
| 394 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 395 | <Billboard position="-15,0,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,0" rotationrate=232 > |
---|
| 400 | <attached> |
---|
| 401 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 402 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 403 | </attached> |
---|
| 404 | </MovableEntity> |
---|
[7084] | 405 | |
---|
[7088] | 406 | </attached> |
---|
| 407 | </MovableEntity> |
---|
| 408 | </attached> |
---|
| 409 | </MovableEntity> |
---|
[7084] | 410 | <?lua end ?> |
---|
| 411 | <!--THIRD DISTANT PAIR--> |
---|
| 412 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 413 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=9 > |
---|
| 414 | <attached> |
---|
| 415 | <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> |
---|
| 416 | <attached> |
---|
[7673] | 417 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 418 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 419 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 420 | <attached> |
---|
| 421 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 422 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 423 | </attached> |
---|
| 424 | </MovableEntity> |
---|
[7084] | 425 | |
---|
[7088] | 426 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 427 | <attached> |
---|
| 428 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 429 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 430 | </attached> |
---|
| 431 | </MovableEntity> |
---|
[7084] | 432 | |
---|
[7088] | 433 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 434 | <attached> |
---|
| 435 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 436 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 437 | </attached> |
---|
| 438 | </MovableEntity> |
---|
[7084] | 439 | |
---|
[7088] | 440 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 441 | <attached> |
---|
| 442 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 443 | <Billboard position="-15,0,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,0" rotationrate=232 > |
---|
| 448 | <attached> |
---|
| 449 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 450 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 451 | </attached> |
---|
| 452 | </MovableEntity> |
---|
[7084] | 453 | |
---|
[7088] | 454 | </attached> |
---|
| 455 | </MovableEntity> |
---|
| 456 | </attached> |
---|
| 457 | </MovableEntity> |
---|
[7084] | 458 | <?lua end ?> |
---|
| 459 | <!--FOURTH DISTANT PAIR--> |
---|
| 460 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 461 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=12 > |
---|
| 462 | <attached> |
---|
| 463 | <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> |
---|
| 464 | <attached> |
---|
[7673] | 465 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 466 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 467 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 468 | <attached> |
---|
| 469 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 470 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 471 | </attached> |
---|
| 472 | </MovableEntity> |
---|
[7084] | 473 | |
---|
[7088] | 474 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 475 | <attached> |
---|
| 476 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 477 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 478 | </attached> |
---|
| 479 | </MovableEntity> |
---|
[7084] | 480 | |
---|
[7088] | 481 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 482 | <attached> |
---|
| 483 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 484 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 485 | </attached> |
---|
| 486 | </MovableEntity> |
---|
[7084] | 487 | |
---|
[7088] | 488 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 489 | <attached> |
---|
| 490 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 491 | <Billboard position="-15,0,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,0" rotationrate=232 > |
---|
| 496 | <attached> |
---|
| 497 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 498 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 499 | </attached> |
---|
| 500 | </MovableEntity> |
---|
[7084] | 501 | |
---|
[7088] | 502 | </attached> |
---|
| 503 | </MovableEntity> |
---|
| 504 | </attached> |
---|
| 505 | </MovableEntity> |
---|
[7084] | 506 | <?lua end ?> |
---|
| 507 | <!--FIFTH DISTANT PAIR--> |
---|
| 508 | <?lua for i=0,1,1 do ?> |
---|
[7088] | 509 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=11 > |
---|
| 510 | <attached> |
---|
| 511 | <MovableEntity position="<?lua print(1000-2000*i) ?>,0,<?lua print(-1000+2000*i) ?>"> |
---|
| 512 | <attached> |
---|
[7673] | 513 | <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> |
---|
[7088] | 514 | <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> |
---|
| 515 | <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > |
---|
| 516 | <attached> |
---|
| 517 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 518 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 519 | </attached> |
---|
| 520 | </MovableEntity> |
---|
[7084] | 521 | |
---|
[7088] | 522 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=-245 > |
---|
| 523 | <attached> |
---|
| 524 | <Billboard position="10,-10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 525 | <Billboard position="-10,10,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 526 | </attached> |
---|
| 527 | </MovableEntity> |
---|
[7084] | 528 | |
---|
[7088] | 529 | <MovableEntity position="0,0,0" rotationaxis="1,0,1" rotationrate=265 > |
---|
| 530 | <attached> |
---|
| 531 | <Billboard position="10,0,-10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 532 | <Billboard position="-10,0,10" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 533 | </attached> |
---|
| 534 | </MovableEntity> |
---|
[7084] | 535 | |
---|
[7088] | 536 | <MovableEntity position="0,0,0" rotationaxis="0,1,0" rotationrate=240 > |
---|
| 537 | <attached> |
---|
| 538 | <Billboard position="15,0,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 539 | <Billboard position="-15,0,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,0" rotationrate=232 > |
---|
| 544 | <attached> |
---|
| 545 | <Billboard position="0,15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 546 | <Billboard position="0,-15,0" material="Examples/Flare" colour="0.8, 0.8, 0.8" scale=0.1/> |
---|
| 547 | </attached> |
---|
| 548 | </MovableEntity> |
---|
[7084] | 549 | |
---|
[7088] | 550 | </attached> |
---|
| 551 | </MovableEntity> |
---|
| 552 | </attached> |
---|
| 553 | </MovableEntity> |
---|
[7084] | 554 | <?lua end ?> |
---|
[7088] | 555 | </attached> |
---|
| 556 | </MovableEntity> |
---|
| 557 | </attached> |
---|
| 558 | </StaticEntity> |
---|
| 559 | |
---|
[7084] | 560 | |
---|
| 561 | <!--TIME MACHINE END____________________________________________________________________________________________________________________________________________________________________--> |
---|
| 562 | |
---|
| 563 | <!--Forcefields_________________________________________________________________________________________________________________________________________________________________________--> |
---|
| 564 | |
---|
| 565 | <!--NO 1--> |
---|
[7088] | 566 | <ForceField position="-2500,0,800" direction="1,0,0" diameter=500 velocity=5000 length=1000 /> |
---|
| 567 | <MovableEntity position="-2500,0,800"> |
---|
| 568 | <attached> |
---|
| 569 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0" scale=2/> |
---|
| 570 | <?lua for i=0,20,1 do ?> |
---|
| 571 | <Billboard position="<?lua print(i*200) ?>,0,-100" material="Examples/Flare" colour="0.5,0,0" scale=1/> |
---|
| 572 | <Billboard position="<?lua print(i*200) ?>,0,100" material="Examples/Flare" colour="0.5,0,0" scale=1/> |
---|
| 573 | <?lua end ?> |
---|
| 574 | </attached> |
---|
| 575 | </MovableEntity> |
---|
[7084] | 576 | <!--NO 2--> |
---|
[7088] | 577 | <ForceField position="2500,0,-800" direction="-1,0,0" diameter=500 velocity=5000 length=1000 /> |
---|
| 578 | <MovableEntity position="2500,0,-800"> |
---|
| 579 | <attached> |
---|
| 580 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0.5,0" scale=2/> |
---|
| 581 | <?lua for i=0,20,1 do ?> |
---|
| 582 | <Billboard position="<?lua print(-i*200) ?>,0,-100" material="Examples/Flare" colour="0,0.5,0" scale=1/> |
---|
| 583 | <Billboard position="<?lua print(-i*200) ?>,0,100" material="Examples/Flare" colour="0,0.5,0" scale=1/> |
---|
| 584 | <?lua end ?> |
---|
| 585 | </attached> |
---|
| 586 | </MovableEntity> |
---|
| 587 | |
---|
[7084] | 588 | <!--NO 3--> |
---|
[7088] | 589 | <ForceField position="-2500,0,-600" direction="0.75,0.5,1" diameter=500 velocity=5000 length=1000 /> |
---|
| 590 | <MovableEntity position="-2500,0,-600"> |
---|
| 591 | <attached> |
---|
| 592 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0,0.5" scale=2/> |
---|
| 593 | <?lua for i=0,20,1 do ?> |
---|
| 594 | <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/> |
---|
| 595 | <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/> |
---|
| 596 | <?lua end ?> |
---|
| 597 | </attached> |
---|
| 598 | </MovableEntity> |
---|
[7084] | 599 | |
---|
| 600 | <!--NO 4--> |
---|
[7088] | 601 | <ForceField position="2500,0,600" direction="-0.75,-0.5,-1" diameter=500 velocity=5000 length=1000 /> |
---|
| 602 | <MovableEntity position="2500,0,600"> |
---|
| 603 | <attached> |
---|
| 604 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0,0.5,0.5" scale=2/> |
---|
| 605 | <?lua for i=0,20,1 do ?> |
---|
| 606 | <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/> |
---|
| 607 | <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/> |
---|
| 608 | <?lua end ?> |
---|
| 609 | </attached> |
---|
| 610 | </MovableEntity> |
---|
[7084] | 611 | |
---|
| 612 | <!--NO 5 (samller)--> |
---|
[7088] | 613 | <ForceField position="0,-500,500" direction="0,1,0" diameter=500 velocity=3000 length=1000 /> |
---|
| 614 | <MovableEntity position="0,-500,500"> |
---|
| 615 | <attached> |
---|
| 616 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.5,0" scale=2/> |
---|
| 617 | <?lua for i=0,15,1 do ?> |
---|
| 618 | <Billboard position="0,<?lua print(i*100) ?>,0" material="Examples/Flare" colour="0.5,0.5,0" scale=1/> |
---|
| 619 | <?lua end ?> |
---|
| 620 | </attached> |
---|
| 621 | </MovableEntity> |
---|
[7084] | 622 | |
---|
| 623 | <!--No 6 (smaller)--> |
---|
[7088] | 624 | <ForceField position="0,500,-500" direction="0,-1,0" diameter=500 velocity=3000 length=1000 /> |
---|
| 625 | <MovableEntity position="0,500,-500"> |
---|
| 626 | <attached> |
---|
| 627 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.3,0.2" scale=2/> |
---|
| 628 | <?lua for i=0,15,1 do ?> |
---|
| 629 | <Billboard position="0,<?lua print(i*(-100)) ?>,0" material="Examples/Flare" colour="0.5,0.3,0.2" scale=1/> |
---|
| 630 | <?lua end ?> |
---|
| 631 | </attached> |
---|
| 632 | </MovableEntity> |
---|
[7084] | 633 | |
---|
| 634 | <!--No 7 (smaller)--> |
---|
[7088] | 635 | <ForceField position="500,0,-500" direction="0,0,1" diameter=500 velocity=2500 length=750 /> |
---|
| 636 | <MovableEntity position="500,0,-500"> |
---|
| 637 | <attached> |
---|
| 638 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.5,0.4,0.6" scale=2/> |
---|
| 639 | <?lua for i=0,8,1 do ?> |
---|
| 640 | <Billboard position="0,0,<?lua print(i*(100)) ?>" material="Examples/Flare" colour="0.5,0.4,0.6" scale=1/> |
---|
| 641 | <?lua end ?> |
---|
| 642 | </attached> |
---|
| 643 | </MovableEntity> |
---|
[7084] | 644 | |
---|
| 645 | <!--No 8 (smaller)--> |
---|
[7088] | 646 | <ForceField position="-500,0,500" direction="0,0,-1" diameter=500 velocity=2500 length=750 /> |
---|
| 647 | <MovableEntity position="-500,0,500"> |
---|
| 648 | <attached> |
---|
| 649 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.7,0.4,0.1" scale=2/> |
---|
| 650 | <?lua for i=0,8,1 do ?> |
---|
| 651 | <Billboard position="0,0,<?lua print(i*(-100)) ?>" material="Examples/Flare" colour="0.7,0.4,0.1" scale=1/> |
---|
| 652 | <?lua end ?> |
---|
| 653 | </attached> |
---|
| 654 | </MovableEntity> |
---|
[7084] | 655 | |
---|
| 656 | <!--Invisible Forcefield (immediatly sends the player to the time machine)--> |
---|
[7088] | 657 | <ForceField position="-2500,2500,800" direction="1,-1,-0.32" diameter=200 velocity=10000 length=880 /> |
---|
| 658 | <Billboard position="-2500,2500,800" material="Examples/Flare" colour="1,1,1" /> <!--This Billboard looks like a star on the Skybox--> |
---|
| 659 | |
---|
| 660 | |
---|
| 661 | </Scene> |
---|
[7084] | 662 | </Level> |
---|