Changeset 7673 for code/trunk/data
- Timestamp:
- Nov 25, 2010, 11:24:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/levels/The Time Machine.oxw
r7648 r7673 2 2 name = "The Time Machine" 3 3 description = "A simple level. The only goal is to defeat as much enemies as you can." 4 tags = " "4 tags = "singleplayer" 5 5 /> 6 6 … … 43 43 <BlinkingBillboard position="17,-1.5,0" material="Examples/Flare" colour="1.0, 0.5, 0.3" amplitude=0.1 frequency=0.5 quadratic=1 /> 44 44 <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 /> 45 <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> <!--added DistanceTrigger -->45 <DistanceTriggerBeacon name="PlayerDistanceTrigger" /> <!--added DistanceTriggerBeacon--> 46 46 </attached> 47 47 <collisionShapes> … … 61 61 <!--*****************************************************************************************************************************************************************************************--> 62 62 63 64 65 66 <!--CREATING SPAWNPOINTS______________________________________________________________________________________________________________________________________________________________OK-->67 63 <Level 68 64 name="The Time Machine" … … 70 66 gametype=TeamDeathmatch 71 67 > 72 <templates>73 <Template link=lodtemplate_default />74 </templates>68 <templates> 69 <Template link=lodtemplate_default /> 70 </templates> 75 71 <Scene 76 72 ambientlight="0.8,0.8,0.8" … … 80 76 <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" /> 81 77 78 <!--CREATING SPAWNPOINTS_____________________________________________________________________________________________________________________________________________________________________--> 82 79 <?lua for i=0,4,1 do 83 x=50080 x=500 84 81 ?> 85 82 … … 89 86 90 87 <!--enemy spaceship spawnpoint--> 91 <!-- 88 <!--TeamSpawnPoint team=1 position="4000,0,<?lua print(i*x-1000) ?>" lookat="-5000,0,<?lua print(i*x-1000) ?>" spawnclass=SpaceShip pawndesign=spaceshippirate /--> 92 89 <?lua end ?> 93 90 … … 95 92 96 93 97 <!--Triggers (used for the Time Machine effect)_________________________________________________________________________________________________________________________ partially working-->94 <!--Triggers (used for the Time Machine effect)___________________________________________________________________________________________________________________________________________--> 98 95 99 96 <!--TRIGGERS IF THE PLAYERS REACHES THE "TIME MACHINE"--> … … 144 141 </Trigger> 145 142 146 <!-- This Trigger is true if fthe player is in the TimeMachine and has shot another player -->143 <!-- This Trigger is true if the player is in the TimeMachine and has shot another player --> 147 144 <EventTrigger name=trigger2 switch=true > 148 145 <events> … … 175 172 <!--Triggers (used for the Time Machine effect)_____________________________________________________________________________________________________________________________________________--> 176 173 177 <!--Creating Spaceships___________________________________________________________________________________________________________________________________________________________________ OK-->174 <!--Creating Spaceships_____________________________________________________________________________________________________________________________________________________________________--> 178 175 179 176 <?lua for i=0,5,1 do 180 y=math.random(-500,500)181 z=math.random(-1000,1000)182 y2=math.random(-500,500)183 z2=math.random(-1000,1000)184 health=230185 addh=100177 y=math.random(-500,500) 178 z=math.random(-1000,1000) 179 y2=math.random(-500,500) 180 z2=math.random(-1000,1000) 181 health=230 182 addh=100 186 183 ?> 187 184 … … 265 262 <?lua end ?> 266 263 267 <!--Creating Spaceships_____END___________________________________________________________________________________________________________________________________________________________ OK-->264 <!--Creating Spaceships_____END_____________________________________________________________________________________________________________________________________________________________--> 268 265 269 266 <!--BILLBOARD IN THE MIDDLE OF THE BATTLEFIELD--> … … 320 317 <MovableEntity position="<?lua print(1500-3000*i) ?>,0,0"> 321 318 <attached> 319 <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> 322 320 <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> 323 321 <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > … … 367 365 <MovableEntity position="0,<?lua print(1500-3000*i) ?>,0"> 368 366 <attached> 367 <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> 369 368 <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> 370 369 <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > … … 414 413 <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> 415 414 <attached> 415 <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> 416 416 <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> 417 417 <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > … … 461 461 <MovableEntity position="<?lua print(1000-2000*i) ?>,<?lua print(-1000+2000*i) ?>,0"> 462 462 <attached> 463 <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> 463 464 <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> 464 465 <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 > … … 508 509 <MovableEntity position="<?lua print(1000-2000*i) ?>,0,<?lua print(-1000+2000*i) ?>"> 509 510 <attached> 511 <ForceField position="0,0,0" mode="sphere" diameter=500 velocity=100000 /> 510 512 <Billboard position="0,0,0" material="Examples/Flare" colour="1.0,1.0,1.0" scale=0.3/> 511 513 <MovableEntity position="0,0,0" rotationaxis="1,1,0" rotationrate=-255 >
Note: See TracChangeset
for help on using the changeset viewer.