Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9843


Ignore:
Timestamp:
Dec 2, 2013, 2:48:29 PM (11 years ago)
Author:
schlaem
Message:

in progress…

File:
1 edited

Legend:

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

    r9826 r9843  
    8383
    8484
    85         <SpawnPoint team=0 position="-10000, -22000, 25000" lookat="18000,5000,21000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage -->
     85        <SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow delay=0.1><!-- pawndesign=spaceshipcollateraldamage -->
    8686          <events>
    8787            <activity>
     
    9191        </SpawnPoint>
    9292
    93 <!-- ZUM TESTEN ("-12000, -22000, 25000") 13500, 2500, 11000--
    94         <DistanceTrigger name=spawntrigger2 position="-10000, -22000, 25000" target="SpaceShip" distance=10 stayActive="true" delay=0 />
    95         <DistanceTrigger name="flying1" position="-10000, -22000, 25000" target="SpaceShip" distance=10 stayActive="true" delay=0 />
    96 -->
    9793        <!-- Distance-Spawn-Trigger -->
    9894        <DistanceTrigger name=spawntrigger2 position="0, 0, 0" target="SpaceShip" distance=10 stayActive="true" delay=0 />
     
    239235        </QuestEffectBeacon>
    240236
    241         <SimpleNotification message="The blinking light shows you the way!"  broadcast="true">
     237        <SimpleNotification message="Well done!"  broadcast="true">
    242238                <events>
    243239                        <trigger>
     
    247243        </SimpleNotification>
    248244
    249 
    250         <BlinkingBillboard position="13500, 2500, 10500" color="1.0, 1.0, 0.05" frequency=0.6 amplitude=10 material="Examples/Flare" >
     245        <SimpleNotification message="The blinking light shows you the way!"  broadcast="true" >
     246                <events>
     247                        <trigger>
     248                                <EventListener event="flying1" />
     249                        </trigger>
     250                </events>
     251        </SimpleNotification>
     252
     253
     254        <BlinkingBillboard position="11000, 1000, 7000" color="1.0, 1.0, 0.05" frequency=0.5 amplitude=10 material="Examples/Flare" >
    251255          <events>
    252256            <visibility>
     
    303307                </events>
    304308        </QuestEffectBeacon>
    305 <!--
    306         <SimpleNotification message="Well done! Catch the spion!"  broadcast="true">
     309
     310        <SimpleNotification message="Well done! Catch the scout!"  broadcast="true">
    307311                <events>
    308312                        <trigger>
     
    311315                </events>
    312316        </SimpleNotification>
    313 -->
     317
     318        <SimpleNotification message="before he reachs the light!"  broadcast="true" delay=5.0 >
     319                <events>
     320                        <trigger>
     321                                <EventListener event="flying2" />
     322                        </trigger>
     323                </events>
     324        </SimpleNotification>
     325
    314326        <!-- ESCAPE -->
    315         <SimpleNotification message="A spion is startet to the mainship!"  broadcast="true">
     327        <SimpleNotification message="A scout is startet to the mainship!"  broadcast="true">
    316328                <events>
    317329                        <trigger>
     
    332344        </QuestEffectBeacon>
    333345
    334         <BlinkingBillboard position="13500, 2500, 10500" color="1.0, 1.0, 0.05" frequency=0.6 amplitude=10 material="Examples/Flare" >
    335           <events>
    336             <visibility>
    337               <EventTrigger>
    338                 <EventTrigger invert=true>
    339                   <events>
    340                     <trigger>
    341                       <EventListener event="flying2" />
    342                     </trigger>
    343                   </events>
    344                 </EventTrigger>
    345                 <events>
    346                   <trigger>
    347                     <EventListener event="flying1" />
    348                   </trigger>
    349                 </events>
    350               </EventTrigger>
    351             </visibility>
    352           </events>
    353         </BlinkingBillboard>
    354        
    355346        <!-- ESCAPE ENDING -->
    356347        <!-- Spion escaped -->
     
    452443                </EventTrigger>
    453444        </DistanceTrigger>
    454         <SimpleNotification message="flying1"  broadcast="true">
    455                 <events>
    456                         <trigger>
    457                                 <EventListener event="flying1" />
    458                         </trigger>
    459                 </events>
    460         </SimpleNotification>   
    461445
    462446        <!-- Trigger to activate the upgrade1-Quest -->
    463         <DistanceTrigger name="droneTrigger" position="13500, 2500, 10500" target="SpaceShip" distance=2000 stayActive="true" delay=0.1 />
    464         <SimpleNotification message="Search the drone!?"  broadcast="true">
     447        <DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=2000 stayActive="true" delay=0.1 />
     448        <SimpleNotification message="Upgrade?"  broadcast="true">
     449                <events>
     450                        <trigger>
     451                                <EventListener event="droneTrigger" />
     452                        </trigger>
     453                </events>
     454        </SimpleNotification>
     455
     456        <SimpleNotification message="Search the drone!"  broadcast="true" delay=5.0 >
    465457                <events>
    466458                        <trigger>
     
    491483                </EventTrigger>
    492484        </DistanceTrigger>
    493 
    494         <SimpleNotification message="flying2"  broadcast="true">
    495                 <events>
    496                         <trigger>
    497                                 <EventListener event="flying2" />
    498                         </trigger>
    499                 </events>
    500         </SimpleNotification>
    501485       
    502486        <!-- Helper-Trigger for the Escape-Quest -->
     
    510494                </EventTrigger>
    511495        </DistanceTrigger>
    512         <SimpleNotification message="escape10"  broadcast="true">
    513                 <events>
    514                         <trigger>
    515                                 <EventListener event="escape10" />
    516                         </trigger>
    517                 </events>
    518         </SimpleNotification>   
    519 
    520 
    521496
    522497        <!-- DistanceTrigger for spion -->
     
    526501                        <trigger>
    527502                                <EventListener event="spionTrigger" />
     503                        </trigger>
     504                </events>
     505        </SimpleNotification>   
     506
     507        <!-- Helper-Trigger for Captain Hood -->
     508        <DistanceTrigger name="reached" position="10000, 2000, 17000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 />
     509        <SimpleNotification message="Follow Captain Hood!"  broadcast="true">
     510                <events>
     511                        <trigger>
     512                                <EventListener event="reached" />
    528513                        </trigger>
    529514                </events>
     
    550535                </EventTrigger>
    551536        </DistanceTrigger>
    552         <SimpleNotification message="Spion destroyed!"  broadcast="true">
    553                 <events>
    554                         <trigger>
    555                                 <EventListener event="destroyed" />
     537
     538        <SimpleNotification message="Scout destroyed!"  broadcast="true">
     539                <events>
     540                        <trigger>
     541                                <EventListener event="spion5" />
    556542                        </trigger>
    557543                </events>
    558544        </SimpleNotification>
    559545
    560         <BlinkingBillboard position="0,-10000,42000" frequency=0.5 color="1.0,1.0,1.0" amplitude=10 material="Examples/Flare" />
    561        
     546        <EventTrigger name="spion5delay1" activations="1" stayactive="true" delay=5.0 >
     547          <events>
     548            <trigger>
     549              <EventListener event="spion5" />
     550            </trigger>
     551          </events>
     552        </EventTrigger>
     553
     554        <SimpleNotification message="Your friend, Captain Hood, is near by you!"  broadcast="true">
     555                <events>
     556                        <trigger>
     557                                <EventListener event="spion5delay1" />
     558                        </trigger>
     559                </events>
     560        </SimpleNotification>
     561
     562        <EventTrigger name="spion5delay2" activations="1" stayactive="true" delay=5.0 >
     563          <events>
     564            <trigger>
     565              <EventListener event="spion5delay1" />
     566            </trigger>
     567          </events>
     568        </EventTrigger>
     569
     570        <SimpleNotification message="He'll show you the way to the mainship!"  broadcast="true">
     571                <events>
     572                        <trigger>
     573                                <EventListener event="spion5delay2" />
     574                        </trigger>
     575                </events>
     576        </SimpleNotification>
    562577
    563578        <!-- Rescue the commander -->
     
    640655          </events>
    641656        </EventTrigger>
    642 
    643         <SimpleNotification message="spion5"  broadcast="true">
    644                 <events>
    645                         <trigger>
    646                                 <EventListener event="spion5" />
    647                         </trigger>
    648                 </events>
    649         </SimpleNotification>
    650657
    651658<!-- For last fight -->
     
    908915
    909916<!-- Escape-Ship (Spion) -->
    910 <SpaceShip position="17000,4000,19000" lookat="-12000, -22000, 25000" name="spion" visible="true" radarname="Spion" >
     917<SpaceShip position="17000,4000,19000" lookat="-12000, -22000, 25000" name="spion" visible="true" radarname="Scout" >
    911918  <events>
    912919    <visibility>
     
    920927    <WaypointController team=1>
    921928      <waypoints>
    922         <Model mesh="cube.mesh" scale=0 position="15000,4000,19000" /> <!-- "-7000,-10000,42000" -->
     929        <Model mesh="cube.mesh" scale=100 position="-7000,-10000,42000" /> <!-- "-7000,-10000,42000" -->
    923930        <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />
    924931      </waypoints>
     
    938945
    939946<!-- Mainship - Pirates -->
    940 
    941947<SpaceShip position="-12000, -22000, 26000" lookat="-12000, -21300, 25700" name="lastGuard" visible="true" radarname="Pirate" >
    942948  <events>
    943949    <visibility>
    944       <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    945     </visibility>
    946   </events>
    947   <templates>
    948     <Template link=spaceshippirate />
    949   </templates>
    950   <controller>
    951     <WaypointController team=1>
     950      <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
     951    </visibility>
     952  </events>
     953  <templates>
     954    <Template link=spaceshippirate />
     955  </templates>
     956  <controller>
     957    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    952958      <waypoints>
    953959        <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 25700" />
     
    962968      <events>
    963969        <activity>
    964           <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
     970          <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
    965971        </activity>
    966972      </events>
    967     </WaypointController>
     973    </WaypointPatrolController>
    968974  </controller>
    969975</SpaceShip>
     
    972978  <events>
    973979    <visibility>
    974       <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    975     </visibility>
    976   </events>
    977   <templates>
    978     <Template link=spaceshippirate />
    979   </templates>
    980   <controller>
    981     <WaypointController team=1>
     980      <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
     981    </visibility>
     982  </events>
     983  <templates>
     984    <Template link=spaceshippirate />
     985  </templates>
     986  <controller>
     987    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    982988      <waypoints>
    983989        <Model mesh="cube.mesh" scale=0 position="-12000, -21300, 24300" />
     
    992998      <events>
    993999        <activity>
    994           <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
     1000          <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
    9951001        </activity>
    9961002      </events>
    997     </WaypointController>
     1003    </WaypointPatrolController>
    9981004  </controller>
    9991005</SpaceShip>
     
    10021008  <events>
    10031009    <visibility>
    1004       <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    1005     </visibility>
    1006   </events>
    1007   <templates>
    1008     <Template link=spaceshippirate />
    1009   </templates>
    1010   <controller>
    1011     <WaypointController team=1>
     1010      <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
     1011    </visibility>
     1012  </events>
     1013  <templates>
     1014    <Template link=spaceshippirate />
     1015  </templates>
     1016  <controller>
     1017    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    10121018      <waypoints>
    10131019        <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 24300" />
     
    10221028      <events>
    10231029        <activity>
    1024           <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
     1030          <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
    10251031        </activity>
    10261032      </events>
    1027     </WaypointController>
     1033    </WaypointPatrolController>
    10281034  </controller>
    10291035</SpaceShip>
     
    10321038  <events>
    10331039    <visibility>
    1034       <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
    1035     </visibility>
    1036   </events>
    1037   <templates>
    1038     <Template link=spaceshippirate />
    1039   </templates>
    1040   <controller>
    1041     <WaypointController team=1>
     1040      <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
     1041    </visibility>
     1042  </events>
     1043  <templates>
     1044    <Template link=spaceshippirate />
     1045  </templates>
     1046  <controller>
     1047    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    10421048      <waypoints>
    10431049        <Model mesh="cube.mesh" scale=0 position="-12000, -22700, 25700" />
     
    10521058      <events>
    10531059        <activity>
    1054           <EventListener event=spawntrigger2 /> <!-- "guard2trigger4" -->
     1060          <EventListener event="guard2trigger4" /> <!-- "guard2trigger4" -->
    10551061        </activity>
    10561062      </events>
    1057     </WaypointController>
     1063    </WaypointPatrolController>
    10581064  </controller>
    10591065</SpaceShip>
     
    10631069  <events>
    10641070    <visibility>
    1065       <EventListener event=spawntrigger2 /> <!-- escaped -->
    1066     </visibility>
    1067   </events>
    1068   <templates>
    1069     <Template link=spaceshippirate />
    1070   </templates>
    1071   <controller>
    1072     <WaypointController team=1>
     1071      <EventListener event="escaped" /> <!-- escaped -->
     1072    </visibility>
     1073  </events>
     1074  <templates>
     1075    <Template link=spaceshippirate />
     1076  </templates>
     1077  <controller>
     1078    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    10731079      <waypoints>
    10741080        <Model mesh="cube.mesh" scale=0 position="-11000, -22000, 25000" />
     
    10831089      <events>
    10841090        <activity>
    1085           <EventListener event=spawntrigger2 /> <!-- escaped -->
     1091          <EventListener event="escaped" /> <!-- escaped -->
    10861092        </activity>
    10871093      </events>
    1088     </WaypointController>
     1094    </WaypointPatrolController>
    10891095  </controller>
    10901096</SpaceShip>
     
    10931099  <events>
    10941100    <visibility>
    1095       <EventListener event=spawntrigger2 /> <!-- escaped -->
    1096     </visibility>
    1097   </events>
    1098   <templates>
    1099     <Template link=spaceshippirate />
    1100   </templates>
    1101   <controller>
    1102     <WaypointController team=1>
     1101      <EventListener event="escaped" /> <!-- escaped -->
     1102    </visibility>
     1103  </events>
     1104  <templates>
     1105    <Template link=spaceshippirate />
     1106  </templates>
     1107  <controller>
     1108    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    11031109      <waypoints>
    11041110        <Model mesh="cube.mesh" scale=0 position="-13000, -22000, 25000" />
     
    11131119      <events>
    11141120        <activity>
    1115           <EventListener event=spawntrigger2 /> <!-- escaped -->
     1121          <EventListener event="escaped" /> <!-- escaped -->
    11161122        </activity>
    11171123      </events>
    1118     </WaypointController>
    1119   </controller>
    1120 </SpaceShip>
     1124    </WaypointPatrolController>
     1125  </controller>
     1126</SpaceShip>
     1127
     1128<!-- FRIEND-SHIPS -->
     1129<SpaceShip position="8500, 2000, 17000" lookat="0, 0, 18000" name="friend" visible="true" radarname="Hood" >
     1130  <events>
     1131    <visibility>
     1132      <EventListener event="guard2trigger4" />
     1133    </visibility>
     1134  </events>
     1135  <templates>
     1136    <Template link=spaceshipswallow />
     1137  </templates>
     1138  <controller>
     1139    <WaypointPatrolController alertnessradius=2000 team=0 active=false>
     1140      <waypoints>
     1141        <Model mesh="cube.mesh" scale=100 position="0, -5000, 18000" />
     1142        <Model mesh="cube.mesh" scale=100 position="-11500, -22000, 25000" />
     1143      </waypoints>
     1144      <events>
     1145        <activity>
     1146          <EventListener event="reached" />
     1147        </activity>
     1148      </events>
     1149    </WaypointPatrolController>
     1150  </controller>
     1151</SpaceShip>
     1152
     1153<BlinkingBillboard position="10000, 2000, 17000" color="1.0, 1.0, 0.05" frequency=0.5 amplitude=20 material="Examples/Flare" >
     1154  <events>
     1155    <visibility>
     1156      <EventTrigger>
     1157        <EventTrigger invert=true>
     1158          <events>
     1159            <trigger>
     1160              <EventListener event="reached" />
     1161            </trigger>
     1162          </events>
     1163        </EventTrigger>
     1164        <events>
     1165          <trigger>
     1166            <EventListener event="spion5" />
     1167          </trigger>
     1168        </events>
     1169      </EventTrigger>
     1170    </visibility>
     1171  </events>
     1172</BlinkingBillboard>
    11211173
    11221174
     
    12011253                        enablecollisiondamage=true
    12021254                        collisionType="dynamic" />
    1203 
    1204 
    1205         <BlinkingBillboard position="-7000,-10000,42000" color="1,1,1" frequency=0.6 amplitude=100 material="Examples/Flare" >
    1206           <events>
    1207             <visibility>
    1208               <EventTrigger>
    1209                 <events>
    1210                   <trigger>
    1211                     <EventListener event="spion" />
    1212                   </trigger>
    1213                 </events>
    1214               </EventTrigger>
    1215             </visibility>
    1216           </events>
    1217         </BlinkingBillboard>
    12181255
    12191256
     
    12551292    </Pawn>
    12561293
    1257 
    1258 <!-- "-12000, -22000, 25000" -->
    1259 
    1260 
    12611294  </Scene>
    12621295</Level>
Note: See TracChangeset for help on using the changeset viewer.