Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5272


Ignore:
Timestamp:
Nov 14, 2008, 1:48:45 AM (16 years ago)
Author:
landauf
Message:

added trigger to activate/deactivate the spaceship backlight

Location:
data/media/levels
Files:
2 edited

Legend:

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

    r5269 r5272  
    124124      <events>
    125125        <activity>
    126           <DistanceTrigger position="0,0,200" distance=100 target="ControllableEntity" />
     126          <DistanceTrigger position="0,0,200" distance=50 target="ControllableEntity" />
     127        </activity>
     128      </events>
     129    </EventDispatcher>
     130
     131
     132    <EventDispatcher>
     133      <targets>
     134        <EventTarget name=bltest />
     135      </targets>
     136      <events>
     137        <activity>
     138          <DistanceTrigger switch=1 position="0,200,0" distance=100 target="ControllableEntity" />
    127139        </activity>
    128140      </events>
  • data/media/levels/spaceshiptemplates3.oxw

    r5269 r5272  
    2020      <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
    2121      <!--ParticleEmitter position="0,0,-100" source="Orxonox/smoke5" /-->
    22       <Backlight position="0, 0, 0" colour="1.0, 0.0, 0.0, 1.0" width=5 length=200 lifetime=2 elements=20 trailmaterial="Trail/backlighttrail" />
     22      <Backlight name=bltest position="0, 0, 0" colour="1.0, 0.0, 0.0, 1.0" width=5 length=200 lifetime=2 elements=20 trailmaterial="Trail/backlighttrail" turnofftime=2 />
    2323    </attached>
    2424  </SpaceShip>
Note: See TracChangeset for help on using the changeset viewer.