Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9888


Ignore:
Timestamp:
Dec 9, 2013, 4:02:50 PM (11 years ago)
Author:
schlaem
Message:
 
File:
1 edited

Legend:

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

    r9883 r9888  
    33<!--
    44To Do:
    5 - Bigger Way for guard 3 (sonst im Mainship)
    6 - Spawnpoint 3
     5- guard3 vor mainship (hood-problem)
    76- Discuss between Player and Captain Hood
    8 - Scout-way
    9 - Different Colors of the light!
    107- If possible, do the spion with DistanceTriggerBeacon
    11 - Place the explosion right (time an place)
     8- Place the explosion right (time and place)
    129- also place the docking-Trigger
    1310- bigger explosion?
     
    130127        </SpawnPoint>
    131128       
    132         <!-- Thirth Spawnpoint (when reached Captain Hood) --
    133         <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow /> <!-- pawndesign=spaceshipcollateraldamage --
     129        <!-- Thirth Spawnpoint (when reached Captain Hood) -->
     130        <SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
    134131          <events>
    135132            <activity>
    136               <EventListener event="reached" />
     133              <EventTrigger>
     134                <EventTrigger invert=true >
     135                  <events>
     136                    <trigger>
     137                      <EventListener event="timerEnd" />
     138                    </trigger>
     139                  </events>
     140                </EventTrigger>
     141                <events>
     142                  <trigger>
     143                    <EventListener event="reached" />
     144                  </trigger>
     145                </events>
     146              </EventTrigger>
    137147            </activity>
    138148          </events>
     
    208218                        <AddQuest questId="spacefight.rescue" />
    209219                        <!--
    210                         <BlinkingBillboard position="-12100, -22000, 25000" color="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" />
     220                        <BlinkingBillboard position="-12100, -22000, 25000" colour="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" />
    211221                        --
    212222                </complete-effects>
     
    228238                        <AddQuest questId="spacefight.rescue" />
    229239                        <!--
    230                         <BlinkingBillboard position="-12100, -22000, 25000" color="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" />
     240                        <BlinkingBillboard position="-12100, -22000, 25000" colour="1.0,1.0,1.0" frequency=0.6 amplitude=2 material="Examples/Flare" visibility="true" />
    231241                        --
    232242                </complete-effects>
     
    308318
    309319
    310         <BlinkingBillboard position="11000, 1000, 7000" color="1.0, 1.0, 0.05" frequency=0.5 amplitude=10 material="Examples/Flare" >
     320        <BlinkingBillboard position="11000, 1000, 7000" colour="1.0, 1.0, 0.05" frequency=0.5 amplitude=10 material="Examples/Flare" >
    311321          <events>
    312322            <visibility>
     
    606616
    607617        <!-- DistanceTrigger for spion -->
    608         <DistanceTrigger name="spionTrigger" position="15000, 1000, 25000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
     618        <Trigger name="spionTrigger" mode="and" stayActive="true">
     619          <DistanceTrigger position="15000, 1000, 25000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
     620          <EventTrigger activations="1" invert="true">
     621            <events>
     622              <trigger>
     623                <EventListener event="spion5" />
     624              </trigger>
     625            </events>
     626          </EventTrigger>
     627        </Trigger>
     628
    609629        <SimpleNotification message="Scout is arrived!"  broadcast="true">
    610630                <events>
     
    631651        </SimpleNotification>
    632652
    633         <BlinkingBillboard position="15000, 1000, 25000" color="1.0, 1.0, 0.05" frequency=0.3 amplitude=7 material="Examples/Flare" >
     653        <BlinkingBillboard position="15000, 1000, 25000" colour="1.0, 1.0, 0.05" frequency=0.3 amplitude=7 material="Examples/Flare" >
    634654          <events>
    635655            <visibility>
     
    767787
    768788        <!-- End of Mainfight -->
    769         <DistanceTrigger name="victory" position="-12000, -22000, 25000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >
    770                 <EventTrigger>
    771                         <events>
    772                                 <trigger>
    773                                         <EventListener event="guard3trigger4" />
    774                                 </trigger>
    775                         </events>
    776                 </EventTrigger>
    777         </DistanceTrigger>
     789        <Trigger name="victory1" mode="and" stayActive="true">
     790          <EventTrigger>
     791            <events>
     792              <trigger>
     793                <EventListener event="guard3trigger4" />
     794              </trigger>
     795            </events>
     796          </EventTrigger>
     797          <EventTrigger activations="1" >
     798            <events>
     799              <trigger>
     800                <EventListener event="spion5" />
     801              </trigger>
     802            </events>
     803          </EventTrigger>
     804        </Trigger>
     805
     806        <Trigger name="victory2" mode="and" stayActive="true">
     807          <EventTrigger activations="1" >
     808            <events>
     809              <trigger>
     810                <EventListener event="guard3trigger6" />
     811                </trigger>
     812            </events>
     813          </EventTrigger>
     814          <EventTrigger activations="1" >
     815            <events>
     816              <trigger>
     817                <EventListener event="spionTrigger" />
     818              </trigger>
     819            </events>
     820          </EventTrigger>
     821        </Trigger>
     822
     823        <Trigger name="victory" mode="or" stayActive="true">
     824          <EventTrigger activations="1" >
     825            <events>
     826              <trigger>
     827                <EventListener event="victory1" />
     828              </trigger>
     829            </events>
     830          </EventTrigger>
     831          <EventTrigger activations="1" >
     832            <events>
     833              <trigger>
     834                <EventListener event="victory2" />
     835              </trigger>
     836            </events>
     837          </EventTrigger>
     838        </Trigger>
     839
     840        <SimpleNotification message="YEEEHAAA! You managed it!"  broadcast="true">
     841                <events>
     842                        <trigger>
     843                                <EventListener event="victory" />
     844                        </trigger>
     845                </events>
     846        </SimpleNotification>
     847
     848        <EventTrigger name="victoryDelay1" delay=5 >
     849          <events>
     850            <trigger>
     851              <EventListener event="victory" />
     852            </trigger>
     853          </events>
     854        </EventTrigger>
     855
     856        <SimpleNotification message="For that you will get the golden medal of the united space armies."  broadcast="true">
     857                <events>
     858                        <trigger>
     859                                <EventListener event="victoryDelay1" />
     860                        </trigger>
     861                </events>
     862        </SimpleNotification>
     863
     864        <EventTrigger name="victoryDelay2" delay=5 >
     865          <events>
     866            <trigger>
     867              <EventListener event="victoryDelay1" />
     868            </trigger>
     869          </events>
     870        </EventTrigger>
     871
     872        <SimpleNotification message="Now dock at the mainship and free the Commander!"  broadcast="true">
     873                <events>
     874                        <trigger>
     875                                <EventListener event="victoryDelay2" />
     876                        </trigger>
     877                </events>
     878        </SimpleNotification>
     879
     880        <EventTrigger name="victoryDelay3" delay=5 >
     881          <events>
     882            <trigger>
     883              <EventListener event="victoryDelay2" />
     884            </trigger>
     885          </events>
     886        </EventTrigger>
     887
     888        <SimpleNotification message="The light shows you the hatch"  broadcast="true">
     889                <events>
     890                        <trigger>
     891                                <EventListener event="victoryDelay3" />
     892                        </trigger>
     893                </events>
     894        </SimpleNotification>
    778895
    779896        <!-- Rescue the commander -->
    780         <BlinkingBillboard position="-11800, -22090, 24900" color="1.0, 1.0, 0.05" frequency=0.5 amplitude=5 material="Examples/Flare" >
     897        <BlinkingBillboard position="-11800, -22090, 24900" colour="1.0, 1.0, 0.05" frequency=0.5 amplitude=5 material="Examples/Flare" >
    781898          <events>
    782899            <visibility>
     
    807924                </events>
    808925        </SimpleNotification>
    809 
    810     <EventTrigger name="dockdelay1" activations="1" stayactive="true" delay=5.1 >
    811       <events>
    812         <trigger>
    813           <EventListener event="dock" />
    814         </trigger>
    815       </events>
    816     </EventTrigger>
    817 
    818     <EventTrigger name="dockdelay2" activations="1" stayactive="true" delay=5.1 >
    819       <events>
    820         <trigger>
    821           <EventListener event="dock" />
    822         </trigger>
    823       </events>
    824     </EventTrigger>
    825 
     926       
     927        <!-- TIMER-EVENTS -->
     928        <EventTrigger name="dockdelay1" activations="1" stayactive="true" delay=5 >
     929          <events>
     930            <trigger>
     931              <EventListener event="dock" />
     932            </trigger>
     933          </events>
     934        </EventTrigger>
     935       
    826936        <SimpleNotification message="You have 10 seconds to move away..."  broadcast="true">
    827937                <events>
     
    832942        </SimpleNotification>
    833943
     944        <EventTrigger name="dockdelay2" activations="1" stayactive="true" delay=5 >
     945          <events>
     946            <trigger>
     947              <EventListener event="dock" />
     948            </trigger>
     949          </events>
     950        </EventTrigger>
     951
    834952        <SimpleNotification message="A bomb is placed in the mainship..."  broadcast="true">
    835953                <events>
     
    840958        </SimpleNotification>
    841959
    842         <!-- TIMER-EVENTS -->
    843     <EventTrigger name="timer1" activations="1" stayactive="true" delay=5.1 >
     960
     961    <EventTrigger name="timer1" activations="1" stayactive="true" delay=5 >
    844962      <events>
    845963        <trigger>
     
    865983    </EventTrigger>
    866984
    867 <!-- ----------------------------------------------------- -->
    868 
    869 <!-- EVENTTRIGGER -->
    870    
     985<!-- ----------------------------------------------------- -->   
    871986<!-- For Guard 1 -->
    872987<!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] -->
     
    9821097        </EventTrigger>
    9831098      </EventTrigger>
    984     </EventTrigger>                     
     1099    </EventTrigger>
    9851100       
    9861101<!-- ----------------------------------------------------- -->
    987 <!-- Passive Piraten: Guard 1 -->
     1102<!-- Passive Pirates: Guard 1 -->
    9881103<SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
    9891104  <events>
     
    10251140
    10261141
    1027 <!-- Angreiffende Piraten: Guard 1 -->
     1142<!-- Active Pirates: Guard 1 -->
    10281143<SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name="firstPatrol" visible="true" radarname="Patrol" >
    10291144  <events>
     
    10741189</SpaceShip>
    10751190
    1076 <!-- Angreiffende Piraten: Guard 2 -->
     1191<!-- Active Pirates: Guard 2 -->
    10771192<SpaceShip position="19000,5000,18000" lookat="19000,4900,21000" name="secondPatrol" visible="true" radarname="Patrol">
    10781193  <events>
     
    12101325        <Model mesh="cube.mesh" scale=0 position="15000, 1000, 25000" />
    12111326        <Model mesh="cube.mesh" scale=0 position="0, -10000, 42000" />
    1212         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />
    12131327      </waypoints>
    12141328      <events>
     
    12271341
    12281342<!-- Mainship - Pirates -->
    1229 <SpaceShip position="-12000, -22000, 26000" lookat="-12000, -21300, 25700" name="lastGuard" visible="true" radarname="Pirate" >
     1343<SpaceShip position="-12000, -20000, 27000" lookat="-12000, -20000, 23000" name="lastGuard" visible="true" radarname="Pirate" >
    12301344  <events>
    12311345    <visibility>
     
    12391353    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    12401354      <waypoints>
    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" />
     1355        <Model mesh="cube.mesh" scale=10 position="-12000, -20000, 23000" />
     1356        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 23000" />
     1357        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 27000" />
     1358        <Model mesh="cube.mesh" scale=10 position="-12000, -20000, 27000" />
    12491359      </waypoints>
    12501360      <events>
     
    12571367</SpaceShip>
    12581368
    1259 <SpaceShip position="-12000, -21000, 25000" lookat="-12000, -21300, 24300" name="lastGuard" visible="true" radarname="Pirate" >
     1369<SpaceShip position="-12000, -20000, 23000" lookat="-12000, -24000, 23000" name="lastGuard" visible="true" radarname="Pirate" >
    12601370  <events>
    12611371    <visibility>
     
    12691379    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    12701380      <waypoints>
    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" />
     1381        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 23000" />
     1382        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 23000" />
     1383        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 27000" />
     1384        <Model mesh="cube.mesh" scale=10 position="-12000, -20000, 23000" />
    12791385      </waypoints>
    12801386      <events>
     
    12871393</SpaceShip>
    12881394
    1289 <SpaceShip position="-12000, -22000, 24000" lookat="-12000, -22700, 24300" name="lastGuard" visible="true" radarname="Pirate" >
     1395<SpaceShip position="-12000, -24000, 23000" lookat="-12000, -24000, 23000" name="lastGuard" visible="true" radarname="Pirate" >
    12901396  <events>
    12911397    <visibility>
     
    12991405    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    13001406      <waypoints>
    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" />
     1407        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 23000" />
     1408        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 27000" />
     1409        <Model mesh="cube.mesh" scale=10 position="-12000, -20000, 23000" />
     1410        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 23000" />
    13091411      </waypoints>
    13101412      <events>
     
    13171419</SpaceShip>
    13181420
    1319 <SpaceShip position="-12000, -23000, 25000" lookat="-12000, -22700, 25700" name="lastGuard" visible="true" radarname="Pirate" >
     1421<SpaceShip position="-12000, -24000, 23000" lookat="-12000, -24000, 27000" name="lastGuard" visible="true" radarname="Pirate" >
    13201422  <events>
    13211423    <visibility>
     
    13291431    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    13301432      <waypoints>
    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" />
     1433        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 27000" />
     1434        <Model mesh="cube.mesh" scale=10 position="-12000, -20000, 23000" />       
     1435        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 23000" />
     1436        <Model mesh="cube.mesh" scale=10 position="-12000, -24000, 23000" />
    13391437      </waypoints>
    13401438      <events>
     
    13481446
    13491447<!-- Additional pirates if the spion has warned the mainship -->
    1350 <SpaceShip position="-11700, -21700, 25000" lookat="-11000, -22000, 25000" name="lastGuard" visible="true" radarname="Pirate" >
     1448<SpaceShip position="-10000, -22000, 25000" lookat="-10000, -24000, 25000" name="lastGuard" visible="true" radarname="Pirate" >
    13511449  <events>
    13521450    <visibility>
     
    13601458    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    13611459      <waypoints>
    1362         <Model mesh="cube.mesh" scale=0 position="-11000, -22000, 25000" />
    1363         <Model mesh="cube.mesh" scale=0 position="-11300, -22700, 25000" />
    1364         <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" />
    1365         <Model mesh="cube.mesh" scale=0 position="-12700, -22700, 25000" />
    1366         <Model mesh="cube.mesh" scale=0 position="-13000, -22000, 25000" />
    1367         <Model mesh="cube.mesh" scale=0 position="-12700, -21300, 25000" />
    1368         <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" />
    1369         <Model mesh="cube.mesh" scale=0 position="-11300, -21300, 25000" />
     1460        <Model mesh="cube.mesh" scale=0 position="-10000, -24000, 25000" />
     1461        <Model mesh="cube.mesh" scale=0 position="-14000, -24000, 25000" />
     1462        <Model mesh="cube.mesh" scale=0 position="-14000, -20000, 25000" />
     1463        <Model mesh="cube.mesh" scale=0 position="-10000, -20000, 25000" />
    13701464      </waypoints>
    13711465      <events>
     
    13781472</SpaceShip>
    13791473
    1380 <SpaceShip position="-12700, -22700, 25000" lookat="-13000, -22000, 25000" name="lastGuard" visible="true" radarname="Pirate" >
     1474<SpaceShip position="-14000, -22000, 25000" lookat="-14000, -20000, 25000" name="lastGuard" visible="true" radarname="Pirate" >
    13811475  <events>
    13821476    <visibility>
     
    13901484    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    13911485      <waypoints>
    1392         <Model mesh="cube.mesh" scale=0 position="-13000, -22000, 25000" />
    1393         <Model mesh="cube.mesh" scale=0 position="-12700, -21300, 25000" />
    1394         <Model mesh="cube.mesh" scale=0 position="-12000, -21000, 25000" />
    1395         <Model mesh="cube.mesh" scale=0 position="-11300, -21300, 25000" />
    1396         <Model mesh="cube.mesh" scale=0 position="-11000, -22000, 25000" />
    1397         <Model mesh="cube.mesh" scale=0 position="-11300, -22700, 25000" />
    1398         <Model mesh="cube.mesh" scale=0 position="-12000, -23000, 25000" />
    1399         <Model mesh="cube.mesh" scale=0 position="-12700, -22700, 25000" />
     1486        <Model mesh="cube.mesh" scale=0 position="-14000, -20000, 25000" />
     1487        <Model mesh="cube.mesh" scale=0 position="-10000, -20000, 25000" />
     1488        <Model mesh="cube.mesh" scale=0 position="-10000, -24000, 25000" />
     1489        <Model mesh="cube.mesh" scale=0 position="-14000, -24000, 25000" />
    14001490      </waypoints>
    14011491      <events>
     
    14191509  </templates>
    14201510  <controller>
    1421     <WaypointPatrolController alertnessradius=2000 team=0 active=false>
     1511    <WaypointPatrolController alertnessradius=5000 team=0 active=false>
    14221512      <waypoints>
    1423         <Model mesh="cube.mesh" scale=0 position="0, -1000, 18000" />
    14241513        <Model mesh="cube.mesh" scale=0 position="-4000, -18000, 19000" />
    14251514        <Model mesh="cube.mesh" scale=0 position="-11500, -22000, 25000" />
     
    14341523</SpaceShip>
    14351524
    1436 <BlinkingBillboard position="10000, 2000, 17000" color="1.0, 1.0, 0.05" frequency=0.5 amplitude=20 material="Examples/Flare" >
     1525<BlinkingBillboard position="10000, 2000, 17000" colour="1.0, 1.0, 0.05" frequency=0.5 amplitude=20 material="Examples/Flare" >
    14371526  <events>
    14381527    <visibility>
     
    15881677        visible   = "true" >
    15891678      <controller>
    1590         <WaypointPatrolController alertnessradius=2000 team=0 active=false>
     1679        <WaypointController team=1 active="true" >
    15911680          <waypoints/>
    15921681          <events>
     
    15951684            </activity>
    15961685          </events>
    1597         </WaypointPatrolController>
     1686        </WaypointController>
    15981687      </controller>
    15991688      <attached>
    1600         <Model scale=250 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" />
     1689        <Model scale=200 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" />
    16011690   <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245"  />
    16021691        <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 />
Note: See TracChangeset for help on using the changeset viewer.