Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 19, 2009, 9:01:16 PM (15 years ago)
Author:
rgrieder
Message:

Added a sound for the engine (forward active mode) by overloading changedActivity in WorldSound.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound3/data/levels/templates/spaceship_assff.oxt

    r5781 r6100  
    7676      <Light mainstate=visibility position="-8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
    7777-->
     78      <!--WorldSound mainstate=activity source="sounds/Engine_low.ogg" oop=1 /-->
    7879    </active>
    7980    <forward>
    8081      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    8182      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     83      <WorldSound mainstate=activity source="sounds/Engine_low.ogg" oop=1 />
    8284    </forward>
    8385    <boost>
    8486      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    8587      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
     88      <!--WorldSound mainstate=activity source="sounds/Engine_high.ogg" oop=1 /-->
    8689    </boost>
    8790    <brake>
Note: See TracChangeset for help on using the changeset viewer.