Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5256 for data/media


Ignore:
Timestamp:
Oct 31, 2008, 12:00:12 AM (16 years ago)
Author:
landauf
Message:

added some triggers to test functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/sample2.oxw

    r5255 r5256  
    2020
    2121    <MovableEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90>
     22      <events>
     23        <activity>
     24          <DistanceTrigger position="0,0,-300" distance=50 target="ControllableEntity" invert=1 />
     25        </activity>
     26      </events>
    2227      <attached>
    2328        <Model position="0,0,0" scale=10 mesh="ast1.mesh" />
     
    5459    </MovableEntity>
    5560
    56     <ParticleSpawner position="-500,0,-200" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 />
     61    <!--ParticleSpawner position="-500,0,-200" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 />
    5762    <ParticleSpawner position="-500,0,-300" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 />
    5863    <ParticleSpawner position="-500,0,-400" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 />
    5964    <ParticleSpawner position="-500,0,-500" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 />
    60     <ParticleSpawner position="-500,0,-600" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 />
     65    <ParticleSpawner position="-500,0,-600" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /-->
    6166
    62     <ParticleSpawner position="-500,200,-400" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=1 autostart=0>
     67    <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
    6368      <events>
    6469        <spawn>
     
    6772      </events>
    6873    </ParticleSpawner>
     74
     75    <ParticleEmitter position="200,0,0" source="Orxonox/fire3" active=false>
     76      <events>
     77        <activity>
     78          <DistanceTrigger position="200,0,0" distance=100 target="ControllableEntity" />
     79        </activity>
     80      </events>
     81    </ParticleEmitter>
     82    <ParticleEmitter position="-200,0,0" source="Orxonox/fire3" active=false>
     83      <events>
     84        <activity>
     85          <DistanceTrigger position="-200,0,0" distance=100 target="ControllableEntity" />
     86        </activity>
     87      </events>
     88    </ParticleEmitter>
     89
     90    <Model position="0,50,0" scale=3 mesh="assff.mesh">
     91      <events>
     92        <visibility>
     93          <DistanceTrigger position="0,50,0" distance=50 target="ControllableEntity" invert=1 />
     94        </visibility>
     95      </events>
     96    </Model>
    6997
    7098    <Model position="0,0,200" scale=10 mesh="ast2.mesh" shadow=true />
Note: See TracChangeset for help on using the changeset viewer.