Frictional Games Forum (read-only)
What's the deal with sounds in the level editor? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: What's the deal with sounds in the level editor? (/thread-8564.html)



What's the deal with sounds in the level editor? - willochill - 06-12-2011

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?


RE: What's the deal with sounds in the level editor? - Roenlond - 06-12-2011

It's probably scripted in there somehow, I haven't really done it that way though but that'd be my guess.


RE: What's the deal with sounds in the level editor? - xtron - 06-12-2011

Code:
PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);

=)


RE: What's the deal with sounds in the level editor? - MrBigzy - 06-12-2011

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.