Changeset 8880 for code/branches
- Timestamp:
- Oct 10, 2011, 9:03:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/data/levels/missionOne.oxw
r8878 r8880 157 157 </events> 158 158 </SimpleNotification> 159 160 <BlinkingBillboard position="-900,640,600" frequency=0.4 amplitude=2 material="Flares/lensflare" colour="1,1,0"> 161 <events> 162 <visibility> 163 <EventTrigger invert=true> 164 <events> 165 <trigger> 166 <EventListener event=flying4 /> 167 </trigger> 168 </events> 169 </EventTrigger> 170 </visibility> 171 </events> 172 </BlinkingBillboard> 173 <Billboard position="-900,640,600" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1"> 174 <events> 175 <visibility> 176 <EventTrigger> 177 <events> 178 <trigger> 179 <EventListener event=flying4 /> 180 </trigger> 181 </events> 182 </EventTrigger> 183 </visibility> 184 </events> 185 </Billboard> 159 186 <!-------------------------------------- PART ZERO: How to fly ---------------------------------------> 160 161 162 163 164 165 166 167 187 <DistanceTrigger name="flying1" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=4/> 188 <SimpleNotification message="Let's fly to the blinking light."> 189 <events> 190 <trigger> 191 <EventListener event="flying1" /> 192 </trigger> 193 </events> 194 </SimpleNotification> 195 196 <DistanceTrigger name="flying2" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=8/> 197 <SimpleNotification message="Use 'W' to accelerate and the mouse to steer."> 198 <events> 199 <trigger> 200 <EventListener event="flying2" /> 201 </trigger> 202 </events> 203 </SimpleNotification> 204 205 <!--DistanceTrigger name="flying3" position="800,700,600" target="Pawn" distance=20 stayActive="true" delay=12/> 206 <SimpleNotification message="Point with the mouse to the blinking light."> 207 <events> 208 <trigger> 209 <EventListener event="flying3" /> 210 </trigger> 211 </events> 212 </SimpleNotification--> 213 214 <DistanceTrigger name="flying4" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=1/> 215 <SimpleNotification message="Three red arrows just appeared."> 216 <events> 217 <trigger> 218 <EventListener event="flying4" /> 219 </trigger> 220 </events> 221 </SimpleNotification> 222 223 <DistanceTrigger name="flying5" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=5/> 224 <SimpleNotification message="Follow those red arrows."> 225 <events> 226 <trigger> 227 <EventListener event="flying5" /> 228 </trigger> 229 </events> 230 </SimpleNotification> 168 231 169 232 170 233 171 234 <!-------------------------------------- PART ONE : Destroy boxes ---------------------------------------> 172 <DistanceTrigger name="spawndelaytrigger1" position="- 200,0,0" target="Pawn" distance=10 stayActive="true" delay=4/>173 <SimpleNotification message="Destroy th ose four boxes.">235 <DistanceTrigger name="spawndelaytrigger1" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=9 /> 236 <SimpleNotification message="Destroy the four boxes."> 174 237 <events> 175 238 <trigger> … … 179 242 </SimpleNotification> 180 243 181 <DistanceTrigger name="spawndelaytrigger2" position="- 200,0,0" target="Pawn" distance=10 stayActive="true" delay=8.1/>182 <SimpleNotification message=" 1. Aim the a thered cycle.">244 <DistanceTrigger name="spawndelaytrigger2" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=13 /> 245 <SimpleNotification message=" 1. Aim the a red cycle."> 183 246 <events> 184 247 <trigger> … … 188 251 </SimpleNotification> 189 252 190 <DistanceTrigger name="spawndelaytrigger3" position="- 200,0,0" target="Pawn" distance=10 stayActive="true" delay=12.2/>253 <DistanceTrigger name="spawndelaytrigger3" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=17 /> 191 254 <SimpleNotification message="2. Click! (hold the left mouse button)"> 192 255 <events> … … 196 259 </events> 197 260 </SimpleNotification> 198 <BlinkingBillboard position="-200,0,0" frequency=0.2 amplitude=1 material="Flares/lensflare" colour="0,0,1"/> 261 199 262 <!-- @Objects: 4 boxes (uncontrolled pawns) --> 200 263 <Pawn health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > 264 <events> 265 <visibility> 266 <EventListener event="flying4" /> 267 </visibility> 268 </events> 201 269 <attached> 202 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/>203 270 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 204 271 </attached> … … 209 276 210 277 <Pawn health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box visible="true"> 278 <events> 279 <visibility> 280 <EventListener event="flying4" /> 281 </visibility> 282 </events> 211 283 <attached> 212 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/>213 284 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 214 285 </attached> … … 218 289 </Pawn> 219 290 <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > 291 <events> 292 <visibility> 293 <EventListener event="flying4" /> 294 </visibility> 295 </events> 220 296 <attached> 221 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/>222 297 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 223 298 </attached> … … 227 302 </Pawn> 228 303 <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box > 304 <events> 305 <visibility> 306 <EventListener event="flying4" /> 307 </visibility> 308 </events> 229 309 <attached> 230 310 <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" /> 231 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1"/>232 311 </attached> 233 312 <collisionShapes> … … 295 374 </SimpleNotification> 296 375 297 <SimpleNotification message=" Fly towards the pirates. Press 'W'." broadcast="true">376 <SimpleNotification message="Try to hit the pirates while you are flying." broadcast="true"> 298 377 <events> 299 378 <trigger> … … 305 384 306 385 <!--------------------------------------PART TWO: Moving targets ---------------------------------------> 307 <DistanceTrigger name="movingtargets" position="0,500,0" target="Pawn" distance=180 stayActive="true" delay=2 /> 308 <Billboard position="0,500,0" material="Examples/Flare" colour="0.5,0,0" scale=3/><!-- TODO: hide. --> 309 <SimpleNotification message="Try to hit the pirates while you are flying."> 310 <events> 311 <trigger> 312 <EventListener event=movingtargets /> 313 </trigger> 314 </events> 315 </SimpleNotification> 316 317 <!-- @Objects: 2 pirates moving in squares, nolethal --> 386 387 <!-- @Objects: 2 pirates moving in squares, nonlethal --> 318 388 <SpaceShip position="0,2000,200" lookat="0,0,0" name="movingtarget" > 319 <attached>320 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1">321 389 <events> 322 390 <visibility> … … 324 392 </visibility> 325 393 </events> 326 </BlinkingBillboard>327 </attached>328 394 <templates> 329 395 <Template link=spaceshippirate /> … … 342 408 343 409 <SpaceShip position="0,2000,400" lookat="0,0,0" name="movingtarget"> 344 <attached>345 <BlinkingBillboard frequency=0.2 amplitude=1.2 material="Flares/lensflare" colour="0,0,1">346 410 <events> 347 411 <visibility> … … 349 413 </visibility> 350 414 </events> 351 </BlinkingBillboard>352 </attached>353 415 <templates> 354 416 <Template link=spaceshippirate /> … … 403 465 404 466 <!--------------------------------------PART THREE: the space station ---------------------------------------> 405 <DistanceTrigger name="duball1" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=1 /> 467 <DistanceTrigger name="duball1" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=1 > 468 <events> 469 <activity> 470 <EventListener event="movingpirates2" /> 471 </activity> 472 </events> 473 </DistanceTrigger> 474 475 <EventTrigger name="duball2" activations="1" stayactive="true" delay=4 > 476 <events> 477 <trigger> 478 <EventListener event="duball1" /> 479 </trigger> 480 </events> 481 </EventTrigger> 482 483 <EventTrigger name="duball3" activations="1" stayactive="true" delay=4 > 484 <events> 485 <trigger> 486 <EventListener event="duball2" /> 487 </trigger> 488 </events> 489 </EventTrigger> 490 406 491 <SimpleNotification message="Welcome to the Duball Space Station!"> 407 492 <events> … … 412 497 </SimpleNotification> 413 498 414 <DistanceTrigger name="duball2" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=5 /> 415 <SimpleNotification message="Warning: Something big is coming."> 499 <SimpleNotification message="Warning: Something big is coming." broadcast="true"> 416 500 <events> 417 501 <trigger> … … 421 505 </SimpleNotification> 422 506 423 <!--DistanceTrigger name="duball3" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=9 /> 424 <SimpleNotification message="Get some help, before it is too late."> 507 <SimpleNotification message="Use the portals to get help. (grey dot)" broadcast="true"> 425 508 <events> 426 509 <trigger> 427 510 <EventListener event=duball3 /> 428 </trigger>429 </events>430 </SimpleNotification-->431 432 <DistanceTrigger name="duball4" position="-1000,-300,700" target="Pawn" distance=700 stayActive="true" delay=10 />433 <SimpleNotification message="Use the portals to get help. (grey dot)">434 <events>435 <trigger>436 <EventListener event=duball4 />437 511 </trigger> 438 512 </events> … … 682 756 </SpaceShip> 683 757 684 685 <Trigger name="cruiserFriendlyFire" mode="and" activations="2"> 686 <EventTrigger> 758 <!-- TESTBOX--> 759 760 <!-- TESTBOX--> 761 762 <Trigger name="cruiserKilled" mode="and" stayActive="true"> 763 <EventTrigger stayActive="true"> 687 764 <events> 688 765 <trigger> 689 <EventListener event="cruiser" 766 <EventListener event="cruiser"/> 690 767 </trigger> 691 768 </events> … … 701 778 702 779 780 <EventTrigger delay=4 name="earlyEnd"> 781 <events> 782 <trigger> 783 <EventListener event="cruiserKilled" /> 784 </trigger> 785 </events> 786 <events> 787 <activity> 788 <EventListener event="movingpirates2" /> 789 </activity> 790 </events> 791 </EventTrigger> 792 793 <EventTrigger delay=4 name="earlyEnd"> 794 <events> 795 <trigger> 796 <EventListener event="HydroFarmer" /> 797 </trigger> 798 </events> 799 <events> 800 <activity> 801 <EventListener event="movingpirates2" /> 802 </activity> 803 </events> 804 </EventTrigger> 805 806 807 703 808 <SimpleNotification message="Oh no! You killed the Hydrogen Farmer!" broadcast="true"> 704 809 <events> … … 712 817 <events> 713 818 <trigger> 714 <EventListener event="cruiserFriendlyFire" /><!--cruiserFriendlyFire--> 715 </trigger> 716 </events> 717 </SimpleNotification> 718 819 <EventListener event="cruiserKilled" /> 820 </trigger> 821 </events> 822 </SimpleNotification> 823 824 <SimpleNotification message="Press 'Esc' and restart the mission." broadcast="true"> 825 <events> 826 <trigger> 827 <EventListener event="earlyEnd" /> 828 </trigger> 829 </events> 830 </SimpleNotification> 719 831 720 832 … … 1210 1322 ! Quest Interface 1211 1323 - Foolproof text messages (e.g. verspätete Nachrichten unterdrücken) 1212 - Radar visibility & Hud Markers 1213 - End Tutorial, if either the Hydrogen Farmer or the SpaceCruiser gets destroyed. 1324 - Radar visibility & Hud Markers (done) 1325 - End Tutorial, if either the Hydrogen Farmer or the SpaceCruiser gets destroyed. (~done) 1214 1326 1215 1327 -->
Note: See TracChangeset
for help on using the changeset viewer.