- Timestamp:
- Oct 19, 2015, 10:30:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10674 r10676 1 1 <LevelInfo 2 name = "CampaignHS15 1"3 description = "Protect the transporter!"4 tags = "mission"5 screenshot = "missionOne.png"2 name = "CampaignHS15 1" 3 description = "Protect the transporter!" 4 tags = "mission" 5 screenshot = "missionOne.png" 6 6 /> 7 7 8 8 <?lua 9 include("stats.oxo")10 include("HUDTemplates3.oxo")11 include("templates/lodInformation.oxt")9 include("stats.oxo") 10 include("HUDTemplates3.oxo") 11 include("templates/lodInformation.oxt") 12 12 ?> 13 13 14 14 <?lua 15 include("templates/spaceshipAssff2.oxt")16 include("templates/spaceshipPirate.oxt")17 include("templates/spaceshipEscort.oxt")18 include("templates/spaceshipRing.oxt")19 include("templates/spaceshipSwallow.oxt")20 include("templates/spaceshipTransporter.oxt")15 include("templates/spaceshipAssff2.oxt") 16 include("templates/spaceshipPirate.oxt") 17 include("templates/spaceshipEscort.oxt") 18 include("templates/spaceshipRing.oxt") 19 include("templates/spaceshipSwallow.oxt") 20 include("templates/spaceshipTransporter.oxt") 21 21 ?> 22 22 23 <Level gametype 24 <templates>25 <Template link=lodtemplate_default/>26 </templates>27 <?lua include("includes/notifications.oxi") ?>28 29 <Scene30 ambientlight = "0.8, 0.8, 0.8"31 skybox= "Orxonox/Starbox"32 >23 <Level gametype = "Mission"> 24 <templates> 25 <Template link="lodtemplate_default" /> 26 </templates> 27 <?lua include("includes/notifications.oxi") ?> 28 29 <Scene 30 ambientlight = "0.8, 0.8, 0.8" 31 skybox = "Orxonox/Starbox" 32 > 33 33 34 34 <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" /> … … 41 41 <QuestDescription title="Reach the Station!" description="" failMessage="" completeMessage="" /> 42 42 <hints> 43 <QuestHint id="quest1hint1" />43 <QuestHint id="quest1hint1" /> 44 44 </hints> 45 45 <subquests> … … 52 52 </hints> 53 53 <subquests> 54 <GlobalQuest id="quest2.1">55 <QuestDescription title="Get a better Spaceship" description="" failMessage="" completeMessage="" />56 </GlobalQuest>57 <GlobalQuest id="quest2.2">58 <QuestDescription title="Get some Pickups" description="" failMessage="" completeMessage="" />59 </GlobalQuest>60 <GlobalQuest id="quest2.3">61 <QuestDescription title="Meet your Unit" description="" failMessage="" completeMessage="" />62 </GlobalQuest>54 <GlobalQuest id="quest2.1"> 55 <QuestDescription title="Get a better Spaceship" description="" failMessage="" completeMessage="" /> 56 </GlobalQuest> 57 <GlobalQuest id="quest2.2"> 58 <QuestDescription title="Get some Pickups" description="" failMessage="" completeMessage="" /> 59 </GlobalQuest> 60 <GlobalQuest id="quest2.3"> 61 <QuestDescription title="Meet your Unit" description="" failMessage="" completeMessage="" /> 62 </GlobalQuest> 63 63 </subquests> 64 64 </GlobalQuest> … … 77 77 </hints> 78 78 <subquests> 79 <GlobalQuest id="quest4.1">80 <QuestDescription title="Get to the Defense Station" description="" failMessage="" completeMessage="" />81 </GlobalQuest>82 <GlobalQuest id="quest4.2">83 <QuestDescription title="Find the turret" description="" failMessage="" completeMessage="" />84 </GlobalQuest>79 <GlobalQuest id="quest4.1"> 80 <QuestDescription title="Get to the Defense Station" description="" failMessage="" completeMessage="" /> 81 </GlobalQuest> 82 <GlobalQuest id="quest4.2"> 83 <QuestDescription title="Find the turret" description="" failMessage="" completeMessage="" /> 84 </GlobalQuest> 85 85 </subquests> 86 86 </GlobalQuest> … … 100 100 <subquests> 101 101 <GlobalQuest id="quest6.1"> 102 <QuestDescription title="Collect the local Pickups" description="" failMessage="" completeMessage="" />103 </GlobalQuest>104 <GlobalQuest id="quest6.2">105 <QuestDescription title="Use Portal to the Transporter" description="" failMessage="" completeMessage="" />106 </GlobalQuest>102 <QuestDescription title="Collect the local Pickups" description="" failMessage="" completeMessage="" /> 103 </GlobalQuest> 104 <GlobalQuest id="quest6.2"> 105 <QuestDescription title="Use Portal to the Transporter" description="" failMessage="" completeMessage="" /> 106 </GlobalQuest> 107 107 </subquests> 108 108 </GlobalQuest> … … 119 119 120 120 <EventMultiTrigger name=spawntrigger> 121 <events>122 <trigger>123 <SpawnPoint team=1 position="-50,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />124 </trigger>125 </events>121 <events> 122 <trigger> 123 <SpawnPoint team=1 position="-50,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 /> 124 </trigger> 125 </events> 126 126 </EventMultiTrigger> 127 128 127 129 128 <QuestEffectBeacon times=1> … … 171 170 </StaticEntity> 172 171 173 174 175 176 172 <!--ELEMENTS --> 173 174 <?lua 175 max = 5 177 176 for i = 1, max, 1 178 177 do 179 180 178 x = math.cos(math.pi/8*(i+1))*1500 179 y = math.sin(math.pi/8*(i+1))*1500 181 180 ?> 182 181 <SpaceShip position="<?lua print(y)?>,<?lua print(math.pow(-1,i)*250) ?>,<?lua print(x)?>" lookat="0,0,0" team=2> 183 182 <templates> 184 <Template link= spaceshippirate/>183 <Template link="spaceshippirate" /> 185 184 </templates> 186 185 <controller> 187 186 <WaypointPatrolController alertnessradius=600 team=1> 188 <waypoints>189 <Attacher target="transporter" deletewithparent=false />190 </waypoints>187 <waypoints> 188 <Attacher target="transporter" deletewithparent=false /> 189 </waypoints> 191 190 </WaypointPatrolController> 192 191 </controller> … … 194 193 <?lua end ?> 195 194 196 <SpaceShip position="-2500,0,1700" lookat="-2500,0,-1800" team=1 name="transporter"> 197 <templates> 198 <Template link=spaceshipTransporter /> 199 </templates> 200 <controller> 201 <WaypointController accuracy=10> 202 <waypoints> 203 <Model mesh="sphere.mesh" scale=100 position="-2500,0,1650" /> 204 <?lua 205 max = 5 206 for i = 1, max, 1 207 do 208 x = math.cos(math.pi/8*(i+1))*3490 209 y = -math.sin(math.pi/8*(i+1))*3490 210 ?> 211 <Model mesh="sphere.mesh" scale=100 position="<?lua print(y) ?>+490,0,<?lua print(x) ?>" /> 212 <?lua end ?> 213 <Model mesh="sphere.mesh" scale=100 position="-2500,0,-1650" /> 214 </waypoints> 215 </WaypointController> 216 </controller> 217 </SpaceShip> 218 219 220 221 </Scene> 195 <SpaceShip position="-2500,0,1700" lookat="-2500,0,-1800" team=1 name="transporter"> 196 <templates> 197 <Template link="spaceshipTransporter" /> 198 </templates> 199 <controller> 200 <WaypointController accuracy=10> 201 <waypoints> 202 <Model mesh="sphere.mesh" scale=100 position="-2500,0,1650" /> 203 <?lua 204 max = 5 205 for i = 1, max, 1 206 do 207 x = math.cos(math.pi/8*(i+1))*3490 208 y = -math.sin(math.pi/8*(i+1))*3490 209 ?> 210 <Model mesh="sphere.mesh" scale=100 position="<?lua print(y) ?>+490,0,<?lua print(x) ?>" /> 211 <?lua end ?> 212 <Model mesh="sphere.mesh" scale=100 position="-2500,0,-1650" /> 213 </waypoints> 214 </WaypointController> 215 </controller> 216 </SpaceShip> 217 218 </Scene> 222 219 </Level>
Note: See TracChangeset
for help on using the changeset viewer.