Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9738


Ignore:
Timestamp:
Nov 4, 2013, 2:05:53 PM (11 years ago)
Author:
schlaem
Message:

second guard - eventtrigger don't work

File:
1 edited

Legend:

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

    r9735 r9738  
    229229                </events>
    230230        </QuestEffectBeacon>
     231
     232        <QuestEffectBeacon times=0>
     233                <events>
     234                        <execute>
     235                                <EventListener event=spawntrigger2 />
     236                        </execute>
     237                </events>
     238                <attached>
     239                        <BlinkingBillboard position="18000, 5000, 21000" color="1,0,0" frequency=0.6 amplitude=10 material="Examples/Flare" />
     240                </attached>
     241        </QuestEffectBeacon>
    231242
    232243<!-- ---------------------------------------------------------------------- -->
     
    276287    </EventTrigger>
    277288
     289    <SimpleNotification message="first" >
     290        <events>
     291            <trigger>
     292                <EventListener event="guard1trigger1" />
     293            </trigger>
     294        </events>
     295    </SimpleNotification>
     296
     297    <SimpleNotification message="second" >
     298        <events>
     299            <trigger>
     300                <EventListener event="guard1trigger2" />
     301            </trigger>
     302        </events>
     303    </SimpleNotification>
     304
     305    <SimpleNotification message="third" >
     306        <events>
     307            <trigger>
     308                <EventListener event="guard1trigger3" />
     309            </trigger>
     310        </events>
     311    </SimpleNotification>
     312
     313    <SimpleNotification message="fourth" >
     314        <events>
     315            <trigger>
     316                <EventListener event="guard1trigger4" />
     317            </trigger>
     318        </events>
     319    </SimpleNotification>
     320
     321    <SimpleNotification message="shot" >
     322        <events>
     323            <trigger>
     324                <EventListener event="firstPatrol" />
     325            </trigger>
     326        </events>
     327    </SimpleNotification>
     328
    278329<!-- ----------------------------------------------------- -->
    279330
    280331<!-- Passive Piraten: Guard 1 -->
    281332
    282 <SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
     333<SpaceShip position="8000,1000,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
    283334  <events>
    284335    <visibility>
     
    292343    <WaypointController team=1>
    293344      <waypoints>
    294         <Model mesh="cube.mesh" scale=8 position="8000,-1000,0" />
    295         <Model mesh="cube.mesh" scale=8 position="8000,1000,0" />
     345        <Model mesh="cube.mesh" scale=0 position="8000,-1000,0" />
     346        <Model mesh="cube.mesh" scale=0 position="8000,1000,0" />
    296347      </waypoints>
    297348    </WaypointController>
     
    311362    <WaypointController team=1>
    312363      <waypoints>
    313         <Model mesh="cube.mesh" scale=8 position="8000,0,-1000" />
    314         <Model mesh="cube.mesh" scale=8 position="8000,0,1000" />
     364        <Model mesh="cube.mesh" scale=0 position="8000,0,-1000" />
     365        <Model mesh="cube.mesh" scale=0 position="8000,0,1000" />
    315366      </waypoints>
    316367    </WaypointController>
     
    333384    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    334385      <waypoints>
    335         <Model mesh="cube.mesh" scale=8 position="8000,1000,-1000" />
    336         <Model mesh="cube.mesh" scale=8 position="8000,-1000,1000" />
     386        <Model mesh="cube.mesh" scale=0 position="8000,1000,-1000" />
     387        <Model mesh="cube.mesh" scale=0 position="8000,-1000,1000" />
    337388      </waypoints>
    338389      <events>
     
    357408    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
    358409      <waypoints>
    359         <Model mesh="cube.mesh" scale=8 position="8000,1000,1000" />
    360         <Model mesh="cube.mesh" scale=8 position="8000,-1000,-1000" />
     410        <Model mesh="cube.mesh" scale=0 position="8000,1000,1000" />
     411        <Model mesh="cube.mesh" scale=0 position="8000,-1000,-1000" />
    361412      </waypoints>
    362413      <events>
     
    369420</SpaceShip>
    370421
    371 <!-- Passive Piraten: Guard 2 -->
    372 
    373422<!-- Angreiffende Piraten: Guard 2 -->
     423<SpaceShip position="19000,5000,21000" lookat="19000,4900,21000" name=secondPatrol visible="true" radarname="Patrol">
     424  <events>
     425    <visibility>
     426      <EventListener event=guard1trigger4 />
     427    </visibility>
     428  </events>
     429  <templates>
     430    <Template link=spaceshippirate />
     431  </templates>
     432  <controller>
     433    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
     434      <waypoints>
     435        <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
     436        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
     437        <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
     438        <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
     439        <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
     440        <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
     441        <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
     442        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
     443      </waypoints>
     444      <events>
     445        <activity>
     446          <EventListener event=guard1trigger4 />
     447        </activity>
     448      </events>
     449    </WaypointPatrolController>
     450  </controller>
     451</SpaceShip>
     452
     453<SpaceShip position="17000,5000,21000" lookat="17000,5100,21000" name=secondPatrol visible="true" radarname="Patrol">
     454  <events>
     455    <visibility>
     456      <EventListener event=guard1trigger4 />
     457    </visibility>
     458  </events>
     459  <templates>
     460    <Template link=spaceshippirate />
     461  </templates>
     462  <controller>
     463    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
     464      <waypoints>
     465        <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
     466        <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
     467        <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
     468        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
     469        <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
     470        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
     471        <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
     472        <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
     473      </waypoints>
     474      <events>
     475        <activity>
     476          <EventListener event=guard1trigger4 />
     477        </activity>
     478      </events>
     479    </WaypointPatrolController>
     480  </controller>
     481</SpaceShip>
     482
     483<SpaceShip position="18000,4000,21000" lookat="17000,4000,21000" name=secondPatrol visible="true" radarname="Patrol">
     484  <events>
     485    <visibility>
     486      <EventListener event=guard1trigger4 />
     487    </visibility>
     488  </events>
     489  <templates>
     490    <Template link=spaceshippirate />
     491  </templates>
     492  <controller>
     493    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
     494      <waypoints>
     495        <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
     496        <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
     497        <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
     498        <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
     499        <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
     500        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
     501        <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
     502        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
     503      </waypoints>
     504      <events>
     505        <activity>
     506          <EventListener event=guard1trigger4 />
     507        </activity>
     508      </events>
     509    </WaypointPatrolController>
     510  </controller>
     511</SpaceShip>
     512
     513<SpaceShip position="18000,6000,21000" lookat="19000,6000,21000" name=secondPatrol visible="true" radarname="Patrol">
     514  <events>
     515    <visibility>
     516      <EventListener event=guard1trigger4 />
     517    </visibility>
     518  </events>
     519  <templates>
     520    <Template link=spaceshippirate />
     521  </templates>
     522  <controller>
     523    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
     524      <waypoints>
     525        <Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
     526        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
     527        <Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
     528        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
     529        <Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
     530        <Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
     531        <Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
     532        <Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
     533      </waypoints>
     534      <events>
     535        <activity>
     536          <EventListener event=guard1trigger4 />
     537        </activity>
     538      </events>
     539    </WaypointPatrolController>
     540  </controller>
     541</SpaceShip>
     542
    374543
    375544<!-- ----------------------------------------------------- -->
     
    404573        <?lua
    405574                dofile("includes/asteroidField.lua")
    406                 asteroidField(20000, -10000, -10000, 50, 1000, 10000, 40, 0)
     575                asteroidField(20000, -10000, -12000, 50, 1000, 10000, 40, 0)
    407576        ?>
    408577
     
    421590</StaticEntity>
    422591
    423 <StaticEntity position="9000,20000,0" yaw=112 pitch=67>
     592<StaticEntity position="18000,5000,21000" yaw=112 pitch=67>
    424593  <attached>
    425594    <?lua
Note: See TracChangeset for help on using the changeset viewer.