Changeset 5574 for data/media/levels
- Timestamp:
- May 28, 2009, 8:42:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/media/levels/presentation09b.oxw
r5571 r5574 4 4 include("levels/templates/spaceship_assff.oxt") 5 5 include("levels/templates/spaceship_H2.oxt") 6 include("levels/templates/spaceship_pirate.oxt") 6 7 ?> 7 8 … … 9 10 name = "Presentation09" 10 11 description = "presentation level for Orxonox Convention X" 11 12 gametype = TeamDeathmatch 12 13 > 13 14 <Scene … … 17 18 <Light type=directional position="0,0,0" direction="0.683, 0.289, 0.670" diffuse="1.0, 1.0, 1.0, 1.0" specular="1.0, 1.0, 1.0, 1.0" /> 18 19 19 <SpawnPoint position="-4200, 2500, 1200" spawnclass=SpaceShip pawndesign=spaceshipassff /> 20 21 <StaticEntity position="7800, 4000, 3000"> 20 <SpawnPoint position="-3800, 2500, 1500" direction="-0.683, -0.289, -0.670" spawnclass=SpaceShip pawndesign=spaceshipassff /> 21 22 <SpaceShip position="-3900,3000,1000"> 23 <templates> 24 <Template link=spaceshipHtwo/> 25 </templates> 26 <controller> 27 <WaypointPatrolController alertnessradius=100 team=0> 28 <waypoints> 29 <StaticEntity position="-3850,2800,1450" /> 30 </waypoints> 31 </WaypointPatrolController> 32 </controller> 33 </SpaceShip> 34 35 <SpaceShip position="-4100,2600,1600"> 36 <templates> 37 <Template link=spaceshipHtwo/> 38 </templates> 39 <controller> 40 <WaypointPatrolController alertnessradius=100 team=0> 41 <waypoints> 42 <StaticEntity position="-3850,2800,1450" /> 43 </waypoints> 44 </WaypointPatrolController> 45 </controller> 46 </SpaceShip> 47 48 <SpaceShip position="-4000,2500,1500"> 49 <templates> 50 <Template link=spaceshipHtwo/> 51 </templates> 52 <controller> 53 <WaypointPatrolController alertnessradius=100 team=0> 54 <waypoints> 55 <StaticEntity position="-3850,2800,1450" /> 56 </waypoints> 57 </WaypointPatrolController> 58 </controller> 59 </SpaceShip> 60 61 <SpaceShip position="-4100,2700,1500"> 62 <templates> 63 <Template link=spaceshipHtwo/> 64 </templates> 65 <controller> 66 <WaypointPatrolController alertnessradius=100 team=0 /> 67 </controller> 68 </SpaceShip> 69 70 <SpaceShip position="-4150,2750,1550"> 71 <templates> 72 <Template link=spaceshipHtwo/> 73 </templates> 74 <controller> 75 <WaypointPatrolController alertnessradius=100 team=0 /> 76 </controller> 77 </SpaceShip> 78 79 <Billboard position="-2500, 2400, 1500" material="Examples/Flare" /> 80 <EventDispatcher> 81 <targets> 82 <EventTarget name=pirates /> 83 </targets> 84 <events> 85 <activity> 86 <DistanceTrigger position="-2500, 2400, 1500" distance=250 target="SpaceShip" stayactive=true /> 87 </activity> 88 </events> 89 </EventDispatcher> 90 91 <?lua 92 for i = 1, 10, 1 93 do 94 ?> 95 <SpaceShip position="<?lua print(5000 + math.random() * 4000 - 2000) ?>,<?lua print(0 + math.random() * 2000 - 1000) ?>,<?lua print(math.random() * 2000 - 1000) ?>"> 96 <templates> 97 <Template link=spaceshippirate /> 98 </templates> 99 <controller> 100 <WaypointPatrolController name=pirates alertnessradius=1000 team=1 active=false> 101 <waypoints> 102 <StaticEntity position="3100, 2000, 1500" /> 103 </waypoints> 104 </WaypointPatrolController> 105 </controller> 106 </SpaceShip> 107 <?lua 108 end 109 ?> 110 111 <?lua 112 for i = 1, 12, 1 113 do 114 ?> 115 <SpaceShip position="<?lua print(2800 + math.random() * 2000 - 1000) ?>,<?lua print(2500+ math.random() * 1000 - 500) ?>,<?lua print(2500 + math.random() * 1000 - 500) ?>" > 116 <templates> 117 <Template link=spaceshipassff /> 118 </templates> 119 <controller> 120 <WaypointPatrolController alertnessradius=1000 team=0> 121 <waypoints> 122 <StaticEntity position="<?lua print(2800 + math.random() * 1000 - 500) ?>,<?lua print(2500 + math.random() * 1000 - 500) ?>,<?lua print(1500 + math.random() * 1000 - 500) ?>" /> 123 </waypoints> 124 </WaypointPatrolController> 125 </controller> 126 </SpaceShip> 127 <?lua 128 end 129 ?> 130 131 <Billboard position="2300, 4400, 2500" material="Examples/Flare" /> 132 <EventDispatcher> 133 <targets> 134 <EventTarget name=attacker /> 135 </targets> 136 <events> 137 <activity> 138 <DistanceTrigger position="2300, 4400, 2500" distance=50 target="SpaceShip" stayactive=true /> 139 </activity> 140 </events> 141 </EventDispatcher> 142 143 <?lua 144 for i = 1, 12, 1 145 do 146 ?> 147 <SpaceShip position="<?lua print(2500 + math.random() * 500 - 250) ?>,<?lua print(4800 + math.random() * 500 - 250) ?>,<?lua print(2500 + math.random() * 500 - 250) ?>" > 148 <templates> 149 <Template link=spaceshipassff /> 150 </templates> 151 <controller> 152 <WaypointPatrolController name=attacker alertnessradius=1000 team=0 active=false> 153 <waypoints> 154 <StaticEntity position="<?lua print(2800 + math.random() * 500 - 250) ?>,<?lua print(2500 + math.random() * 500 - 250) ?>,<?lua print(1500 + math.random() * 500 - 250) ?>" /> 155 <StaticEntity position="<?lua print(5000 + math.random() * 500 - 250) ?>,<?lua print(0 + math.random() * 500 - 250) ?>,<?lua print(0 + math.random() * 500 - 250) ?>" /> 156 <StaticEntity position="<?lua print(7500 + math.random() * 500 - 250) ?>,<?lua print(-2500 + math.random() * 500 - 250) ?>,<?lua print(-1500 + math.random() * 500 - 250) ?>" /> 157 </waypoints> 158 </WaypointPatrolController> 159 </controller> 160 </SpaceShip> 161 <?lua 162 end 163 ?> 164 165 <StaticEntity position="2800, 2500, 2500"> 22 166 <attached> 167 <CheckPoint /> 23 168 <Model position="400, 0, 0" scale="40" mesh="DuBall2.mesh"/> 24 169 <Model position="-400, 0, 0" scale="40" mesh="DuBall1.mesh"/> 25 170 </attached> 26 171 </StaticEntity> 27 28 < MovableEntity position="7000, -4000, -2000" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=500>172 <!-- 173 <Destroyer position="6500, -2000, -1000" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=500> 29 174 <attached> 175 <CheckPoint /> 30 176 <Model position="0,0,0" scale="5" mesh="Carrier.mesh"/> 31 177 <Backlight … … 55 201 <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" /> 56 202 </collisionShapes> 57 </MovableEntity> 203 </Destroyer> 204 --> 205 <Destroyer 206 position = "6500,-2000,-1000" 207 collisionType = dynamic 208 mass = 100000 209 angularDamping = 0.9999999 210 health = 1000 211 maxhealth = 1000 212 initialhealth = 1000 213 > 214 <controller> 215 <WaypointPatrolController team=1 /> 216 </controller> 217 <attached> 218 <Model mesh="Carrier.mesh" scale="5" /> 219 <Backlight 220 mainstate=activity 221 active=false 222 scale=0.4 223 name=bltest 224 position=" 7.6, 0, 6" 225 colour="0.2, 0.65, 1.0, 1.0" 226 width=15 227 length=1500 228 lifetime=2 229 elements=50 230 trailmaterial="Trail/backlighttrail" 231 turnontime=1 232 turnofftime=1 233 material="Flares/ThrusterFlare1" 234 /> 235 <?lua for i=0,8,1 do ?> 236 <BlinkingBillboard 237 position="<?lua print(200-270/8*i)?> ,15,2" 238 material="Examples/Flare" 239 colour="1.0, 0.5, 0.3" 240 phase=<?lua print(-360/8*i)?> 241 amplitude=0.1 242 frequency=0.5 243 quadratic=1 244 /> 245 246 <BlinkingBillboard 247 position="<?lua print(200-270/8*i)?>,-15,2" 248 material="Examples/Flare" 249 colour="1.0, 0.5, 0.3" 250 phase=<?lua print(-360/8*i)?> 251 amplitude=0.1 252 frequency=0.5 253 quadratic=1 254 /> 255 <?lua end ?> 256 257 <Backlight 258 scale=1 259 position=" 169, 75, -15" 260 colour="1, 0.85, 0.5, 0.5" 261 width=40 262 length=1000 263 lifetime=5 264 elements=15 265 trailmaterial="Trail/backlighttrail" 266 material="Examples/Flare" 267 /> 268 <Backlight 269 scale=1 270 position=" 169, -75, -15" 271 colour="1, 0.85, 0.5, 0.5" 272 width=40 273 length=1000 274 lifetime=5 275 elements=15 276 trailmaterial="Trail/backlighttrail" 277 material="Examples/Flare" /> 278 </attached> 279 <collisionShapes> 280 <BoxCollisionShape position="70,0,-25" halfExtents="150, 50, 25" /> 281 <BoxCollisionShape position="95,75,-16" halfExtents="70, 10, 12" /> 282 <BoxCollisionShape position="95,-75,-16" halfExtents="70, 10, 12" /> 283 <BoxCollisionShape position="77,47,30" halfExtents="110, 2, 30" /> 284 <BoxCollisionShape position="77,-47,30" halfExtents="110, 2, 30" /> 285 <BoxCollisionShape position="77,0,50" halfExtents="110, 45, 6" /> 286 <BoxCollisionShape position="167,0,70" halfExtents="17, 20, 20" /> 287 </collisionShapes> 288 </Destroyer> 289 290 <?lua 291 for i = 1, 10, 1 292 do 293 ?> 294 <SpaceShip position="<?lua print(6200 + math.random() * 2000 - 1000) ?>,<?lua print(-1500 + math.random() * 1000 - 500) ?>,<?lua print(-700 + math.random() * 1000 - 500) ?>" > 295 <templates> 296 <Template link=spaceshippirate /> 297 </templates> 298 <controller> 299 <WaypointPatrolController alertnessradius=1000 team=1> 300 <waypoints> 301 <StaticEntity position="<?lua print(6000 + math.random() * 1000 - 500) ?>,<?lua print(-2000 + math.random() * 1000 - 500) ?>,<?lua print(-1000 + math.random() * 1000 - 500) ?>" /> 302 </waypoints> 303 </WaypointPatrolController> 304 </controller> 305 </SpaceShip> 306 <?lua 307 end 308 ?> 309 58 310 <?lua 59 311 for i = 1, 200, 1 60 312 do 61 x = math.random() * 100 + (i- 50) * 100313 x = math.random() * 100 + (i-70) * 100 62 314 y = math.random() * 3000 - 1500 63 315 z = math.random() * 3000 - 1500 + (i-100) * 10 64 s = math.random() * 100 + 50316 s = math.random() * 60 + 30 65 317 ?> 66 318
Note: See TracChangeset
for help on using the changeset viewer.