Audio Playback: Difference between revisions

From Project Apollo - NASSP
Jump to navigation Jump to search
No edit summary
imported>Tschachim
m (Reverted edits by 87.101.244.7 (Talk); changed back to last version by Mark Grant)
 
Line 1: Line 1:
trdarc4tbocg
'''Project Apollo''' plays audio files on numerous events during the course of a mission; all these files are stored under Sounds/ProjectApollo, generally as 8-bit mono 8kHz or 11kHz .wav files.
'''Project Apollo''' plays audio files on numerous events during the course of a mission; all these files are stored under Sounds/ProjectApollo, generally as 8-bit mono 8kHz or 11kHz .wav files.



Latest revision as of 14:29, 12 October 2007

Project Apollo plays audio files on numerous events during the course of a mission; all these files are stored under Sounds/ProjectApollo, generally as 8-bit mono 8kHz or 11kHz .wav files.

For files which might vary between missions, the code first looks in the mission-specific directory, Sound/ProjectApollo/ApolloN where N is the number specified in the APOLLONO variable in the scenario. If the file is found there, it will be played, otherwise it will look for a generic file of the same name in Sound/ProjectApollo; these files are generally from the Apollo 11 mission. For files which are generic, for example, a switch click, it will only look in Sound/ProjectApollo.

This allows us to have a standard set of sound files to play on any mission, but for people to create sound packs which add the appropriate files for specific missions on a mission-by-mission basis.

If the audio language is set to anything other than English, then it will look first in Sound/ProjectApollo/language or Sound/ProjectApollo/language/ApolloN instead.


This article is a stub. You can help Project Apollo - NASSP by expanding it.