[5697] | 1 | <?lua |
---|
[5738] | 2 | include("hudtemplates3.oxo") |
---|
| 3 | include("stats.oxo") |
---|
| 4 | include("templates/spaceship_assff.oxt") |
---|
[5697] | 5 | ?> |
---|
| 6 | |
---|
| 7 | <?lua |
---|
[5803] | 8 | dofile("includes/CuboidSpaceStation.lua") |
---|
[5697] | 9 | ?> |
---|
| 10 | |
---|
| 11 | <NotificationQueue |
---|
| 12 | name = "notification" |
---|
| 13 | position = "0.55, 0.05" |
---|
| 14 | font = "VeraMono" |
---|
| 15 | textsize = 0.020 |
---|
| 16 | length = 3 |
---|
| 17 | width = 50 |
---|
| 18 | /> |
---|
| 19 | |
---|
| 20 | <Level |
---|
| 21 | name = "The Tale of Princess Aeryn" |
---|
| 22 | description = "The Tale of Princess Aeryn" |
---|
| 23 | > |
---|
| 24 | <Scene |
---|
| 25 | ambientlight = "0.3, 0.3, 0.3" |
---|
| 26 | skybox = "Orxonox/skypanoramagen1" |
---|
| 27 | > |
---|
| 28 | <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" /> |
---|
| 29 | |
---|
| 30 | <!-- Quest: --> |
---|
| 31 | <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34"> |
---|
| 32 | <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." /> |
---|
| 33 | <subquests> |
---|
| 34 | <GlobalQuest id="43766602-7e2f-4d24-976a-3f9de1474d5b"> |
---|
| 35 | <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." /> |
---|
| 36 | <complete-effects> |
---|
| 37 | <AddQuest questId="50845552-c8af-4091-947c-76bd850b224e" /> |
---|
| 38 | </complete-effects> |
---|
| 39 | </GlobalQuest> |
---|
| 40 | <GlobalQuest id="50845552-c8af-4091-947c-76bd850b224e"> |
---|
| 41 | <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." /> |
---|
| 42 | <hints> |
---|
| 43 | <QuestHint id="b9b10841-b045-4797-b1d3-cfce760e1de6"> |
---|
| 44 | <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.''" /> |
---|
| 45 | </QuestHint> |
---|
| 46 | <QuestHint id="1ee785f8-b71d-4b51-b080-42cec5be8e3c"> |
---|
| 47 | <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.'" /> |
---|
| 48 | </QuestHint> |
---|
| 49 | </hints> |
---|
| 50 | <complete-effects> |
---|
| 51 | <AddQuest questId="97628524-b243-492c-b7b6-498f325b21d4" /> |
---|
| 52 | </complete-effects> |
---|
| 53 | </GlobalQuest> |
---|
| 54 | <GlobalQuest id="97628524-b243-492c-b7b6-498f325b21d4"> |
---|
| 55 | <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." /> |
---|
| 56 | <complete-effects> |
---|
| 57 | <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
| 58 | </complete-effects> |
---|
| 59 | </GlobalQuest> |
---|
| 60 | </subquests> |
---|
| 61 | </GlobalQuest> |
---|
| 62 | |
---|
| 63 | <!-- Create spaceship spawner: --> |
---|
| 64 | <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
| 65 | <events> |
---|
| 66 | <spawn> |
---|
| 67 | <EventTrigger delay=1> |
---|
| 68 | <events> |
---|
| 69 | <trigger> |
---|
| 70 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 71 | </trigger> |
---|
| 72 | </events> |
---|
| 73 | </EventTrigger> |
---|
| 74 | </spawn> |
---|
| 75 | </events> |
---|
| 76 | <attached> |
---|
| 77 | <QuestEffectBeacon position="0,0,0" times=1> |
---|
| 78 | <effects> |
---|
| 79 | <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
| 80 | <AddQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" /> |
---|
| 81 | </effects> |
---|
| 82 | <events> |
---|
| 83 | <execute> |
---|
| 84 | <EventListener event=questbeacon1 /> |
---|
| 85 | </execute> |
---|
| 86 | </events> |
---|
| 87 | <attached> |
---|
| 88 | <DistanceTrigger name=questbeacon1 position="0,0,0" distance=10 target="Pawn" /> |
---|
| 89 | </attached> |
---|
| 90 | </QuestEffectBeacon> |
---|
| 91 | </attached> |
---|
| 92 | </ParticleSpawner> |
---|
| 93 | |
---|
| 94 | <!-- Create world --> |
---|
| 95 | |
---|
| 96 | <!-- Kidnapper flying away --> |
---|
| 97 | <MovableEntity position="200,0,0" velocity="-140,0,-140" yaw=45> |
---|
| 98 | <attached> |
---|
| 99 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" /> |
---|
| 100 | <ParticleSpawner position="0,0,10" source="Orxonox/fire3" lifetime=2.0 loop=0 autostart=1 /> |
---|
| 101 | <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail > |
---|
| 102 | <effects> |
---|
| 103 | <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
| 104 | </effects> |
---|
| 105 | <events> |
---|
| 106 | <execute> |
---|
| 107 | <EventListener event=questbeacon7 /> |
---|
| 108 | </execute> |
---|
| 109 | </events> |
---|
| 110 | <attached> |
---|
| 111 | <DistanceTrigger name=questbeacon7 position="0,0,0" distance=10 target="Pawn" /> |
---|
| 112 | </attached> |
---|
| 113 | </QuestEffectBeacon> |
---|
| 114 | </attached> |
---|
| 115 | </MovableEntity> |
---|
| 116 | |
---|
| 117 | <!-- Asteroid field --> |
---|
| 118 | <StaticEntity position="-500,0,-3000"> |
---|
| 119 | <attached> |
---|
| 120 | <?lua |
---|
| 121 | for i = 1, 200 |
---|
| 122 | do ?> |
---|
| 123 | <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)) ?>"> |
---|
| 124 | <attached> |
---|
| 125 | <Model scale="<?lua print(math.random() * 50) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 126 | </attached> |
---|
| 127 | </MovableEntity> |
---|
| 128 | <?lua |
---|
| 129 | end |
---|
| 130 | ?> |
---|
| 131 | <!-- S.H.O.E.S --> |
---|
| 132 | <StaticEntity position="-300,0,0"> |
---|
| 133 | <attached> |
---|
| 134 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="assff.mesh" /> |
---|
| 135 | <QuestEffectBeacon position="0,0,0" times=-1> |
---|
| 136 | <effects> |
---|
| 137 | <CompleteQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" /> |
---|
| 138 | </effects> |
---|
| 139 | <events> |
---|
| 140 | <execute> |
---|
| 141 | <EventListener event=questbeacon2 /> |
---|
| 142 | </execute> |
---|
| 143 | </events> |
---|
| 144 | <attached> |
---|
| 145 | <DistanceTrigger name=questbeacon2 position="0,0,0" distance=50 target="Pawn" /> |
---|
| 146 | </attached> |
---|
| 147 | </QuestEffectBeacon> |
---|
| 148 | </attached> |
---|
| 149 | </StaticEntity> |
---|
| 150 | </attached> |
---|
| 151 | </StaticEntity> |
---|
| 152 | |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | <!-- Spacestations --> |
---|
| 156 | |
---|
| 157 | <!-- Serenity Station --> |
---|
| 158 | <StaticEntity scale=1 position="0,0,5000" yaw=30> |
---|
| 159 | <attached> |
---|
| 160 | <?lua |
---|
| 161 | createSpaceStationPar(65461,2,1,2,1,2,1,100) |
---|
| 162 | ?> |
---|
| 163 | <QuestEffectBeacon position="0,450,0" times=1> |
---|
| 164 | <effects> |
---|
| 165 | <CompleteQuest questId="50845552-c8af-4091-947c-76bd850b224e" /> |
---|
| 166 | </effects> |
---|
| 167 | <events> |
---|
| 168 | <execute> |
---|
| 169 | <EventListener event=questbeacon3 /> |
---|
| 170 | </execute> |
---|
| 171 | </events> |
---|
| 172 | <attached> |
---|
| 173 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
| 174 | <DistanceTrigger name=questbeacon3 position="0,0,0" distance=100 target="Pawn" /> |
---|
| 175 | </attached> |
---|
| 176 | </QuestEffectBeacon> |
---|
| 177 | </attached> |
---|
| 178 | </StaticEntity> |
---|
| 179 | |
---|
| 180 | <!-- Katratzi Station --> |
---|
| 181 | <StaticEntity scale=1 position="0,5000,300" yaw=60> |
---|
| 182 | <attached> |
---|
| 183 | <?lua |
---|
| 184 | createSpaceStationPar(9851,2,1,2,1,2,1,100) |
---|
| 185 | ?> |
---|
| 186 | <QuestEffectBeacon position="0,450,0" times=1> |
---|
| 187 | <effects> |
---|
| 188 | <AddQuestHint hintId="b9b10841-b045-4797-b1d3-cfce760e1de6" /> |
---|
| 189 | </effects> |
---|
| 190 | <events> |
---|
| 191 | <execute> |
---|
| 192 | <EventListener event=questbeacon4 /> |
---|
| 193 | </execute> |
---|
| 194 | </events> |
---|
| 195 | <attached> |
---|
| 196 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
| 197 | <DistanceTrigger name=questbeacon4 position="0,0,0" distance=100 target="Pawn" /> |
---|
| 198 | </attached> |
---|
| 199 | </QuestEffectBeacon> |
---|
| 200 | </attached> |
---|
| 201 | </StaticEntity> |
---|
| 202 | |
---|
| 203 | <!-- Pegasus Station --> |
---|
| 204 | <StaticEntity scale=1 position="-5000,100,1000" roll=30> |
---|
| 205 | <attached> |
---|
| 206 | <?lua |
---|
| 207 | createSpaceStationPar(3574,2,1,2,1,2,1,100) |
---|
| 208 | ?> |
---|
| 209 | <QuestEffectBeacon position="200,450,0" times=1> |
---|
| 210 | <effects> |
---|
| 211 | <AddQuestHint hintId="1ee785f8-b71d-4b51-b080-42cec5be8e3c" /> |
---|
| 212 | </effects> |
---|
| 213 | <events> |
---|
| 214 | <execute> |
---|
| 215 | <EventListener event=questbeacon5 /> |
---|
| 216 | </execute> |
---|
| 217 | </events> |
---|
| 218 | <attached> |
---|
| 219 | <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
| 220 | <DistanceTrigger name=questbeacon5 position="0,0,0" distance=100 target="Pawn" /> |
---|
| 221 | </attached> |
---|
| 222 | </QuestEffectBeacon> |
---|
| 223 | </attached> |
---|
| 224 | </StaticEntity> |
---|
| 225 | |
---|
| 226 | <!-- Trail --> |
---|
| 227 | <EventDispatcher> |
---|
| 228 | <targets> |
---|
[5890] | 229 | <EventTarget target=trail /> |
---|
[5697] | 230 | </targets> |
---|
| 231 | <events> |
---|
| 232 | <visibility> |
---|
| 233 | <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" /> |
---|
| 234 | </visibility> |
---|
| 235 | <activity> |
---|
| 236 | <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" /> |
---|
| 237 | </activity> |
---|
| 238 | </events> |
---|
| 239 | </EventDispatcher> |
---|
| 240 | |
---|
| 241 | <?lua |
---|
| 242 | for i = 1, 25 |
---|
| 243 | do |
---|
| 244 | ?> |
---|
| 245 | <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/> |
---|
| 246 | <?lua |
---|
| 247 | end |
---|
| 248 | ?> |
---|
| 249 | |
---|
| 250 | <!-- Hideout --> |
---|
| 251 | <StaticEntity position="5000,5000,5000" > |
---|
| 252 | <attached> |
---|
| 253 | <Model scale="100" mesh="ast2.mesh" shadow=false /> |
---|
| 254 | </attached> |
---|
| 255 | </StaticEntity> |
---|
| 256 | |
---|
| 257 | <StaticEntity position="5400,5400,5000" visible=false name=trail > |
---|
| 258 | <attached> |
---|
| 259 | <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" visible=false name=trail /> |
---|
| 260 | <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail > |
---|
| 261 | <effects> |
---|
| 262 | <CompleteQuest questId="97628524-b243-492c-b7b6-498f325b21d4" /> |
---|
| 263 | </effects> |
---|
| 264 | <events> |
---|
| 265 | <execute> |
---|
| 266 | <EventListener event=questbeacon6 /> |
---|
| 267 | </execute> |
---|
| 268 | </events> |
---|
| 269 | <attached> |
---|
| 270 | <DistanceTrigger name=questbeacon6 position="0,0,0" distance=100 target="Pawn" /> |
---|
| 271 | </attached> |
---|
| 272 | </QuestEffectBeacon> |
---|
| 273 | </attached> |
---|
| 274 | </StaticEntity> |
---|
| 275 | |
---|
| 276 | </Scene> |
---|
| 277 | </Level> |
---|
| 278 | |
---|