Changeset 10740
- Timestamp:
- Nov 1, 2015, 2:04:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10735 r10740 70 70 <AddQuest questId="quest2.1" /> 71 71 <AddQuest questId="quest2.2" /> 72 <AddQuest questId="quest2.3" />73 72 </complete-effects> 74 73 </GlobalQuest> … … 83 82 </GlobalQuest> 84 83 <GlobalQuest id="quest2.2"> 85 <QuestDescription title="Get some Pickups" description="" failMessage="" completeMessage="" />86 </GlobalQuest>87 <GlobalQuest id="quest2.3">88 84 <QuestDescription title="Meet your Unit" description="" failMessage="" completeMessage="" /> 89 85 </GlobalQuest> … … 162 158 _spawntrigger 163 159 _reachedA 160 _dock<A|B|C> 161 _docked<A> WIP; see below 162 -joinedUnit 164 163 _wave<k> 165 164 _killedEnemy<k>.<i> … … 175 174 </EventMultiTrigger> 176 175 177 <DistanceTrigger name="reachedA" position="5000,-3000,0" distance=1500 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true /> 178 179 <EventMultiTrigger name="wave1" activations="1" stayactive="true" > 176 <DistanceTrigger name="reachedA" position="5000,-3000,0" distance=1000 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true /> 177 178 <!-- TODO: find out how to link an event to the COMPLETION of a dock. How is this not possible?? --> 179 <EventMultiTrigger name="dockedA" activations="1" stayactive="true" delay=2> 180 180 <events> 181 181 <trigger> 182 182 <EventListener event="dockA" /> 183 </trigger> 184 </events> 185 </EventMultiTrigger> 186 187 <!-- TODO: fictive unit; to be added later --> 188 <DistanceTrigger name="joinedUnit" position="3500,-1500,0" distance=10 target="SpaceShip" beaconMode="exclude" targetname="NPC" stayactive=true /> 189 <Billboard position="3500,-1500,0" amplitude=1 material="Flares/lensflare" colour="1,0,0.05" /> <!-- For debugging puropses --> 190 191 <EventMultiTrigger name="wave1" activations="1" stayactive="true" delay=4> 192 <events> 193 <trigger> 194 <EventListener event="joinedUnit" /> 183 195 </trigger> 184 196 </events> … … 218 230 <?lua end ?> 219 231 220 <!-- This trigger needs fixing, as endMission can only be called by a Pawn Distance Trigger. Herpaderp --> 221 <EventMultiTrigger name="missionFailed" target="Pawn" stayActive="true" delay=1.5> 222 <events> 223 <trigger> 224 <EventListener event="transporter" /> 225 </trigger> 226 </events> 227 </EventMultiTrigger> 228 229 <Script code="Mission endMission fail" onLoad="false" times="1"> 232 <!-- FIXME: This trigger needs fixing, as endMission can only be called by a Pawn Distance Trigger. Herpaderp. 233 Also, the fix proposed in MissionOne does not work anymore... --> 234 <EventMultiTrigger name="missionFailed" target="Pawn" stayActive="true" delay=1.5> 235 <events> 236 <trigger> 237 <EventListener event="transporter" /> 238 </trigger> 239 </events> 240 </EventMultiTrigger> 241 242 <Script code="Mission endMission fail" onLoad="false"> 230 243 <events> 231 244 <trigger> … … 265 278 <events> 266 279 <execute> 267 <EventListener event="dock A" />280 <EventListener event="dockedA" /> 268 281 </execute> 269 282 </events> … … 283 296 <!--NOTIFICATIONS --> 284 297 285 <SimpleNotification broadcast="true" message="Welcome, Commander. Please report at Station A"> 286 <events> 287 <trigger> 288 <EventListener event="spawntrigger" /> 298 <SimpleNotification broadcast="true" message="Welcome, Commander. Please report at Station A."> 299 <events> 300 <trigger> 301 <EventTrigger stayactive="true" delay=4 > 302 <events> 303 <trigger> 304 <EventListener event="spawntrigger" /> 305 </trigger> 306 </events> 307 </EventTrigger> 308 </trigger> 309 </events> 310 </SimpleNotification> 311 312 <SimpleNotification broadcast="true" message="Our enemy is set to attack us very soon."> 313 <events> 314 <trigger> 315 <EventTrigger stayactive="true" delay=8 > 316 <events> 317 <trigger> 318 <EventListener event="spawntrigger" /> 319 </trigger> 320 </events> 321 </EventTrigger> 322 </trigger> 323 </events> 324 </SimpleNotification> 325 326 <SimpleNotification broadcast="true" message="Please study your mission briefing!"> 327 <events> 328 <trigger> 329 <EventTrigger stayactive="true" delay=12 > 330 <events> 331 <trigger> 332 <EventListener event="spawntrigger" /> 333 </trigger> 334 </events> 335 </EventTrigger> 336 </trigger> 337 </events> 338 </SimpleNotification> 339 340 <SimpleNotification broadcast="true" message="Welcome to Station A, Commander."> 341 <events> 342 <trigger> 343 <EventListener event="reachedA" /> 344 </trigger> 345 </events> 346 </SimpleNotification> 347 348 <SimpleNotification broadcast="true" message="We've prepared a reinforced Ship for you."> 349 <events> 350 <trigger> 351 <EventTrigger stayactive="true" delay=4 > 352 <events> 353 <trigger> 354 <EventListener event="reachedA" /> 355 </trigger> 356 </events> 357 </EventTrigger> 358 </trigger> 359 </events> 360 </SimpleNotification> 361 362 <SimpleNotification broadcast="true" message="Now join our defense Team."> 363 <events> 364 <trigger> 365 <EventListener event="dockedA" /> 289 366 </trigger> 290 367 </events> … … 444 521 template = "spaceshipassff2" 445 522 team = "0" 446 position = " 7500,-5500,0"523 position = "4100,-2100,0" 447 524 orientation = "-0.14, 0.68, 0.68, 0.223" 448 525 health = "400" … … 455 532 reloadrate = "1" 456 533 reloadwaittime = "1" 457 name = " cruiser"458 radarname = " Spacecruiser" >534 name = "newSpaceShip" 535 radarname = "Defender" > 459 536 <attached> 460 537 <DockingTarget name="newSpaceShip" /> 538 <DistanceTriggerBeacon name="newSpaceShip" /> 461 539 </attached> 462 540 </SpaceShip> 463 541 464 542 <!-- FPS Player as destination of dock C--> 465 <FpsPlayer te mplate = "fps" radarname = "First Person Player" position = "0,-2300,1201">543 <FpsPlayer team=0 template = "fps" radarname = "First Person Player" position = "0,-2300,1201"> 466 544 <attached> 467 545 <DockingTarget name="fpsMode" /> … … 486 564 dofile("includes/asteroidField.lua") 487 565 asteroidBelt(0,-2000, 0, 30, 0, 5, 20, 40, 500, 3300, 75, 0) 488 ?>489 490 <?lua491 --[[492 dofile("includes/fog.lua")493 fogField(0,0,500,150,20)494 ]]--495 566 ?> 496 567 … … 536 607 <?lua end ?> 537 608 <?lua end ?> 609 610 <Formation> 611 612 </Formation> 538 613 539 614 <!-- Transporter, starting Point is near A, end Point near B, the circle parameters for the waypoints are: Center = (0, -887, 0), r = 2613 -->
Note: See TracChangeset
for help on using the changeset viewer.