[9006] | 1 | <LevelInfo |
---|
| 2 | name = "Presentation HS 2011" |
---|
| 3 | description = "Oxonox Proudly Presents New Features From HS 2011" |
---|
| 4 | tags = "presentation" |
---|
| 5 | /> |
---|
| 6 | |
---|
| 7 | <?lua |
---|
| 8 | include("stats.oxo") |
---|
| 9 | include("HUDTemplates3.oxo") |
---|
| 10 | include("templates/lodInformation.oxt") |
---|
| 11 | ?> |
---|
| 12 | |
---|
| 13 | <?lua |
---|
| 14 | include("templates/spaceshipAssff.oxt") |
---|
| 15 | include("templates/spaceshipPirate.oxt") |
---|
[9010] | 16 | include("templates/spaceshipSwallow.oxt") |
---|
[9012] | 17 | include("templates/spaceshipTransporter.oxt") |
---|
[9006] | 18 | ?> |
---|
| 19 | |
---|
[9009] | 20 | <Level |
---|
[9010] | 21 | gametype = "Mission" |
---|
[9012] | 22 | > <!--ALTERNATIVE: TeamGametype--> |
---|
[9006] | 23 | <templates> |
---|
| 24 | <Template link=lodtemplate_default /> |
---|
| 25 | </templates> |
---|
| 26 | <?lua include("includes/notifications.oxi") ?> |
---|
| 27 | |
---|
[9012] | 28 | <NotificationQueueCEGUI |
---|
| 29 | name="narrative" |
---|
| 30 | targets="simpleNotification" |
---|
| 31 | size=3 |
---|
| 32 | displayTime=3.9 |
---|
| 33 | position="0.2, 0, 0.1, 0" |
---|
| 34 | fontSize="23" |
---|
| 35 | fontColor="0.3, 1, 0.2, 0.8" |
---|
| 36 | alignment="HorzCentred" |
---|
| 37 | displaySize="0.6, 0, 0, 0" |
---|
| 38 | /> |
---|
| 39 | |
---|
[9006] | 40 | <Scene |
---|
| 41 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 42 | skybox = "Orxonox/skyBoxMoreNebula" |
---|
| 43 | > |
---|
| 44 | |
---|
[9010] | 45 | <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"/> |
---|
[9006] | 46 | |
---|
[9010] | 47 | <TeamSpawnPoint team=0 position="800,700,600" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow/> |
---|
[9006] | 48 | |
---|
[9010] | 49 | <!-- TRIGGERS --> |
---|
| 50 | <DistanceTrigger name="FormationInit" position="800,700,600" target="Pawn" distance=60 stayActive="true" delay=0.1 /> |
---|
[9012] | 51 | <DistanceTrigger name="LetsGo" position="200,-200,1000" target="Pawn" distance=180 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> |
---|
[9010] | 54 | |
---|
| 55 | |
---|
[9012] | 56 | |
---|
| 57 | |
---|
[9010] | 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 !!! --> |
---|
| 65 | |
---|
| 66 | <Script code="artificialcontroller setbotlevel 0.1" onLoad="false"> |
---|
| 67 | <events> |
---|
| 68 | <trigger> |
---|
| 69 | <EventListener event=FormationInit /> |
---|
| 70 | </trigger> |
---|
| 71 | </events> |
---|
[9008] | 72 | </Script> <!-- make bots "friendly", doesn't work yet :-( --> |
---|
| 73 | |
---|
[9012] | 74 | <SimpleNotification message="Let's go!"> |
---|
| 75 | <events> |
---|
| 76 | <trigger> |
---|
| 77 | <EventListener event="LetsGo" /> |
---|
| 78 | </trigger> |
---|
| 79 | </events> |
---|
| 80 | </SimpleNotification> |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | <!-- ADDING FORMATION: 5 Swallows --> |
---|
[9010] | 84 | <?lua for i=0,4,1 do |
---|
| 85 | ?> |
---|
| 86 | <SpaceShip position="<?lua print(400+i*200) ?>,-200,1000" lookat="-1300,-600,900" visible="true"> |
---|
[9008] | 87 | <!--events> |
---|
| 88 | <visibility> |
---|
| 89 | <EventListener event="ondock" /> |
---|
| 90 | </visibility> |
---|
| 91 | </events--> |
---|
| 92 | <templates> |
---|
[9010] | 93 | <Template link=spaceshipswallow /> <!--spaceshipTransporter spaceshippirate--> |
---|
[9008] | 94 | </templates> |
---|
| 95 | <controller> |
---|
| 96 | <AIController team=0> |
---|
[9010] | 97 | <events> |
---|
[9008] | 98 | <activity> |
---|
[9010] | 99 | <EventListener event="LetsGo" /> |
---|
[9008] | 100 | </activity> |
---|
[9010] | 101 | </events> |
---|
[9008] | 102 | </AIController> |
---|
| 103 | </controller> |
---|
| 104 | </SpaceShip> |
---|
[9010] | 105 | <?lua end ?> |
---|
[9008] | 106 | |
---|
[9013] | 107 | <?lua for i=0,2,1 do |
---|
| 108 | ?> |
---|
[9008] | 109 | |
---|
[9013] | 110 | |
---|
| 111 | <!-- ENEMY TRANSPORTER --> |
---|
| 112 | <SpaceShip position="<?lua print(-400+i*200) ?>,3000,-2000" lookat="-1300,-600,900" visible="true"> |
---|
[9012] | 113 | <!--events> |
---|
| 114 | <visibility> |
---|
[9013] | 115 | <EventListener event="LetsGo" /> |
---|
[9012] | 116 | </visibility> |
---|
| 117 | </events--> |
---|
| 118 | <templates> |
---|
| 119 | <Template link=spaceshipTransporter /> |
---|
| 120 | </templates> |
---|
| 121 | <controller> |
---|
| 122 | <AIController team=1> |
---|
| 123 | <events> |
---|
| 124 | <activity> |
---|
| 125 | <EventListener event="LetsGo" /> |
---|
| 126 | </activity> |
---|
| 127 | </events> |
---|
| 128 | </AIController> |
---|
| 129 | </controller> |
---|
| 130 | </SpaceShip> |
---|
[9013] | 131 | <?lua end ?> |
---|
[9008] | 132 | |
---|
[9012] | 133 | |
---|
[9008] | 134 | |
---|
[9010] | 135 | |
---|
| 136 | |
---|
[9013] | 137 | |
---|
| 138 | |
---|
[9006] | 139 | <!-- Generate asteroid field and asteroid belt --> |
---|
| 140 | <!-- asteroidBelt(centerX, centerY, centerZ, yaw, pitch, segments, minSize, maxSize, radius0, radius1, count, fog) --> |
---|
| 141 | <?lua |
---|
| 142 | dofile("includes/asteroidField.lua") |
---|
| 143 | asteroidBelt(20000, 0, 13000, -48, -34, 70, 100, 200, 22000, 20000, 500, 1) |
---|
| 144 | |
---|
| 145 | ?> |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | |
---|
| 149 | |
---|
| 150 | </Scene> |
---|
| 151 | </Level> |
---|
| 152 | |
---|