- Timestamp:
- May 18, 2009, 3:05:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/media/levels/gametype_underattack.oxw
r5517 r5518 16 16 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 17 17 18 <?lua for i = 1, 30, 1 do ?> 19 <MovableEntity 20 position="<?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>" 21 velocity="<?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>" 22 > 23 <attached> 24 <Model 25 <?lua x = math.random() * 150 + 30 ?> 26 scale="<?lua print(x) ?>" 27 mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" 28 position="0,0,0" 29 /> 30 </attached> 31 <collisionShapes> 32 <SphereCollisionShape radius=<?lua print(x) ?> position="0,0,0" /> 33 </collisionShapes> 34 </MovableEntity> 35 <?lua end ?> 36 37 <Destroyer 38 position = "100,150,0" 39 collisionType = dynamic 40 mass = 1000 41 velocity = "-35,0,0" 42 angularDamping = 0.9999999 43 health = 10000 44 maxhealth = 10000 45 initialhealth = 10000 46 > 18 47 19 <Destroyer 20 position = "100,150,0" 21 collisionType = dynamic 22 mass = 1000 23 velocity = "-35,0,0" 24 angularDamping = 0.9999999 25 health = 10000 26 maxhealth = 10000 27 initialhealth = 10000 28 > 29 30 <attached> 48 <attached> 31 49 <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 32 50 <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> … … 34 52 <TeamSpawnPoint team=1 position="100,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 35 53 <TeamSpawnPoint team=1 position="50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff /> 36 <?lua 37 for i = 1, 100, 1 38 do ?> 39 <TeamSpawnPoint team=0 position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 40 <!--more spawnpoints for team1--> 41 <!--<TeamSpawnPoint team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 42 <?lua end ?>--> 43 44 54 <?lua for i = 1, 100, 1 do ?> 55 <TeamSpawnPoint 56 team=0 57 position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>" 58 lookat="0,0,0" 59 spawnclass=SpaceShip 60 pawndesign=spaceshipassff 61 /> 62 63 <!--more spawnpoints for team1--> 64 <!-- 65 <TeamSpawnPoint 66 team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>" 67 lookat="0,0,0" 68 spawnclass=SpaceShip 69 pawndesign=spaceshipassff 70 />--> 71 <?lua end ?> 72 45 73 <Model mesh="Carrier.mesh" scale="5" /> 46 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 74 <Backlight 75 mainstate=activity 76 active=false 77 scale=0.4 78 name=bltest 79 position=" 7.6, 0, 6" 80 colour="0.2, 0.65, 1.0, 1.0" 81 width=15 82 length=1500 83 lifetime=2 84 elements=50 85 trailmaterial="Trail/backlighttrail" 86 turnontime=1 87 turnofftime=1 88 material="Flares/ThrusterFlare1" 89 /> 47 90 <?lua for i=0,8,1 do ?> 48 <BlinkingBillboard position="<?lua print(200-270/8*i)?> ,15,2" material="Examples/Flare" colour="1.0, 0.5, 0.3" phase=<?lua print(-360/8*i)?> amplitude=0.1 frequency=0.5 quadratic=1 /> 49 <BlinkingBillboard position="<?lua print(200-270/8*i)?>,-15,2" material="Examples/Flare" colour="1.0, 0.5, 0.3" phase=<?lua print(-360/8*i)?> amplitude=0.1 frequency=0.5 quadratic=1 /> 91 <BlinkingBillboard 92 position="<?lua print(200-270/8*i)?> ,15,2" 93 material="Examples/Flare" 94 colour="1.0, 0.5, 0.3" 95 phase=<?lua print(-360/8*i)?> 96 amplitude=0.1 97 frequency=0.5 98 quadratic=1 99 /> 100 101 <BlinkingBillboard 102 position="<?lua print(200-270/8*i)?>,-15,2" 103 material="Examples/Flare" 104 colour="1.0, 0.5, 0.3" 105 phase=<?lua print(-360/8*i)?> 106 amplitude=0.1 107 frequency=0.5 108 quadratic=1 109 /> 50 110 <?lua end ?> 51 <Backlight scale=1 position=" 169, 75, -15" colour="1, 0.85, 0.5, 0.5" width=40 length=1000 lifetime=5 elements=15 trailmaterial="Trail/backlighttrail" material="Examples/Flare" /> 52 <Backlight scale=1 position=" 169, -75, -15" colour="1, 0.85, 0.5, 0.5" width=40 length=1000 lifetime=5 elements=15 trailmaterial="Trail/backlighttrail" material="Examples/Flare" /> 53 </attached> 54 <collisionShapes> 55 <BoxCollisionShape position="70,0,-25" halfExtents="150, 50, 25" /> 56 <BoxCollisionShape position="95,75,-16" halfExtents="70, 10, 12" /> 57 <BoxCollisionShape position="95,-75,-16" halfExtents="70, 10, 12" /> 58 <BoxCollisionShape position="77,47,30" halfExtents="110, 2, 30" /> 59 <BoxCollisionShape position="77,-47,30" halfExtents="110, 2, 30" /> 60 <BoxCollisionShape position="77,0,50" halfExtents="110, 45, 6" /> 61 <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" /> 62 </collisionShapes> 63 </Destroyer> 111 112 <Backlight 113 scale=1 114 position=" 169, 75, -15" 115 colour="1, 0.85, 0.5, 0.5" 116 width=40 117 length=1000 118 lifetime=5 119 elements=15 120 trailmaterial="Trail/backlighttrail" 121 material="Examples/Flare" 122 /> 123 <Backlight 124 scale=1 125 position=" 169, -75, -15" 126 colour="1, 0.85, 0.5, 0.5" 127 width=40 128 length=1000 129 lifetime=5 130 elements=15 131 trailmaterial="Trail/backlighttrail" 132 material="Examples/Flare" /> 133 </attached> 134 <collisionShapes> 135 <BoxCollisionShape position="70,0,-25" halfExtents="150, 50, 25" /> 136 <BoxCollisionShape position="95,75,-16" halfExtents="70, 10, 12" /> 137 <BoxCollisionShape position="95,-75,-16" halfExtents="70, 10, 12" /> 138 <BoxCollisionShape position="77,47,30" halfExtents="110, 2, 30" /> 139 <BoxCollisionShape position="77,-47,30" halfExtents="110, 2, 30" /> 140 <BoxCollisionShape position="77,0,50" halfExtents="110, 45, 6" /> 141 <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" /> 142 </collisionShapes> 143 </Destroyer> 64 144 65 145 <GlobalShader compositor="Bloom" visible=false>
Note: See TracChangeset
for help on using the changeset viewer.