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