Changeset 9878
- Timestamp:
- Dec 9, 2013, 2:07:55 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelKaan/data/levels/Level_01.oxw
r9836 r9878 59 59 <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"/> 60 60 61 <TeamSpawnPoint team=0 position="0, 94000,0" direction="-1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort/> <!--spaceshipescort-->61 <TeamSpawnPoint team=0 position="0,0,0" direction="1,1,1" spawnclass=SpaceShip pawndesign=spaceshipescort/> <!--spaceshipescort--> 62 62 63 63 … … 71 71 72 72 <!-- @Objects: HYDROGEN FARMER & DOCKING --> 73 <SpaceShip73 <!-- <SpaceShip 74 74 team = 0 75 position = " 5000,5100,5000"75 position = "-4000,4100,4000" 76 76 roll = 90 yaw=0 pitch=20 77 77 mass = 10000 78 78 health = 100000 initialhealth=100000 maxhealth="100000" 79 79 name = "HydroFarmer" 80 radarname = "Hydro Farmer" >80 radarname = "Hydrogen Farmer" > 81 81 <attached> 82 82 <!-- Docking --> 83 <DistanceTriggerBeacon name="bcnDestroyer" />83 <!-- <DistanceTriggerBeacon name="bcnDestroyer" /> 84 84 <DockingTarget name="destroyer" /> 85 85 … … 101 101 <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> 102 102 <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> 103 </attached>103 <!-- </attached> 104 104 <collisionShapes> 105 105 <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> 106 <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 />106 <!-- <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> 107 107 <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> 108 108 <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> 109 <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 />109 <!-- <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> 110 110 <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> 111 111 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> 112 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 />112 <!-- <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> 113 113 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> 114 114 <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> 115 <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->116 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 />115 <!-- <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> 116 <!-- <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> 117 117 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> 118 118 <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> 119 <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />119 <!-- <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> 120 120 <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> 121 121 </collisionShapes> 122 122 </SpaceShip> 123 123 124 <Dock position=" 5000,5000,5000" roll=90 yaw=180 >124 <Dock position="-4000,4000,4000" roll=90 yaw=180 > 125 125 <animations> 126 126 <MoveToDockingTarget target="destroyer" /> … … 143 143 </attached> 144 144 145 </Dock> 145 </Dock> ->> 146 146 147 147 <!--@Objects: SpaceCruiser as docking target --> 148 <SpaceShip148 <!-- <SpaceShip 149 149 template = "spaceshipcollateraldamage" 150 150 team = "0" 151 position = " 5000,5800,5000"151 position = "-4000,4800,4000" 152 152 orientation = "-0.14, 0.68, 0.68, 0.223" 153 153 health = "400" … … 167 167 </SpaceShip> 168 168 169 170 <BlinkingBillboard position="1000,1000,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 169 <BlinkingBillboard position="-3800,4800,4000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 170 <events> 171 <visibility> 172 <EventListener event=dockMe /> 173 </visibility> 174 </events> 175 </BlinkingBillboard> 176 177 <BlinkingBillboard position="-500,500,500" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 171 178 <events> 172 179 <visibility> … … 181 188 </events> 182 189 </BlinkingBillboard> 183 <Billboard position=" 1000,1000,1000" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">190 <Billboard position="-500,500,500" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> 184 191 <events> 185 192 <visibility> … … 195 202 </Billboard> 196 203 197 <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay= 1/>198 <SimpleNotification message="H ousten: John Vane do you hear us">204 <DistanceTrigger name="flying1" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=4/> 205 <SimpleNotification message="Hey Rookie.. We got a new mission for you."> 199 206 <events> 200 207 <trigger> … … 204 211 </SimpleNotification> 205 212 206 <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=100 stayActive="true" delay=4/>207 <SimpleNotification message="Housten: We got a new mission for you">213 <DistanceTrigger name="flying2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=8/> 214 <SimpleNotification message="Go to the main station for more information."> 208 215 <events> 209 216 <trigger> … … 211 218 </trigger> 212 219 </events> 213 </SimpleNotification> 214 215 216 <DistanceTrigger name="flying3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=7/> 217 <SimpleNotification message="John: I hear you. What is it about"> 220 </SimpleNotification> 221 222 <DistanceTrigger name="flying3" position="-500,500, 500" target="Pawn" distance=100 stayActive="true" delay=3/> 223 <SimpleNotification message="Our Commander got kidnapped in District 69"> 218 224 <events> 219 225 <trigger> … … 223 229 </SimpleNotification> 224 230 225 <DistanceTrigger name="flying4" position=" 1000,1000, 1000" target="Pawn" distance=100 stayActive="true" delay=1/>226 <SimpleNotification message=" Housten: Our Commander got kidnapped in Area 51">231 <DistanceTrigger name="flying4" position="-500,500, 500" target="Pawn" distance=100 stayActive="true" delay=7/> 232 <SimpleNotification message="We need you to rescue him."> 227 233 <events> 228 234 <trigger> … … 232 238 </SimpleNotification> 233 239 234 <DistanceTrigger name="flying5" position="1000,1000, 1000" target="Pawn" distance=100 stayActive="true" delay=4/>235 <SimpleNotification message=" Housten: We need you to rescue him.">240 <DistanceTrigger name="flying5" position="-500,500,500" target="Pawn" distance=100 stayActive="true" delay=11/> 241 <SimpleNotification message="Dock on the station to get a better ship."> 236 242 <events> 237 243 <trigger> … … 240 246 </events> 241 247 </SimpleNotification> 242 243 <DistanceTrigger name="flying6" position="1000,1000, 1000" target="Pawn" distance=100 stayActive="true" delay=7/> 244 <SimpleNotification message="John: I'm right on the way."> 245 <events> 246 <trigger> 247 <EventListener event="flying6" /> 248 </trigger> 249 </events> 250 </SimpleNotification> 251 252 253 <DistanceTrigger name="flying5" position="1000,1000,1000" target="Pawn" distance=100 stayActive="true" delay=10/> 254 <SimpleNotification message="Houston: First dock on the station"> 255 <events> 256 <trigger> 257 <EventListener event="flying5" /> 258 </trigger> 259 </events> 260 </SimpleNotification> 261 248 --> 262 249 263 250 <!-----------------------------------------------------------------------------------------------------> … … 268 255 <!------------------------------------- OBJECTS IN THIS PART ------------------------------------------> 269 256 270 <Model position="-4000, 2800, 4000" yaw="90" pitch="-90" roll="90" scale="3" mesh="satellite.mesh" />257 <!-- <Model position="-4000, 2800, 4000" yaw="90" pitch="-90" roll="90" scale="3" mesh="satellite.mesh" /> 271 258 272 259 <Template name=PortalDefault> … … 296 283 position = "<?lua print(math.random()* 1500-750) ?>,<?lua print(math.random() * 10000 + 95000) ?>,<?lua print(math.random() * 1500-750) ?>" 297 284 scale = "<?lua print(j * 40)?>" 298 velocity = " <?lua print(j*30)?>, <?lua print(-100, <?lua print(j*30)?>"285 velocity = "0, -180, 0" 299 286 collisionType = dynamic 300 287 collisiondamage = 0.1 … … 317 304 <collisionShapes> 318 305 <SphereCollisionShape radius="<?lua print(j * 50) ?>" /> 319 </collisionShapes> -->306 </collisionShapes> 320 307 </MovableEntity> 321 308 … … 324 311 ?> 325 312 326 <DistanceTrigger name="start" position="0,94000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=20 stayActive="true" delay=0 /> 327 328 <DistanceTrigger name="portal2" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=3/> 329 <SimpleNotification message="Housten: Now go through the portal!"> 330 <events> 331 <trigger> 332 <EventListener event="portal2" /> 333 </trigger> 334 </events> 335 </SimpleNotification> 336 337 338 313 <!-- <DistanceTrigger name="start" position="0,94000,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=20 stayActive="true" delay=0 /> 314 315 <DistanceTrigger name="portal1" position="-4000,4000,4000" target="Pawn" distance=50 stayActive="true" delay=3/> 316 <SimpleNotification message="Now go to the portal next to the satellite"> 317 <events> 318 <trigger> 319 <EventListener event="portal1" /> 320 </trigger> 321 </events> 322 </SimpleNotification> 323 324 <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=3/> 325 <SimpleNotification message="Reach the wormhole to District 69"> 326 <events> 327 <trigger> 328 <EventListener event="portal3" /> 329 </trigger> 330 </events> 331 </SimpleNotification> 332 333 <SimpleNotification message="Take the lead of the formation"> 334 <events> 335 <trigger> 336 <EventListener event="endOfLevel" /> 337 </trigger> 338 </events> 339 </SimpleNotification> 339 340 340 341 <!-----------------------------------------------------------------------------------------------------> 341 342 <!--------------------------- PART TWO: Passing throug area with meteorits ----------------------------> 342 343 <!-----------------------------------------------------------------------------------------------------> 343 344 <!--<?lua for i=0,2,1 do345 ?>346 347 <SpaceShip348 position="-50+i*50, 94200, 0"349 >350 <templates>351 <Template link=spaceshipcollateraldamage />352 </templates>353 <controller>354 <AIController team=0>355 <events>356 <activity>357 <EventListener event="start" />358 </activity>359 </events>360 </AIController>361 </controller>362 <attached>363 <DistanceTriggerBeacon name="SpaceShipSupport" />364 <DistanceTriggerBeacon name="bcnDestroyer" />365 </attached>366 </SpaceShip>367 368 <?lua end ?>369 370 <Script code="humancontroller toggleFormationFlight" onLoad="false">371 <events>372 <trigger>373 <EventListener event="start" />374 </trigger>375 </events>376 </Script>377 378 <Script code="formationcontroller formationflight true" onLoad="false">379 <events>380 <trigger>381 <EventListener event=start />382 </trigger>383 </events>384 </Script> <!-- !!! activates formation behaviour !!! -->385 386 <!-- <Script code="formationcontroller followme">387 <events>388 <trigger>389 <EventListener event=start />390 </trigger>391 </events>392 </Script> <!-- !!! activates formation behaviour !!! -->393 394 <!-- <Script code="artificialcontroller setbotlevel 5" onLoad="false">395 <events>396 <trigger>397 <EventListener event=start />398 </trigger>399 </events>400 </Script> -->401 344 402 < SpaceShip345 <!--<SpaceShip 403 346 team = 0 404 347 position = "0,106000,0" … … 409 352 radarname = "Wormhole to District 69" > 410 353 <attached> 411 <DistanceTriggerBeacon name="bcnDestroyer" /> 354 <!-- Docking --> 355 <!-- <DistanceTriggerBeacon name="bcnDestroyer" /> 412 356 <Billboard position="0,0,0" material="Portals/Default" /> 413 357 <DistanceTrigger name="endOfLevel" position="0,0,0" target="SpaceShip" beaconMode="exclude" targetname="bcnDestroyer" distance=50 stayActive="true" delay=0/> … … 430 374 <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/> 431 375 <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> --> 432 </attached>376 <!-- </attached> 433 377 <collisionShapes> 434 378 <BoxCollisionShape position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes --> 435 <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 />379 <!-- <BoxCollisionShape position="290,0,-480" halfExtents="115,100,245" yaw=-120 /> 436 380 <BoxCollisionShape position="290,0,480" halfExtents="115,100,245" yaw=-240 /> 437 381 <BoxCollisionShape position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections --> 438 <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 />382 <!-- <BoxCollisionShape position="140,0,-240" halfExtents="163,50,50" yaw=-120 /> 439 383 <BoxCollisionShape position="140,0,240" halfExtents="163,50,50" yaw=-240 /> 440 384 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower --> 441 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 />385 <!-- <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-120 /> 442 386 <BoxCollisionShape position="0,530,0" halfExtents="172,52,298" yaw=-240 /> 443 387 <BoxCollisionShape position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one--> 444 <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->445 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 />388 <!-- <BoxCollisionShape position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs --> 389 <!-- <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=-30 /> 446 390 <BoxCollisionShape position="100,100,-173" halfExtents="43,50,26" yaw=30 /> 447 391 <BoxCollisionShape position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs --> 448 <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />392 <!-- <BoxCollisionShape position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 /> 449 393 <BoxCollisionShape position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 /> 450 394 </collisionShapes> 451 395 </SpaceShip> 452 396 453 <DistanceTrigger name="portal3" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=1/>454 <SimpleNotification message="Housten: Reach the wormhole to Area 51">455 <events>456 <trigger>457 <EventListener event="portal3"458 </trigger>459 </events>460 </SimpleNotification>461 462 <DistanceTrigger name="portal4" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=4/>463 <SimpleNotification message="Housten: Hurry up John">464 <events>465 <trigger>466 <EventListener event="portal4"467 </trigger>468 </events>469 </SimpleNotification>470 471 <DistanceTrigger name="portal5" position="0,94000,0" target="SpaceShip" distance=50 stayActive="true" delay=7/>472 <SimpleNotification message="We ">473 <events>474 <trigger>475 <EventListener event="portal5"476 </trigger>477 </events>478 </SimpleNotification>479 480 481 482 397 <SimpleNotification message="End of game"> 483 398 <events> … … 494 409 </trigger> 495 410 </events> 496 </Script> 411 </Script> --> 497 412 498 413 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.