Frictional Games Forum (read-only)

Full Version: What's the deal with sounds in the level editor?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Whenever I look at maps featured in the actual game as well as custom maps i always see random sounds scattered about, with no specified sound file, that say "use default" all the time. so, i'd like to ask, what are you supposed to use sounds for, and how?
It's probably scripted in there somehow, I haven't really done it that way though but that'd be my guess.
Code:
PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);

=)
That's different than playsoundatentity. The sound entities emit sound from a spherical source. There should be specified files for the sound if you look at the 2nd tab. Use default means using default min and max distance for sounds. So if you have it checked and try to alter the min and max distances, it won't change.