Changeset 9582 for code/branches
- Timestamp:
- Mar 26, 2013, 3:27:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/formationupdate/data/levels/maxim.oxw
r9581 r9582 9 9 include("stats.oxo") 10 10 include("HUDTemplates3.oxo") 11 include("templates/lodInformation.oxt") 11 12 ?> 12 13 13 14 <?lua 14 include("templates/lodInformation.oxt")15 15 include("templates/spaceshipAssff.oxt") 16 16 include("templates/spaceshipPirate.oxt") 17 17 include("templates/spaceshipSwallow.oxt") 18 include("templates/ pickupRepresentationTemplates.oxt")18 include("templates/spaceshipTransporter.oxt") 19 19 ?> 20 20 21 21 <Level 22 gametype = " TeamDeathmatch"23 > 22 gametype = "Mission" 23 > 24 24 <templates> 25 25 <Template link=lodtemplate_default /> … … 27 27 <?lua include("includes/notifications.oxi") ?> 28 28 29 <NotificationQueueCEGUI 30 name="narrative" 31 targets="simpleNotification" 32 size=3 33 displayTime=3.9 34 position="0.2, 0, 0.1, 0" 35 fontSize="23" 36 fontColor="0.3, 1, 0.2, 0.8" 37 alignment="HorzCentred" 38 displaySize="0.6, 0, 0, 0" 39 /> 40 29 41 <Scene 30 42 ambientlight = "0.8, 0.8, 0.8" 31 skybox = "Orxonox/ Starbox"43 skybox = "Orxonox/skyBoxMoreNebula" 32 44 > 45 46 <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"/> 47 48 <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow/> 49 50 <!-- TRIGGERS --> 51 <DistanceTrigger name="FormationInit" position="800,700,600" target="Pawn" distance=60 stayActive="true" delay=0.1 /> 52 <BlinkingBillboard colour="1,1,0.05"position="200,-200,1000" frequency=0.6 amplitude=3 material="Flares/lensflare" > 53 </BlinkingBillboard> 33 54 34 55 35 56 36 <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" /> 37 <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow > 38 <controller> 39 <HumanController formationFlight=true team=0 name=formation state_=MASTER /> 40 </controller> 41 </SpawnPoint> 57 58 <Script code="formationcontroller formationflight true" onLoad="false"> 59 <events> 60 <trigger> 61 <EventListener event=FormationInit /> 62 </trigger> 63 </events> 64 </Script> <!-- !!! activates formation behaviour !!! --> 42 65 43 66 44 <?lua 45 for i = 1, 10,1 do46 47 <SpaceShip position="<?lua print(500 + math.random() * 4000 - 2000) ?>,<?lua print(math.random() * 2000 - 1000) ?>,<?lua print(math.random() * 2000 - 1000) ?>">48 <templates>49 <Template link=spaceshippirate /> 50 </templates>51 <controller>52 <AIController formationFlight=true passive=false team=0 name=formation active=true/>53 </controller>54 55 67 <!-- ADDING FORMATION: 5 Swallows --> 68 <?lua for i=0,4,1 do 69 ?> 70 <SpaceShip position="<?lua print(400+i*200) ?>,-200,1000" lookat="-1300,-600,900" visible="true"> 71 <templates> 72 <Template link=spaceshipswallow /> 73 </templates> 74 <controller> 75 <AIController team=1/> 76 </controller> 77 </SpaceShip> 78 <?lua end ?> 56 79 57 <!-- 58 <?lua 59 for i = 1, 10, 1 do 60 ?> 61 <SpaceShip position="<?lua print(math.random() * 4000 - 2000) ?>,<?lua print(0 + math.random() * 2000 - 1000) ?>,<?lua print(math.random() * 2000 - 1000) ?>"> 62 <templates> 63 <Template link=spaceshipassff /> 64 </templates> 65 <controller> 66 <AIController formationFlight=true passive=false team=1 name=formation active=true/> 67 </controller> 68 </SpaceShip> 69 <?lua end ?> 70 --> 71 80 72 81 </Scene> 73 82 </Level> 83
Note: See TracChangeset
for help on using the changeset viewer.