Changeset 7088 for code/branches/presentation3/data
- Timestamp:
- Jun 2, 2010, 9:10:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/data/levels/The Time Machine.oxw
r7084 r7088 1 1 <?lua 2 3 2 include("stats.oxo") 3 include("hudtemplates3.oxo") 4 4 include("templates/lodinformation.oxt") 5 6 5 include("templates/spaceship_assff.oxt") 6 include("templates/spaceship_pirate.oxt") 7 7 ?> 8 8 … … 60 60 <!--CREATING SPAWNPOINTS______________________________________________________________________________________________________________________________________________________________OK--> 61 61 <Level 62 63 64 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 65 65 > 66 66 <templates> 67 67 <Template link=lodtemplate_default /> 68 68 </templates> 69 70 71 72 73 74 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" /> 75 75 76 76 <?lua for i=0,4,1 do 77 77 x=500 78 ?> 79 80 <SpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" direction="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassffplayer />78 ?> 79 80 <TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" direction="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassffplayer /> 81 81 <!--friendly spaceships spawnpoints--> 82 <TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" lookat="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassff />82 <!-- TeamSpawnPoint team=0 position="-4000,0,<?lua print(i*x-1000) ?>" lookat="5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshipassff /--> 83 83 84 84 <!--enemy spaceship spawnpoint--> 85 <TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate />85 <!-- TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate /--> 86 86 <?lua end ?> 87 87 … … 89 89 90 90 91 92 93 94 95 96 91 <!--Triggers (used for the Time Machine effect)_________________________________________________________________________________________________________________________partially working--> 97 98 <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"--> 99 <DistanceTrigger name="EnterTimeMachine" position="0,0,0" distance="100" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" invert=true > 100 <attached> 101 <Billboard position="0,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 102 <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 103 <Billboard position="0,100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 104 <Billboard position="0,0,100" material="Examples/Flare" colour="0, 0, 1" scale=1/> 105 <Billboard position="-100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 106 <Billboard position="0,-100,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> 107 <Billboard position="0,0,-100" material="Examples/Flare" colour="0, 0, 1" scale=1/> 108 </attached> 109 </DistanceTrigger> 110 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> 105 106 <EventTrigger switch=true name=trigger4> 107 <events> 108 <trigger> 109 <EventListener event=BotDied /> 110 </trigger> 111 </events> 112 </EventTrigger> 113 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 111 169 <!--Triggers (used for the Time Machine effect)_____________________________________________________________________________________________________________________________________________--> 112 170 113 171 <!--Creating Spaceships___________________________________________________________________________________________________________________________________________________________________OK--> 114 172 115 173 <?lua for i=0,5,1 do 116 174 y=math.random(-500,500) … … 121 179 addh=100 122 180 ?> 123 <!-- Creation of Bots 124 <EventTrigger name="ActivateAll" stayactive=1 > 125 <events> 126 <trigger> 127 <Bot> 128 <events> 129 <activity> 130 <EventListener event="EnterTimeMachine" /> 131 </activity> 132 </events> 133 </Bot> 134 </trigger> 135 </events> 136 </EventTrigger> 137 --> 138 139 <EventTrigger name="ActivateAll" stayactive=true > 140 <events> 141 <trigger> 142 <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) ?> > 143 <templates> 144 <Template link=spaceshipassff /> 145 </templates> 146 <controller> 147 <WaypointPatrolController alertnessradius=1000 team=0 active=1 > 148 <waypoints> 149 <Model mesh="cube.mesh" scale=0 position="1000,<?lua print(math.random(-1000,1000)) ?>,<?lua print(math.random(-1000,1000)) ?>" /> 150 </waypoints> 151 <events> 152 <activity> 153 <Trigger mode=or > 154 <EventTrigger> 155 <events> 156 <trigger> 157 <EventListener event="EnterTimeMachine" /> 158 </trigger> 159 </events> 160 </EventTrigger> 161 <EventTrigger> 162 <events> 163 <trigger> 164 <EventListener event="ActivateAll" /> 165 </trigger> 166 </events> 167 </EventTrigger> 168 </Trigger> 169 </activity> 170 </events> 171 </WaypointPatrolController> 172 </controller> 173 </SpaceShip> 174 </trigger> 175 </events> 176 </EventTrigger> 177 178 179 180 <EventTrigger name="ActivateAll" stayactive=true> 181 <events> 182 <trigger> 183 <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) ?> > 184 <templates> 185 <Template link=spaceshippirate /> 186 </templates> 187 <controller> 188 <WaypointPatrolController alertnessradius=1000 team=0 active=1 > 189 <waypoints> 190 <Model mesh="cube.mesh" scale=0 position="-1000,<?lua print(math.random(-1000,1000)) ?>, <?lua print(math.random(-1000,1000)) ?>" /> 191 </waypoints> 192 <events> 193 <activity> 194 <Trigger mode=or > 195 <EventTrigger> 196 <events> 197 <trigger> 198 <EventListener event="EnterTimeMachine" /> 199 </trigger> 200 </events> 201 </EventTrigger> 202 <EventTrigger> 203 <events> 204 <trigger> 205 <EventListener event="ActivateAll" /> 206 </trigger> 207 </events> 208 </EventTrigger> 209 </Trigger> 210 </activity> 211 </events> 212 </WaypointPatrolController> 213 </controller> 214 </SpaceShip> 215 </trigger> 216 </events> 217 </EventTrigger> 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> 220 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> 218 259 <?lua end ?> 219 260 … … 221 262 222 263 <!--BILLBOARD IN THE MIDDLE OF THE BATTLEFIELD--> 223 224 264 <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Flares/backlightflare" scale=1 /> 265 225 266 <!--TIME MACHINE____________________________________________________________________________________________________________________________________________________________________________--> 226 227 228 229 267 <StaticEntity> 268 <attached> 269 <MovableEntity position="0,0,0"> 270 <attached> 230 271 <!--MIDDLE--> 231 272 <?lua for i=0,2,1 do ?> 232 <MovableEntityposition="0,0,0" rotationaxis="1,1,0" rotationrate=<?lua print(-255-i*120) ?> >233 234 235 236 237 238 239 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(-245-i*90) ?> >240 241 242 243 244 245 246 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=<?lua print(265+i*110) ?> >247 248 249 250 251 252 253 <MovableEntityposition="0,0,0" rotationaxis="0,1,0" rotationrate=<?lua print(240+i*80) ?> >254 255 256 257 258 259 260 <MovableEntityposition="0,0,0" rotationaxis="1,0,0" rotationrate=<?lua print(232+i*70) ?> >261 262 263 264 265 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> 300 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> 266 307 <?lua end ?> 267 308 … … 269 310 <!--FIRST DISTANT PAIR--> 270 311 <?lua for i=0,1,1 do ?> 271 <MovableEntityposition="0,0,0" rotationaxis="0,1,0" rotationrate=10 >272 273 274 275 276 <MovableEntityposition="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >277 278 279 280 281 282 283 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=-245 >284 285 286 287 288 289 290 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=265 >291 292 293 294 295 296 297 <MovableEntityposition="0,0,0" rotationaxis="0,1,0" rotationrate=240 >298 299 300 301 302 303 304 <MovableEntityposition="0,0,0" rotationaxis="1,0,0" rotationrate=232 >305 306 307 308 309 310 311 312 313 314 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> 323 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> 330 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> 337 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> 344 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> 351 352 </attached> 353 </MovableEntity> 354 </attached> 355 </MovableEntity> 315 356 <?lua end ?> 316 357 <!--SECOND DISTANT PAIR--> 317 358 <?lua for i=0,1,1 do ?> 318 <MovableEntityposition="0,0,0" rotationaxis="1,0,0" rotationrate=8 >319 320 321 322 323 <MovableEntityposition="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >324 325 326 327 328 329 330 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=-245 >331 332 333 334 335 336 337 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=265 >338 339 340 341 342 343 344 <MovableEntityposition="0,0,0" rotationaxis="0,1,0" rotationrate=240 >345 346 347 348 349 350 351 <MovableEntityposition="0,0,0" rotationaxis="1,0,0" rotationrate=232 >352 353 354 355 356 357 358 359 360 361 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> 370 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> 377 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> 384 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> 391 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> 398 399 </attached> 400 </MovableEntity> 401 </attached> 402 </MovableEntity> 362 403 <?lua end ?> 363 404 <!--THIRD DISTANT PAIR--> 364 405 <?lua for i=0,1,1 do ?> 365 <MovableEntityposition="0,0,0" rotationaxis="1,1,0" rotationrate=9 >366 367 368 369 370 <MovableEntityposition="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >371 372 373 374 375 376 377 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=-245 >378 379 380 381 382 383 384 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=265 >385 386 387 388 389 390 391 <MovableEntityposition="0,0,0" rotationaxis="0,1,0" rotationrate=240 >392 393 394 395 396 397 398 <MovableEntityposition="0,0,0" rotationaxis="1,0,0" rotationrate=232 >399 400 401 402 403 404 405 406 407 408 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> 417 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> 424 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> 431 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> 438 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> 445 446 </attached> 447 </MovableEntity> 448 </attached> 449 </MovableEntity> 409 450 <?lua end ?> 410 451 <!--FOURTH DISTANT PAIR--> 411 452 <?lua for i=0,1,1 do ?> 412 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=12 >413 414 415 416 417 <MovableEntityposition="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >418 419 420 421 422 423 424 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=-245 >425 426 427 428 429 430 431 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=265 >432 433 434 435 436 437 438 <MovableEntityposition="0,0,0" rotationaxis="0,1,0" rotationrate=240 >439 440 441 442 443 444 445 <MovableEntityposition="0,0,0" rotationaxis="1,0,0" rotationrate=232 >446 447 448 449 450 451 452 453 454 455 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> 464 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> 471 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> 478 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> 485 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> 492 493 </attached> 494 </MovableEntity> 495 </attached> 496 </MovableEntity> 456 497 <?lua end ?> 457 498 <!--FIFTH DISTANT PAIR--> 458 499 <?lua for i=0,1,1 do ?> 459 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=11 >460 461 462 463 464 <MovableEntityposition="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >465 466 467 468 469 470 471 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=-245 >472 473 474 475 476 477 478 <MovableEntityposition="0,0,0" rotationaxis="1,0,1" rotationrate=265 >479 480 481 482 483 484 485 <MovableEntityposition="0,0,0" rotationaxis="0,1,0" rotationrate=240 >486 487 488 489 490 491 492 <MovableEntityposition="0,0,0" rotationaxis="1,0,0" rotationrate=232 >493 494 495 496 497 498 499 500 501 502 503 <?lua end ?> 504 505 506 507 508 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> 511 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> 518 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> 525 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> 532 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> 539 540 </attached> 541 </MovableEntity> 542 </attached> 543 </MovableEntity> 544 <?lua end ?> 545 </attached> 546 </MovableEntity> 547 </attached> 548 </StaticEntity> 549 509 550 510 551 <!--TIME MACHINE END____________________________________________________________________________________________________________________________________________________________________--> … … 513 554 514 555 <!--NO 1--> 515 516 517 518 519 520 521 522 523 524 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> 525 566 <!--NO 2--> 526 527 528 529 530 531 532 533 534 535 536 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 537 578 <!--NO 3--> 538 539 540 541 542 543 544 545 546 547 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> 548 589 549 590 <!--NO 4--> 550 551 552 553 554 555 556 557 558 559 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> 560 601 561 602 <!--NO 5 (samller)--> 562 563 564 565 566 567 568 569 570 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> 571 612 572 613 <!--No 6 (smaller)--> 573 574 575 576 577 578 579 580 581 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> 582 623 583 624 <!--No 7 (smaller)--> 584 585 586 587 588 589 590 591 592 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> 593 634 594 635 <!--No 8 (smaller)--> 595 596 597 598 599 600 601 602 603 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> 604 645 605 646 <!--Invisible Forcefield (immediatly sends the player to the time machine)--> 606 607 608 609 610 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> 611 652 </Level>
Note: See TracChangeset
for help on using the changeset viewer.