[5311] | 1 | <?lua |
---|
| 2 | include("levels/hudtemplates.oxw") |
---|
| 3 | ?> |
---|
| 4 | |
---|
| 5 | <?lua |
---|
| 6 | include("levels/spaceshiptemplates.oxw") |
---|
| 7 | ?> |
---|
| 8 | |
---|
| 9 | <?lua |
---|
[5332] | 10 | dofile("../../media/levels/CuboidSpaceStation.lua") |
---|
[5311] | 11 | ?> |
---|
| 12 | |
---|
| 13 | <NotificationQueue |
---|
| 14 | name = "notification" |
---|
| 15 | position = "0.55, 0.05" |
---|
| 16 | font = "VeraMono" |
---|
| 17 | textSize = 0.020 |
---|
| 18 | length = 3 |
---|
| 19 | width = 50 |
---|
| 20 | /> |
---|
| 21 | |
---|
| 22 | <Level |
---|
| 23 | name = "The Tale of Princess Aeryn" |
---|
| 24 | description = "The Tale of Princess Aeryn" |
---|
| 25 | > |
---|
[5315] | 26 | <Scene |
---|
| 27 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 28 | skybox = "Orxonox/Starbox" |
---|
| 29 | > |
---|
[5311] | 30 | |
---|
[5315] | 31 | <!-- Quest: --> |
---|
| 32 | <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34"> |
---|
| 33 | <QuestDescription title="The Tale of Princess Aeryn" description="Princess Aeryn has been kidnapped by evil Mr. M and you were just a little too late to save her.\nYou have to find and save her from her captors." failMessage="You cannot fail, how did you?" completeMessage="You did it John. You're a hero. Princess Aeryn however will still not marry you." /> |
---|
| 34 | <subquests> |
---|
| 35 | <GlobalQuest id="43766602-7e2f-4d24-976a-3f9de1474d5b"> |
---|
| 36 | <QuestDescription title="Find Aeryn's S.H.O.E.S." description="Oh, the kidnappers must have been in a hurry because they overlooked princess Aeryns S.H.O.E.S. (Super Heavily Organized Escape Ship) hidden in the asteroid field over there.\nFind it and look there for clues to Princess Aeryns whereabouts." completeMessage="You did it, Looking through her stuff you find an odd looking device - Could this be the receiver of Princess Aeryns locator beacon? - But it must be broken, the screen remains blank." /> |
---|
| 37 | <complete-effects> |
---|
| 38 | <AddQuest questId="50845552-c8af-4091-947c-76bd850b224e" /> |
---|
| 39 | </complete-effects> |
---|
| 40 | </GlobalQuest> |
---|
| 41 | <GlobalQuest id="50845552-c8af-4091-947c-76bd850b224e"> |
---|
| 42 | <QuestDescription title="Repair the receiver." description="There is a space station called 'Serenity Station' near here. An engineer called Nathan Stark who shoud be able to help you lives there." completeMessage="'Yeah Nathan lives here, he'll shurely help you.'\nAnd he does, apparenty the device was just low on batteries so you're now able to locate your beloved Princess Aeryn." /> |
---|
| 43 | <hints> |
---|
| 44 | <QuestHint id="b9b10841-b045-4797-b1d3-cfce760e1de6"> |
---|
| 45 | <QuestDescription title="The Katratzi Station" description="'We ain't buying!'\n'What do you want?'\n'No there lives no Nathan here.'\n'Fuck off.''" /> |
---|
| 46 | </QuestHint> |
---|
| 47 | <QuestHint id="1ee785f8-b71d-4b51-b080-42cec5be8e3c"> |
---|
| 48 | <QuestDescription title="The Pegasus Station" description="'Hello friend.'\n'How can we help you?'\n'A Mr. Stark you say? Sorry no man with such a name lives here.'" /> |
---|
| 49 | </QuestHint> |
---|
| 50 | </hints> |
---|
| 51 | <complete-effects> |
---|
| 52 | <AddQuest questId="97628524-b243-492c-b7b6-498f325b21d4" /> |
---|
| 53 | </complete-effects> |
---|
| 54 | </GlobalQuest> |
---|
| 55 | <GlobalQuest id="97628524-b243-492c-b7b6-498f325b21d4"> |
---|
| 56 | <QuestDescription title="Follow the dots" description="Just follow the dots, they'll lead you right to her." completeMessage="You found Princess Aeryn. Her captors give up at the shere sight ou you." /> |
---|
| 57 | <complete-effects> |
---|
| 58 | <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
| 59 | </complete-effects> |
---|
| 60 | </GlobalQuest> |
---|
| 61 | </subquests> |
---|
[5311] | 62 | </GlobalQuest> |
---|
| 63 | |
---|
[5315] | 64 | <!-- Create spaceship spawner: --> |
---|
| 65 | <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
| 66 | <events> |
---|
| 67 | <spawn> |
---|
| 68 | <EventTrigger delay=1> |
---|
| 69 | <events> |
---|
| 70 | <trigger> |
---|
| 71 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 72 | </trigger> |
---|
| 73 | </events> |
---|
| 74 | </EventTrigger> |
---|
| 75 | </spawn> |
---|
| 76 | </events> |
---|
| 77 | <attached> |
---|
| 78 | <QuestEffectBeacon position="0,0,0" times=1> |
---|
[5311] | 79 | <effects> |
---|
[5315] | 80 | <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
| 81 | <AddQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" /> |
---|
| 82 | </effects> |
---|
[5311] | 83 | <events> |
---|
[5315] | 84 | <execute> |
---|
| 85 | <EventListener event=questbeacon1 /> |
---|
| 86 | </execute> |
---|
[5311] | 87 | </events> |
---|
| 88 | <attached> |
---|
[5315] | 89 | <DistanceTrigger name=questbeacon1 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
[5311] | 90 | </attached> |
---|
[5315] | 91 | </QuestEffectBeacon> |
---|
| 92 | </attached> |
---|
| 93 | </ParticleSpawner> |
---|
| 94 | |
---|
| 95 | <!-- Create world --> |
---|
| 96 | |
---|
| 97 | <!-- Kidnapper flying away --> |
---|
| 98 | <MovableEntity position="200,0,0" velocity="-140,0,-140" yaw=45> |
---|
| 99 | <attached> |
---|
| 100 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" /> |
---|
| 101 | <ParticleSpawner position="0,0,10" source="Orxonox/fire3" lifetime=2.0 loop=0 autostart=1 /> |
---|
[5339] | 102 | <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail > |
---|
| 103 | <effects> |
---|
| 104 | <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
| 105 | </effects> |
---|
| 106 | <events> |
---|
| 107 | <execute> |
---|
| 108 | <EventListener event=questbeacon7 /> |
---|
| 109 | </execute> |
---|
| 110 | </events> |
---|
| 111 | <attached> |
---|
| 112 | <DistanceTrigger name=questbeacon7 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
| 113 | </attached> |
---|
| 114 | </QuestEffectBeacon> |
---|
[5315] | 115 | </attached> |
---|
| 116 | </MovableEntity> |
---|
| 117 | |
---|
| 118 | <!-- Asteroid field --> |
---|
| 119 | <PositionableEntity position="-500,0,-3000"> |
---|
| 120 | <attached> |
---|
| 121 | <?lua |
---|
| 122 | for i = 1, 200 |
---|
| 123 | do ?> |
---|
| 124 | <MovableEntity position="<?lua print(math.random() * 2000 - 1000)?>, <?lua print(math.random() * 2000 - 1000) ?>, <?lua print(math.random() * 2000 - 1000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.abs(math.random() * 30 -10)) ?>"> |
---|
| 125 | <attached> |
---|
| 126 | <Model scale="<?lua print(math.random() * 50) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 127 | </attached> |
---|
| 128 | </MovableEntity> |
---|
| 129 | <?lua |
---|
| 130 | end |
---|
| 131 | ?> |
---|
| 132 | <!-- S.H.O.E.S --> |
---|
| 133 | <PositionableEntity position="-300,0,0"> |
---|
| 134 | <attached> |
---|
| 135 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="assff.mesh" /> |
---|
| 136 | <QuestEffectBeacon position="0,0,0" times=-1> |
---|
| 137 | <effects> |
---|
| 138 | <CompleteQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" /> |
---|
| 139 | </effects> |
---|
| 140 | <events> |
---|
| 141 | <execute> |
---|
| 142 | <EventListener event=questbeacon2 /> |
---|
| 143 | </execute> |
---|
| 144 | </events> |
---|
| 145 | <attached> |
---|
| 146 | <DistanceTrigger name=questbeacon2 position="0,0,0" distance=50 target="ControllableEntity" /> |
---|
| 147 | </attached> |
---|
| 148 | </QuestEffectBeacon> |
---|
| 149 | </attached> |
---|
| 150 | </PositionableEntity> |
---|
| 151 | </attached> |
---|
| 152 | </PositionableEntity> |
---|
[5311] | 153 | |
---|
| 154 | |
---|
| 155 | |
---|
[5315] | 156 | <!-- Spacestations --> |
---|
[5311] | 157 | |
---|
[5315] | 158 | <!-- Serenity Station --> |
---|
| 159 | <PositionableEntity scale=1 position="0,0,5000" yaw=30> |
---|
| 160 | <attached> |
---|
| 161 | <?lua |
---|
[5344] | 162 | createSpaceStationPar(65461,2,1,2,1,2,1,100) |
---|
[5315] | 163 | ?> |
---|
[5344] | 164 | <QuestEffectBeacon position="0,450,0" times=1> |
---|
[5315] | 165 | <effects> |
---|
| 166 | <CompleteQuest questId="50845552-c8af-4091-947c-76bd850b224e" /> |
---|
| 167 | </effects> |
---|
| 168 | <events> |
---|
| 169 | <execute> |
---|
| 170 | <EventListener event=questbeacon3 /> |
---|
| 171 | </execute> |
---|
| 172 | </events> |
---|
| 173 | <attached> |
---|
| 174 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
| 175 | <DistanceTrigger name=questbeacon3 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
| 176 | </attached> |
---|
| 177 | </QuestEffectBeacon> |
---|
| 178 | </attached> |
---|
| 179 | </PositionableEntity> |
---|
| 180 | |
---|
| 181 | <!-- Katratzi Station --> |
---|
| 182 | <PositionableEntity scale=1 position="0,5000,300" yaw=60> |
---|
| 183 | <attached> |
---|
| 184 | <?lua |
---|
[5344] | 185 | createSpaceStationPar(9851,2,1,2,1,2,1,100) |
---|
[5315] | 186 | ?> |
---|
[5344] | 187 | <QuestEffectBeacon position="0,450,0" times=1> |
---|
[5315] | 188 | <effects> |
---|
| 189 | <AddQuestHint hintId="b9b10841-b045-4797-b1d3-cfce760e1de6" /> |
---|
| 190 | </effects> |
---|
| 191 | <events> |
---|
| 192 | <execute> |
---|
| 193 | <EventListener event=questbeacon4 /> |
---|
| 194 | </execute> |
---|
| 195 | </events> |
---|
| 196 | <attached> |
---|
| 197 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
| 198 | <DistanceTrigger name=questbeacon4 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
| 199 | </attached> |
---|
| 200 | </QuestEffectBeacon> |
---|
| 201 | </attached> |
---|
| 202 | </PositionableEntity> |
---|
| 203 | |
---|
| 204 | <!-- Pegasus Station --> |
---|
| 205 | <PositionableEntity scale=1 position="-5000,100,1000" roll=30> |
---|
| 206 | <attached> |
---|
| 207 | <?lua |
---|
[5344] | 208 | createSpaceStationPar(3574,2,1,2,1,2,1,100) |
---|
[5315] | 209 | ?> |
---|
[5344] | 210 | <QuestEffectBeacon position="200,450,0" times=1> |
---|
[5315] | 211 | <effects> |
---|
| 212 | <AddQuestHint hintId="1ee785f8-b71d-4b51-b080-42cec5be8e3c" /> |
---|
| 213 | </effects> |
---|
| 214 | <events> |
---|
| 215 | <execute> |
---|
| 216 | <EventListener event=questbeacon5 /> |
---|
| 217 | </execute> |
---|
| 218 | </events> |
---|
| 219 | <attached> |
---|
| 220 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
| 221 | <DistanceTrigger name=questbeacon5 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
| 222 | </attached> |
---|
| 223 | </QuestEffectBeacon> |
---|
| 224 | </attached> |
---|
| 225 | </PositionableEntity> |
---|
[5311] | 226 | |
---|
[5315] | 227 | <!-- Trail --> |
---|
[5326] | 228 | <EventDispatcher> |
---|
| 229 | <targets> |
---|
| 230 | <EventTarget name=trail /> |
---|
| 231 | </targets> |
---|
| 232 | <events> |
---|
| 233 | <visibility> |
---|
| 234 | <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" /> |
---|
[5315] | 235 | </visibility> |
---|
| 236 | <activity> |
---|
| 237 | <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" /> |
---|
[5326] | 238 | </activity> |
---|
| 239 | </events> |
---|
[5315] | 240 | </EventDispatcher> |
---|
[5311] | 241 | |
---|
[5315] | 242 | <?lua |
---|
| 243 | for i = 1, 25 |
---|
| 244 | do |
---|
| 245 | ?> |
---|
| 246 | <Billboard position="<?lua print(i*5000/25) ?>,<?lua print(450+i*(5000-450)/25) ?>,5000" colour="1.0,0,0" material="Examples/Flare" name=trail visible=false/> |
---|
| 247 | <?lua |
---|
| 248 | end |
---|
| 249 | ?> |
---|
[5311] | 250 | |
---|
[5315] | 251 | <!-- Hideout --> |
---|
| 252 | <PositionableEntity position="5000,5000,5000" > |
---|
| 253 | <attached> |
---|
| 254 | <Model scale="100" mesh="ast2.mesh" shadow=false /> |
---|
| 255 | </attached> |
---|
| 256 | </PositionableEntity> |
---|
[5311] | 257 | |
---|
[5315] | 258 | <PositionableEntity position="5400,5400,5000" visible=false name=trail > |
---|
| 259 | <attached> |
---|
[5338] | 260 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" visible=false name=trail /> |
---|
[5315] | 261 | <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail > |
---|
| 262 | <effects> |
---|
| 263 | <CompleteQuest questId="97628524-b243-492c-b7b6-498f325b21d4" /> |
---|
| 264 | </effects> |
---|
| 265 | <events> |
---|
| 266 | <execute> |
---|
| 267 | <EventListener event=questbeacon6 /> |
---|
| 268 | </execute> |
---|
| 269 | </events> |
---|
| 270 | <attached> |
---|
| 271 | <DistanceTrigger name=questbeacon6 position="0,0,0" distance=100 target="ControllableEntity" /> |
---|
| 272 | </attached> |
---|
| 273 | </QuestEffectBeacon> |
---|
| 274 | </attached> |
---|
| 275 | </PositionableEntity> |
---|
| 276 | |
---|
| 277 | </Scene> |
---|
[5311] | 278 | </Level> |
---|
| 279 | |
---|