Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2013, 2:28:00 PM (11 years ago)
Author:
schlaem
Message:

in progress…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/levelMichael/data/levels/Spacefight.oxw

    r9873 r9883  
    5555    targets="simpleNotification"
    5656    size=3
    57     displayTime=5.0
     57    displayTime=4.9
    5858    position="0.2, 0, 0.1, 0"
    5959    fontSize="23"
     
    143143
    144144        <!-- Drone pickup -->
    145         <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="20" respawnTime="30" maxSpawnedItems="2" />
     145        <PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="100" respawnTime="30" maxSpawnedItems="2" />
    146146
    147147<!-- QUEST DESCRIPTION --
     
    291291        </SimpleNotification>
    292292
    293         <EventTrigger name="flying1delay" activations="1" stayactive="true" delay=0.1 >
     293        <EventTrigger name="flying1delay" activations="1" stayactive="true" delay=5.1 >
    294294          <events>
    295295            <trigger>
     
    364364        </QuestEffectBeacon>
    365365
    366         <SimpleNotification message="Well done! Catch the scout!"  broadcast="true">
    367                 <events>
    368                         <trigger>
    369                                 <EventListener event="flying2" />
    370                         </trigger>
    371                 </events>
    372         </SimpleNotification>
    373 
    374         <EventTrigger name="flying2delay" activations="1" stayactive="true" delay=0.1 >
    375           <events>
    376             <trigger>
    377               <EventListener event="flying2" />
    378             </trigger>
    379           </events>
    380         </EventTrigger>
    381 
    382         <SimpleNotification message="Before he reachs the light!"  broadcast="true" >
    383                 <events>
    384                         <trigger>
    385                                 <EventListener event="flying2delay" />
    386                         </trigger>
    387                 </events>
    388         </SimpleNotification>
    389 
    390366        <!-- ESCAPE -->
    391367        <SimpleNotification message="A scout is startet to the mainship!"  broadcast="true">
     
    510486        <!-- Trigger to activate the upgrade1-Quest -->
    511487        <DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=2000 stayActive="true" delay=0.1 />
    512         <SimpleNotification message="Upgrade?"  broadcast="true">
     488        <SimpleNotification message="Need an Upgrade?"  broadcast="true">
    513489                <events>
    514490                        <trigger>
     
    518494        </SimpleNotification>
    519495
    520         <SimpleNotification message="Search the drone!"  broadcast="true" delay=5.0 >
    521                 <events>
    522                         <trigger>
    523                                 <EventListener event="droneTrigger" />
     496                <EventTrigger name="droneTriggerDelay" stayactive="true" delay=5 >
     497                        <events>
     498                                <trigger>
     499                                        <EventListener event="droneTrigger" />
     500                                </trigger>
     501                        </events>
     502                </EventTrigger>
     503
     504        <SimpleNotification message="Search the drone!"  broadcast="true" >
     505                <events>
     506                        <trigger>
     507                                <EventListener event="droneTriggerDelay" />
    524508                        </trigger>
    525509                </events>
     
    528512
    529513        <!-- Helper-Trigger for the drone(s) -->
    530         <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=20 stayActive="true" delay=0.1 />
     514        <DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=100 stayActive="true" delay=0.1 />
    531515        <SimpleNotification message="Now your are prepared best!"  broadcast="true">
    532516                <events>
    533517                        <trigger>
    534518                                <EventListener event="drone1" />
     519                        </trigger>
     520                </events>
     521        </SimpleNotification>
     522
     523        <EventTrigger name="drone1Delay" stayactive="true" delay=5.1 >
     524                <events>
     525                        <trigger>
     526                                <EventListener event="drone1" />
     527                        </trigger>
     528                </events>
     529        </EventTrigger>
     530
     531        <SimpleNotification message="Fly back to the light..."  broadcast="true">
     532                <events>
     533                        <trigger>
     534                                <EventListener event="drone1Delay" />
    535535                        </trigger>
    536536                </events>
     
    546546                        </events>
    547547                </EventTrigger>
    548         </DistanceTrigger>
     548        </DistanceTrigger>     
     549
     550        <SimpleNotification message="Well done!"  broadcast="true">
     551                <events>
     552                        <trigger>
     553                                <EventListener event="flying2" />
     554                        </trigger>
     555                </events>
     556        </SimpleNotification>
     557
     558        <Trigger name="guard2withoutSpion" mode="and" stayActive="true" delay=0 >
     559          <EventTrigger activations="1" >
     560            <events>
     561              <trigger>
     562                <EventListener event="flying2" />
     563              </trigger>
     564            </events>
     565          </EventTrigger>
     566          <EventTrigger activations="1" invert="true" >
     567            <events>
     568              <trigger>
     569                <EventListener event="spionEnd" />
     570              </trigger>
     571            </events>
     572          </EventTrigger>
     573        </Trigger>
     574
     575        <EventTrigger name="flying2delay1" activations="1" stayactive="true" delay=5 >
     576          <events>
     577            <trigger>
     578              <EventListener event="guard2withoutSpion" />
     579            </trigger>
     580          </events>
     581        </EventTrigger>
     582
     583        <SimpleNotification message="Catch the scout!"  broadcast="true" >
     584                <events>
     585                        <trigger>
     586                                <EventListener event="flying2delay1" />
     587                        </trigger>
     588                </events>
     589        </SimpleNotification>
     590
     591        <EventTrigger name="flying2delay2" activations="1" stayactive="true" delay=5 >
     592          <events>
     593            <trigger>
     594              <EventListener event="flying2delay1" />
     595            </trigger>
     596          </events>
     597        </EventTrigger>
     598
     599        <SimpleNotification message="Before he reachs the light..."  broadcast="true" >
     600                <events>
     601                        <trigger>
     602                                <EventListener event="flying2delay2" />
     603                        </trigger>
     604                </events>
     605        </SimpleNotification>
    549606
    550607        <!-- DistanceTrigger for spion -->
    551         <DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
     608        <DistanceTrigger name="spionTrigger" position="15000, 1000, 25000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
    552609        <SimpleNotification message="Scout is arrived!"  broadcast="true">
    553610                <events>
    554611                        <trigger>
    555612                                <EventListener event="spionTrigger" />
     613                        </trigger>
     614                </events>
     615        </SimpleNotification>
     616
     617        <EventTrigger name="spionTriggerDelay" stayactive="true" delay=5 >
     618                <events>
     619                        <trigger>
     620                                <EventListener event="spionTrigger" />
     621                        </trigger>
     622                </events>
     623        </EventTrigger>
     624
     625        <SimpleNotification message="Now the mainship is alarmed..."  broadcast="true">
     626                <events>
     627                        <trigger>
     628                                <EventListener event="spionTriggerDelay" />
     629                        </trigger>
     630                </events>
     631        </SimpleNotification>
     632
     633        <BlinkingBillboard position="15000, 1000, 25000" color="1.0, 1.0, 0.05" frequency=0.3 amplitude=7 material="Examples/Flare" >
     634          <events>
     635            <visibility>
     636              <EventTrigger>
     637                <EventTrigger invert=true>
     638                  <events>
     639                    <trigger>
     640                      <EventListener event="spionEnd" />
     641                    </trigger>
     642                  </events>
     643                </EventTrigger>
     644                <events>
     645                  <trigger>
     646                    <EventListener event="guard2trigger1" />
     647                  </trigger>
     648                </events>
     649              </EventTrigger>
     650            </visibility>
     651          </events>
     652        </BlinkingBillboard>
     653
     654        <!-- If spion destroyed -->
     655        <SimpleNotification message="Scout destroyed!"  broadcast="true">
     656                <events>
     657                        <trigger>
     658                                <EventListener event="spion5" />
     659                        </trigger>
     660                </events>
     661        </SimpleNotification>
     662
     663        <!-- Spion end -->
     664        <Trigger name="spionEnd" mode="or" stayActive="true" delay=0 >
     665          <EventTrigger activations="1" >
     666            <events>
     667              <trigger>
     668                <EventListener event="spion5" />
     669              </trigger>
     670            </events>
     671          </EventTrigger>
     672          <EventTrigger activations="1" >
     673            <events>
     674              <trigger>
     675                <EventListener event="spionTrigger" />
     676              </trigger>
     677            </events>
     678          </EventTrigger>
     679        </Trigger>
     680
     681        <EventTrigger name="spionEndDelay" activations="1" delay=5>
     682          <events>
     683            <trigger>
     684              <EventListener event="spionEnd" />
     685            </trigger>
     686          </events>
     687        </EventTrigger>
     688
     689        <!-- Intro to Captain Hood -->
     690        <Trigger name="introHood" mode="and" stayActive="true">
     691          <EventTrigger activations="1" >
     692            <events>
     693              <trigger>
     694                <EventListener event="spionEndDelay" />
     695              </trigger>
     696            </events>
     697          </EventTrigger>
     698          <EventTrigger activations="1" >
     699            <events>
     700              <trigger>
     701                <EventListener event="guard2trigger4" />
     702              </trigger>
     703            </events>
     704          </EventTrigger>
     705        </Trigger>
     706
     707        <EventTrigger name="introHoodDelay1" activations="1" stayactive="true" delay=5 >
     708          <events>
     709            <trigger>
     710              <EventListener event="introHood" />
     711            </trigger>
     712          </events>
     713        </EventTrigger>
     714
     715        <SimpleNotification message="Your friend, Captain Hood, is near by you!"  broadcast="true">
     716                <events>
     717                        <trigger>
     718                                <EventListener event="introHoodDelay1" />
     719                        </trigger>
     720                </events>
     721        </SimpleNotification>
     722
     723        <EventTrigger name="introHoodDelay2" activations="1" stayactive="true" delay=5 >
     724          <events>
     725            <trigger>
     726              <EventListener event="introHoodDelay1" />
     727            </trigger>
     728          </events>
     729        </EventTrigger>
     730
     731        <SimpleNotification message="He'll show you the way to the mainship!"  broadcast="true">
     732                <events>
     733                        <trigger>
     734                                <EventListener event="introHoodDelay2" />
    556735                        </trigger>
    557736                </events>
     
    576755                </events>
    577756        </SimpleNotification>   
    578 
    579         <!-- If spion destroyed -->
    580         <SimpleNotification message="Scout destroyed!"  broadcast="true">
    581                 <events>
    582                         <trigger>
    583                                 <EventListener event="spion5" />
    584                         </trigger>
    585                 </events>
    586         </SimpleNotification>
    587 
    588         <EventTrigger name="spion5delay1" activations="1" stayactive="true" delay=5.0 >
    589           <events>
    590             <trigger>
    591               <EventListener event="spion5" />
    592             </trigger>
    593           </events>
    594         </EventTrigger>
    595 
    596         <SimpleNotification message="Your friend, Captain Hood, is near by you!"  broadcast="true">
    597                 <events>
    598                         <trigger>
    599                                 <EventListener event="spion5delay1" />
    600                         </trigger>
    601                 </events>
    602         </SimpleNotification>
    603 
    604         <EventTrigger name="spion5delay2" activations="1" stayactive="true" delay=5.0 >
    605           <events>
    606             <trigger>
    607               <EventListener event="spion5delay1" />
    608             </trigger>
    609           </events>
    610         </EventTrigger>
    611 
    612         <SimpleNotification message="He'll show you the way to the mainship!"  broadcast="true">
    613                 <events>
    614                         <trigger>
    615                                 <EventListener event="spion5delay2" />
    616                         </trigger>
    617                 </events>
    618         </SimpleNotification>
    619757
    620758        <!-- Trigger for Monologue from Captain Hood -->
     
    670808        </SimpleNotification>
    671809
    672     <EventTrigger name="dockdelay1" activations="1" stayactive="true" delay=5 >
     810    <EventTrigger name="dockdelay1" activations="1" stayactive="true" delay=5.1 >
    673811      <events>
    674812        <trigger>
     
    703841
    704842        <!-- TIMER-EVENTS -->
    705     <EventTrigger name="timer1" activations="1" stayactive="true" delay=5 >
     843    <EventTrigger name="timer1" activations="1" stayactive="true" delay=5.1 >
    706844      <events>
    707845        <trigger>
     
    10701208    <WaypointController team=1>
    10711209      <waypoints>
    1072         <Model mesh="cube.mesh" scale=100 position="0,-10000,42000" />
     1210        <Model mesh="cube.mesh" scale=0 position="15000, 1000, 25000" />
     1211        <Model mesh="cube.mesh" scale=0 position="0, -10000, 42000" />
    10731212        <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />
    10741213      </waypoints>
     
    11001239    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    11011240      <waypoints>
    1102         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" />
    1103         <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" />
    1104         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" />
    1105         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" />
    1106         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" />
    1107         <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" />
    1108         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" />
    1109         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />
     1241        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 25700" />
     1242        <Model mesh="cube.mesh" scale=10 position="-12000, -21000, 25000" />
     1243        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 24300" />
     1244        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 24000" />
     1245        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 24300" />
     1246        <Model mesh="cube.mesh" scale=10 position="-12000, -23000, 25000" />
     1247        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 25700" />
     1248        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 25000" />
    11101249      </waypoints>
    11111250      <events>
     
    11301269    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    11311270      <waypoints>
    1132         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" />
    1133         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" />
    1134         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" />
    1135         <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" />
    1136         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" />
    1137         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />       
    1138         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" />
    1139         <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" />
     1271        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 24300" />
     1272        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 24000" />
     1273        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 24300" />
     1274        <Model mesh="cube.mesh" scale=10 position="-12000, -23000, 25000" />
     1275        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 25700" />
     1276        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 25000" />       
     1277        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 25700" />
     1278        <Model mesh="cube.mesh" scale=10 position="-12000, -21000, 25000" />
    11401279      </waypoints>
    11411280      <events>
     
    11601299    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    11611300      <waypoints>
    1162         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" />
    1163         <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" />
    1164         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" />
    1165         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />       
    1166         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" />
    1167         <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" />
    1168         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" />
    1169         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" />
     1301        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 24300" />
     1302        <Model mesh="cube.mesh" scale=10 position="-12000, -23000, 25000" />
     1303        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 25700" />
     1304        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 25000" />       
     1305        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 25700" />
     1306        <Model mesh="cube.mesh" scale=10 position="-12000, -21000, 25000" />
     1307        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 24300" />
     1308        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 24000" />
    11701309      </waypoints>
    11711310      <events>
     
    11901329    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    11911330      <waypoints>
    1192         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" />
    1193         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />       
    1194         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" />
    1195         <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" />
    1196         <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" />
    1197         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 24000" />
    1198         <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" />
    1199         <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" />
     1331        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 25700" />
     1332        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 25000" />       
     1333        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 25700" />
     1334        <Model mesh="cube.mesh" scale=10 position="-12000, -21000, 25000" />
     1335        <Model mesh="cube.mesh" scale=10 position="-12000, -21300, 24300" />
     1336        <Model mesh="cube.mesh" scale=10 position="-12000, -22000, 24000" />
     1337        <Model mesh="cube.mesh" scale=10 position="-12000, -22700, 24300" />
     1338        <Model mesh="cube.mesh" scale=10 position="-12000, -23000, 25000" />
    12001339      </waypoints>
    12011340      <events>
     
    13241463</SimpleNotification>
    13251464
    1326 <EventTrigger name="frienddelay" activations="1" stayactive="true" delay=5.0 >
     1465<EventTrigger name="frienddelay" activations="1" stayactive="true" delay=5.1 >
    13271466  <events>
    13281467    <trigger>
     
    13521491                pitch="-90"
    13531492                roll="0"
    1354                 scale="300"
     1493                scale="200"
    13551494                mesh="asteroid_ice.mesh" />
    13561495
     
    14481587        radarname = "Mainship"
    14491588        visible   = "true" >
     1589      <controller>
     1590        <WaypointPatrolController alertnessradius=2000 team=0 active=false>
     1591          <waypoints/>
     1592          <events>
     1593            <activity>
     1594              <EventListener event=spawntrigger2 />
     1595            </activity>
     1596          </events>
     1597        </WaypointPatrolController>
     1598      </controller>
    14501599      <attached>
    14511600        <Model scale=250 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" />
Note: See TracChangeset for help on using the changeset viewer.