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