Erik Hofman:
I changed the sound code to let it use FGCondition. This changes the code and configuration files rather drastically. Furthermore I've added an in-transit mode which plays the sound only when the tied property is changing. Changes: Code: * Added condition support to trigger an event * Removed the <type> section from the main event definition (this could be done using conditions) * Removed the abillity to use several events with the same name, instead it is required to use conditions. * Updated the README.xmlsound Base package: * Changed the configuration files accordingly. * Changed flaps and gear to use the new in-stransit mode. * Changed the flps.wav file so it can be looped. * Created a new gear.wav file (whcih can be looped) and a gear-lck.wav file for gear locking sound. IMPORTANT: To change existing configuration files to the new ones, it is important to pack events with the same name together into one singel event, using the condition specification. Also, when using special types (inverted, flip-flop, raise or fall) these should be changed to a conditions also. For more information, please look at FLightGear/docs-mini/README.xmlsound and the supplied aircraft configuration files located under FlightGear/Aircraft (espesially c172/c172-sound.xml and c310/c310-sound.xml).
This commit is contained in:
parent
9194bd0cbf
commit
36bdf02975
5 changed files with 0 additions and 0 deletions
BIN
Sounds/flaps.wav
BIN
Sounds/flaps.wav
Binary file not shown.
Binary file not shown.
BIN
Sounds/gear-lck.wav
Normal file
BIN
Sounds/gear-lck.wav
Normal file
Binary file not shown.
Binary file not shown.
BIN
Sounds/gear.wav
Normal file
BIN
Sounds/gear.wav
Normal file
Binary file not shown.
Loading…
Reference in a new issue