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