[6920] | 1 | <?lua |
---|
| 2 | include("stats.oxo") |
---|
| 3 | include("hudtemplates3.oxo") |
---|
| 4 | include("underattackhud.oxo") |
---|
| 5 | include("templates/spaceship_assff.oxt") |
---|
| 6 | include("templates/spaceship_pirate.oxt") |
---|
| 7 | include("templates/spaceship_Transporter.oxt") |
---|
| 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 | <!-- Ausgang: Level ===> name/description --> |
---|
| 57 | <Level |
---|
| 58 | name="Level" |
---|
| 59 | description="Level zerstoeren von Transportern" |
---|
| 60 | gametype=TeamDeathmatch |
---|
| 61 | > |
---|
[6935] | 62 | <lodinformation> |
---|
| 63 | <MeshLodInformation mesh=Transporter.mesh lodQuality=10 /> |
---|
| 64 | </lodinformation> |
---|
[6920] | 65 | |
---|
| 66 | <!-- Ausgang: Szene ===> ambientlight/skybox --> |
---|
| 67 | <Scene |
---|
| 68 | ambientlight="0.8,0.8,0.8" |
---|
| 69 | skybox="Orxonox/skypanoramagen1" |
---|
| 70 | > |
---|
| 71 | |
---|
| 72 | <!--Light: noch zu aendern --> |
---|
| 73 | <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" /> |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | <!--*****************************************************************************************************************************************************************************************--> |
---|
| 77 | <!--Quests ==> id/title/description/failMessage/completeMessage--> |
---|
| 78 | <GlobalQuest id="Levelname.nameofQuest1.testsasimplequesttoseehowitworks"> <!--QUESTIDS MUST HAVE AT LEAST 32 CHARACTERS--> |
---|
| 79 | <QuestDescription title="ErkundungsFlug" description="Ein Erkundungsflug durch die Skybox!" failMessage="You failed!" completeMessage="You win!" /> |
---|
| 80 | </GlobalQuest> |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | <!--QuestEnd--> |
---|
| 84 | <!--*****************************************************************************************************************************************************************************************--> |
---|
| 85 | |
---|
| 86 | <!--Spieler Spawnpoint ===> position/direction--> |
---|
[6935] | 87 | <SpawnPoint position="150,0,-50" direction="2000,0,-1000" spawnclass=SpaceShip pawndesign=spaceshipassffplayer team=0 active="true" name=spawn1> |
---|
[6920] | 88 | <events> |
---|
| 89 | <activity> |
---|
[6935] | 90 | <EventListener event="activateFirstSpawnpoint" /> |
---|
[6920] | 91 | </activity> |
---|
| 92 | </events> |
---|
[6935] | 93 | <attached> |
---|
| 94 | <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare"/> |
---|
| 95 | </attached> |
---|
[6920] | 96 | </SpawnPoint> |
---|
| 97 | |
---|
[6935] | 98 | <SpawnPoint position="10000,0,3000" direction="2000,0,-1000" spawnclass=SpaceShip pawndesign=spaceshipassffplayer team=0 active="false" name=spawn2> |
---|
[6920] | 99 | <events> |
---|
| 100 | <activity> |
---|
| 101 | <EventListener event="activateSecondSpawnpoint" /> |
---|
| 102 | </activity> |
---|
| 103 | </events> |
---|
[6935] | 104 | <attached> |
---|
| 105 | <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare"/> |
---|
| 106 | </attached> |
---|
[6920] | 107 | </SpawnPoint> |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | <!--Auslosen der 1 testQuest--> |
---|
| 111 | <!-- Funktioniert noch nicht (Fehler beim mehrfachen Ausfuehren)--> |
---|
| 112 | <!-- <QuestEffectBeacon position="1000,0,0" times="1"> |
---|
| 113 | <effects> |
---|
| 114 | <AddQuest questId="Levelname.nameofQuest1.testsasimplequesttoseehowitworks"/> |
---|
| 115 | </effects> |
---|
| 116 | <events> |
---|
| 117 | <execute> |
---|
| 118 | <EventListener event="Levelnamequest1"/> |
---|
| 119 | </execute> |
---|
| 120 | </events> |
---|
| 121 | <attached> |
---|
| 122 | <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare"/> |
---|
| 123 | <DistanceTrigger name="Levelnamequest1" position="0,0,0" distance="50" target="ControllableEntity"/> |
---|
| 124 | </attached> |
---|
| 125 | </QuestEffectBeacon><!----> |
---|
| 126 | |
---|
| 127 | <!--Erstellen der Transporter________nur noch zwei_________________________________________________________________________________________________________________________________________OK--> |
---|
| 128 | |
---|
| 129 | |
---|
| 130 | <?lua for i=0,0,1 do |
---|
| 131 | x=800 |
---|
| 132 | health=1600 |
---|
| 133 | ?> |
---|
| 134 | <!--Transporter 1 ++ FUNKTIONIERT--> |
---|
| 135 | <EventTrigger name="activateTeam1No1" acitvations=1 stayactive="true"> |
---|
| 136 | <events> |
---|
| 137 | <trigger> |
---|
| 138 | <SpaceShip position="<?lua print(3800-i*x) ?>,0,3000" lookat="<?lua print(4800-i*x) ?>,0,4000" health=<?lua print(health) ?> maxhealth=<?lua print(health) ?> initialhealth=<?lua print(health) ?> > |
---|
| 139 | <templates> |
---|
| 140 | <Template link=spaceshipTransporter /> |
---|
| 141 | </templates> |
---|
| 142 | <controller> |
---|
| 143 | <WaypointPatrolController alertnessradius=1000 team=1> |
---|
| 144 | <waypoints> |
---|
| 145 | <Model mesh="cube.mesh" scale=0 position="<?lua print(14800-i*x) ?>,0,3000"/> |
---|
| 146 | </waypoints> |
---|
| 147 | </WaypointPatrolController> |
---|
| 148 | </controller> |
---|
| 149 | </SpaceShip><!----> |
---|
| 150 | </trigger> |
---|
| 151 | </events> |
---|
| 152 | </EventTrigger> |
---|
| 153 | <?lua end ?> |
---|
| 154 | |
---|
| 155 | |
---|
| 156 | <?lua for j=0,1,1 do |
---|
| 157 | health=1600 |
---|
| 158 | x=800 |
---|
| 159 | z=j*300 |
---|
| 160 | ?> |
---|
| 161 | <!--Transporter 2,3 ++ FUNKTIONIERT--> |
---|
| 162 | <EventTrigger name="activateTeam1No1" acitvations=1 stayactive="true"> |
---|
| 163 | <events> |
---|
| 164 | <trigger> |
---|
| 165 | <SpaceShip position="<?lua print(2600+x) ?>,0,<?lua print(3150-z) ?>" lookat="<?lua print(3500+x) ?>,0,<?lua print(4150-z) ?>" health=<?lua print(health) ?> maxhealth=<?lua print(health) ?> initialhealth=<?lua print(health) ?> > |
---|
| 166 | <templates> |
---|
| 167 | <Template link=spaceshipTransporter /> |
---|
| 168 | </templates> |
---|
| 169 | <controller> |
---|
| 170 | <WaypointPatrolController alertnessradius=1000 team=1> |
---|
| 171 | <waypoints> |
---|
| 172 | <Model mesh="cube.mesh" scale=0 position="<?lua print(13500+x) ?>,0,<?lua print(3150-z) ?>"/> |
---|
| 173 | </waypoints> |
---|
| 174 | </WaypointPatrolController> |
---|
| 175 | </controller> |
---|
| 176 | </SpaceShip><!----> |
---|
| 177 | </trigger> |
---|
| 178 | </events> |
---|
| 179 | </EventTrigger> |
---|
| 180 | <?lua end ?> |
---|
| 181 | |
---|
| 182 | |
---|
| 183 | <!--Erstellen der Transporter______ENDE______________________________________________________________________________________________________________________________________________________--> |
---|
| 184 | |
---|
| 185 | <!--Erstellen der Schiffe des ErkundungsTrupps_____________________________________________________________________________________________________________________________________________OK--> |
---|
| 186 | <!--Spaceships team 0 (player:team=0)FUNKTIONIERT--> |
---|
| 187 | <SpaceShip position="50,0,0" lookat="2050,0,-1000" health="500" maxhealth="500" initialhealth="500" > |
---|
| 188 | <templates> |
---|
| 189 | <Template link=spaceshipassff /> |
---|
| 190 | </templates> |
---|
| 191 | <controller> |
---|
| 192 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 193 | <waypoints> |
---|
| 194 | <Model mesh="cube.mesh" scale=0 position="2050,0,-1000" /> |
---|
| 195 | <Model mesh="cube.mesh" scale=0 position="6050,0,0" /> |
---|
| 196 | <Model mesh="cube.mesh" scale=0 position="10050,0,3000" /> |
---|
| 197 | <Model mesh="cube.mesh" scale=0 position="3050,0,3000" /> |
---|
| 198 | <Model mesh="cube.mesh" scale=0 position="-4050,0,3000" /> |
---|
| 199 | </waypoints> |
---|
| 200 | </WaypointPatrolController> |
---|
| 201 | </controller> |
---|
| 202 | </SpaceShip> |
---|
| 203 | <!--Second Spaceship team 0 (player: team 0)FUNKTIONIERT--> |
---|
| 204 | <SpaceShip position="0,0,100" lookat="2000,0,-950" health="400" maxhealth="400" initialhealth="400" > |
---|
| 205 | <templates> |
---|
| 206 | <Template link=spaceshipassff /> |
---|
| 207 | </templates> |
---|
| 208 | <controller> |
---|
| 209 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 210 | <waypoints> |
---|
| 211 | <Model mesh="cube.mesh" scale=0 position="2000,0,-900" /> |
---|
| 212 | <Model mesh="cube.mesh" scale=0 position="6000,0,0" /> |
---|
| 213 | <Model mesh="cube.mesh" scale=0 position="10000,0,3100" /> |
---|
| 214 | <Model mesh="cube.mesh" scale=0 position="3000,0,3100" /> |
---|
| 215 | <Model mesh="cube.mesh" scale=0 position="-4000,0,3100"/> |
---|
| 216 | </waypoints> |
---|
| 217 | </WaypointPatrolController> |
---|
| 218 | </controller> |
---|
| 219 | </SpaceShip> |
---|
| 220 | <!--third Spaceship team 0 (player: team 0)FUNKTIONIERT--> |
---|
| 221 | <SpaceShip position="0,0,-100" lookat="2000,0,-1050" health="400" maxhealth="400" initialhealth="400" > |
---|
| 222 | <templates> |
---|
| 223 | <Template link=spaceshipassff /> |
---|
| 224 | </templates> |
---|
| 225 | <controller> |
---|
| 226 | <WaypointPatrolController alertnessradius=2000 team=0 > |
---|
| 227 | <waypoints> |
---|
| 228 | <Model mesh="cube.mesh" scale=0 position="2000,0,-1100" /> |
---|
| 229 | <Model mesh="cube.mesh" scale=0 position="6000,0,-100" /> |
---|
| 230 | <Model mesh="cube.mesh" scale=0 position="10000,0,2900" /> |
---|
| 231 | <Model mesh="cube.mesh" scale=0 position="3000,0,2900" /> |
---|
| 232 | <Model mesh="cube.mesh" scale=0 position="-4000,0,2900" /> |
---|
| 233 | </waypoints> |
---|
| 234 | </WaypointPatrolController> |
---|
| 235 | </controller> |
---|
| 236 | </SpaceShip> |
---|
| 237 | <!--Erstellen der Schiffe des ErkundungsTrupps ______ENDE ___________________________________________________________________________________________________________________________________--> |
---|
| 238 | |
---|
| 239 | |
---|
| 240 | <!--Erstellen des Asteroidenfeldes___FUNKTIONIERT_________________________________________________________________________________________________________________________________________OK--> |
---|
| 241 | |
---|
[6935] | 242 | <?lua for i=0,100,1 do |
---|
| 243 | x=math.random(250,4000) |
---|
| 244 | y=math.random(-500,500) |
---|
| 245 | z=math.random(1000,2000) |
---|
| 246 | scale=math.random(20,70) |
---|
| 247 | ?> |
---|
| 248 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>"> |
---|
[6920] | 249 | <attached> |
---|
[6935] | 250 | <Model scale=<?lua print(scale) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/> |
---|
[6920] | 251 | </attached> |
---|
[6935] | 252 | <collisionShapes> |
---|
| 253 | <SphereCollisionShape radius="<?lua print(scale * 3) ?>" /> |
---|
| 254 | </collisionShapes> |
---|
| 255 | </MovableEntity> |
---|
| 256 | <?lua end ?> |
---|
[6920] | 257 | |
---|
| 258 | <!--Erstellen des Ateroidenfeldes______ENDE__________________________________________________________________________________________________________________________________________________--> |
---|
| 259 | |
---|
| 260 | <!--Erstellen von Asteroiden die zufaellig plaziert sind___________________________________________________________________________________________________________________________________OK--> |
---|
| 261 | |
---|
[6935] | 262 | <?lua for i=0,150,1 do |
---|
| 263 | x=math.random(-8000,8000) |
---|
| 264 | y=math.random(-8000,8000) |
---|
| 265 | z=math.random(-8000,8000) |
---|
| 266 | ?> |
---|
| 267 | <MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>" > |
---|
| 268 | <attached> |
---|
| 269 | <Model scale=<?lua print(math.random(20,70)) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/> |
---|
| 270 | </attached> |
---|
| 271 | <collisionShapes> |
---|
| 272 | <SphereCollisionShape radius="<?lua print(scale * 3) ?>" /> |
---|
| 273 | </collisionShapes> |
---|
| 274 | </MovableEntity> |
---|
| 275 | <?lua end ?> |
---|
[6920] | 276 | |
---|
| 277 | <!--Erstellen von Asteroiden die zufaellig plaziert sind______ENDE___________________________________________________________________________________________________________________________--> |
---|
| 278 | |
---|
| 279 | <!--Erstellen der Hilfsschiffe_____________________________________________________________________________________________________________________________________________________________OK--> |
---|
| 280 | <!----> |
---|
| 281 | <!--Trigger to activate this Team (TEAM NO 1)--> |
---|
| 282 | <DistanceTrigger name="activateTeam0No1" position="8000,0,3100" distance="1000" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" activations="1" stayactive="true" /> |
---|
| 283 | |
---|
| 284 | <!--TEAM NO 1 (activationType : distance || killing a spaceship what belongs to TEAM 0 NO 0)--> |
---|
| 285 | <?lua for i=0,9,1 do |
---|
| 286 | x=math.random(-500,500) |
---|
| 287 | y=math.random(-300,300) |
---|
| 288 | z=math.random(-300,300) |
---|
| 289 | ?> |
---|
| 290 | <EventTrigger name="activateTeam0No1" activations=1 stayactive="true"> |
---|
| 291 | <events> |
---|
| 292 | <trigger> |
---|
| 293 | <SpaceShip position="<?lua print(x+4500) ?>,<?lua print(y) ?>,<?lua print(z+6000) ?>" lookat="<?lua print(4000+x) ?>,<?lua print(y) ?>,<?lua print(z+3000) ?>"> |
---|
| 294 | <templates> |
---|
| 295 | <Template link=spaceshipassff /> |
---|
| 296 | </templates> |
---|
| 297 | <controller> |
---|
| 298 | <WaypointPatrolController alertnessradius=2000 team=0 active=false> |
---|
| 299 | <waypoints> |
---|
| 300 | <Model mesh="cube.mesh" scale=0 position="<?lua print(4500+x) ?>,<?lua print(y) ?>,<?lua print(z+3000) ?>" /> |
---|
| 301 | <Model mesh="cube.mesh" scale=0 position="<?lua print(x-4000) ?>,<?lua print(y) ?>,<?lua print(z+3000) ?>" /> |
---|
| 302 | </waypoints> |
---|
| 303 | <events> |
---|
| 304 | <activity> |
---|
| 305 | <EventListener event="activateTeam0No1" /> |
---|
| 306 | </activity> |
---|
| 307 | </events> |
---|
| 308 | </WaypointPatrolController> |
---|
| 309 | </controller> |
---|
| 310 | </SpaceShip> |
---|
| 311 | </trigger> |
---|
| 312 | </events> |
---|
| 313 | </EventTrigger> |
---|
| 314 | |
---|
| 315 | |
---|
| 316 | <?lua end ?> |
---|
| 317 | |
---|
| 318 | <!----> |
---|
| 319 | <!--Erstellen der Hilfsschiffe______ENDE_____________________________________________________________________________________________________________________________________________________--> |
---|
| 320 | |
---|
| 321 | <!--Erstellen von Feinden die den Transportern zu Hilfe eilen_______________________________________________________________________________________________________________________________OK--> |
---|
| 322 | <!----> |
---|
| 323 | <!--TEAM 1 NO 1 (activationType : killing a Transporter || killing a spaceship what belongs to TEAM 1 NO 1)--> |
---|
| 324 | <?lua for i=0,11,1 do |
---|
| 325 | x=math.random(-500,500) |
---|
| 326 | y=math.random(-300,300) |
---|
| 327 | z=math.random(-300,300) |
---|
| 328 | ?> |
---|
| 329 | <EventTrigger name="activateTeam1No1" activations=1 stayactive="true" > |
---|
| 330 | <events> |
---|
| 331 | <trigger> |
---|
| 332 | <SpaceShip position="<?lua print(x-4000) ?>,<?lua print(y) ?>,<?lua print(z+3000) ?>" lookat="<?lua print(4000+x) ?>,<?lua print(y) ?>,<?lua print(z+3000) ?>"> |
---|
| 333 | <templates> |
---|
| 334 | <Template link=spaceshippirate /> |
---|
| 335 | </templates> |
---|
| 336 | <controller> |
---|
| 337 | <WaypointPatrolController alertnessradius=5000 team=1 active=false> |
---|
| 338 | <waypoints> |
---|
| 339 | <Model mesh="cube.mesh" scale=0 position="<?lua print(4000+x) ?>,<?lua print(y) ?>,<?lua print(z+3000) ?>" /> |
---|
| 340 | </waypoints> |
---|
| 341 | <events> |
---|
| 342 | <activity> |
---|
| 343 | <EventListener event="activateTeam1No1" /> |
---|
| 344 | </activity> |
---|
| 345 | </events> |
---|
| 346 | </WaypointPatrolController> |
---|
| 347 | </controller> |
---|
| 348 | </SpaceShip> |
---|
| 349 | </trigger> |
---|
| 350 | </events> |
---|
| 351 | </EventTrigger> |
---|
| 352 | |
---|
| 353 | <?lua end ?> |
---|
| 354 | <!----> |
---|
| 355 | <!--Erstellen von Feinden die dem Transporter zu Hilfe eilen_________________________________________________________________________________________________________________________________--> |
---|
| 356 | |
---|
| 357 | <!--Erstellen von Feinden auf dem Weg zu den Transportern___________________________________________________________________________________(noch besser machen [mehr Feinde/ Koordinierung])--> |
---|
| 358 | <?lua for i=0,1,1 do |
---|
| 359 | z=math.random(-300,300) |
---|
| 360 | ?> |
---|
| 361 | <SpaceShip position="<?lua print(5900+i*100) ?>,0,-3000" lookat="2500,0,-1000"> |
---|
| 362 | <templates> |
---|
| 363 | <Template link=spaceshippirate/> |
---|
| 364 | </templates> |
---|
| 365 | <controller> |
---|
| 366 | <WaypointPatrolController alertnessRadius=1500 team=1> |
---|
| 367 | <waypoints> |
---|
| 368 | <Model mesh="cube.mesh" scale=0 position="<?lua print(2500+100*i) ?>,0,-1000" /> |
---|
| 369 | </waypoints> |
---|
| 370 | </WaypointPatrolController> |
---|
| 371 | </controller> |
---|
| 372 | </SpaceShip> |
---|
| 373 | |
---|
| 374 | |
---|
| 375 | <SpaceShip position="<?lua print(9000) ?>,13000,<?lua print(z*i+3000) ?>" lookat="1000,0,3000"> |
---|
| 376 | <templates> |
---|
| 377 | <Template link=spaceshippirate/> |
---|
| 378 | </templates> |
---|
| 379 | <controller> |
---|
| 380 | <WaypointPatrolController alertnessRadius=1500 team=1> |
---|
| 381 | <waypoints> |
---|
| 382 | <Model mesh="cube.mesh" scale=0 position="<?lua print(10000) ?>,0,<?lua print(3000+z*i) ?>" /> |
---|
| 383 | </waypoints> |
---|
| 384 | </WaypointPatrolController> |
---|
| 385 | </controller> |
---|
| 386 | </SpaceShip> |
---|
| 387 | |
---|
| 388 | <?lua end ?> |
---|
| 389 | |
---|
| 390 | <?lua for i=0,3,1 do ?> |
---|
| 391 | <SpaceShip position="<?lua print(math.random(5500,6500)+2000) ?>,0,1000" lookat="2500,0,-1000"> |
---|
| 392 | <templates> |
---|
| 393 | <Template link=spaceshippirate/> |
---|
| 394 | </templates> |
---|
| 395 | <controller> |
---|
| 396 | <WaypointPatrolController alertnessRadius=1500 team=1> |
---|
| 397 | <waypoints> |
---|
| 398 | <Model mesh="cube.mesh" scale=0 position="<?lua print(math.random(5750,6250)+2000) ?>,0,1250" /> |
---|
| 399 | <Model mesh="cube.mesh" scale=0 position="<?lua print(math.random(5750,6250)+2000) ?>,250,1000" /> |
---|
| 400 | <Model mesh="cube.mesh" scale=0 position="<?lua print(math.random(5750,6250)+2000) ?>,0,1000" /> |
---|
| 401 | </waypoints> |
---|
| 402 | </WaypointPatrolController> |
---|
| 403 | </controller> |
---|
| 404 | </SpaceShip> |
---|
| 405 | <?lua end ?> |
---|
| 406 | <!--Erstellen von Feinden auf dem Weg zu den Transportern______ENDE__________________________________________________________________________________________________________________________--> |
---|
| 407 | |
---|
[6935] | 408 | <Trigger name=activateFirstSpawnpoint invert=true > |
---|
| 409 | <DistanceTrigger name="activateSecondSpawnpoint" position="150,0,-300" distance="10" target="DistanceTriggerBeacon" targetname="PlayerDistanceTrigger" activations="1" stayactive="true"> |
---|
| 410 | <attached> |
---|
| 411 | <Billboard position="0,0,0" colour="0,0,1.0" material="Examples/Flare" /> |
---|
| 412 | </attached> |
---|
| 413 | </DistanceTrigger> |
---|
| 414 | </Trigger> |
---|
[6920] | 415 | |
---|
| 416 | </Scene> |
---|
| 417 | </Level> |
---|
| 418 | |
---|
| 419 | |
---|
| 420 | |
---|
| 421 | |
---|
| 422 | |
---|
| 423 | |
---|
| 424 | |
---|
| 425 | |
---|
| 426 | |
---|
| 427 | |
---|
| 428 | |
---|
| 429 | |
---|