Changeset 9010
- Timestamp:
- Dec 20, 2011, 10:41:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2011/data/levels/presentationHS11.oxw
r9009 r9010 14 14 include("templates/spaceshipAssff.oxt") 15 15 include("templates/spaceshipPirate.oxt") 16 include("templates/spaceshipSwallow.oxt") 16 17 ?> 17 18 18 19 <Level 19 gametype = " TeamGametype"20 gametype = "Mission" 20 21 > 21 22 <templates> … … 29 30 > 30 31 31 <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"/> 32 <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff/> 32 <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"/> 33 33 34 <Script code="formationcontroller formationflight true" onLoad="true"> 35 </Script> <!-- activate formation behaviour--> 34 <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow/> 36 35 37 <Script code="artificialcontroller setbotlevel 0.1" onLoad="true"> 36 <!-- TRIGGERS --> 37 <DistanceTrigger name="FormationInit" position="800,700,600" target="Pawn" distance=60 stayActive="true" delay=0.1 /> 38 <DistanceTrigger name="LetsGo" position="800,700,1000" target="Pawn" distance=60 stayActive="true" delay=0.1 /> 39 40 41 <Script code="formationcontroller formationflight true" onLoad="false"> 42 <events> 43 <trigger> 44 <EventListener event=FormationInit /> 45 </trigger> 46 </events> 47 </Script> <!-- !!! activates formation behaviour !!! --> 48 49 <Script code="artificialcontroller setbotlevel 0.1" onLoad="false"> 50 <events> 51 <trigger> 52 <EventListener event=FormationInit /> 53 </trigger> 54 </events> 38 55 </Script> <!-- make bots "friendly", doesn't work yet :-( --> 39 56 40 <SpaceShip position="1000,-500,2000" lookat="-1300,-600,900" name="attacker" visible="true"> 57 <!-- ADDING FORMATION --> 58 <?lua for i=0,4,1 do 59 ?> 60 <SpaceShip position="<?lua print(400+i*200) ?>,-200,1000" lookat="-1300,-600,900" visible="true"> 41 61 <!--events> 42 62 <visibility> … … 45 65 </events--> 46 66 <templates> 47 <Template link=spaceship assff/> <!--spaceshipTransporter spaceshippirate-->67 <Template link=spaceshipswallow /> <!--spaceshipTransporter spaceshippirate--> 48 68 </templates> 49 69 <controller> 50 70 <AIController team=0> 51 < !--events>71 <events> 52 72 <activity> 53 <EventListener event=" attack" />73 <EventListener event="LetsGo" /> 54 74 </activity> 55 </events -->75 </events> 56 76 </AIController> 57 77 </controller> 58 78 </SpaceShip> 59 79 <?lua end ?> 60 80 61 81 62 82 63 83 <!-- ACTUAL LEVEL --> 84 85 <BlinkingBillboard position="800,700,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,0.05"> 86 87 </BlinkingBillboard> 64 88 65 89 <!-- Generate asteroid field and asteroid belt --> … … 74 98 75 99 76 <!-- asteroidBelt(0, 0, 0, 0, 0, 70, 100, 200, 22000, 20000, 500, 1) -->77 100 </Scene> 78 101 </Level>
Note: See TracChangeset
for help on using the changeset viewer.