Frictional Games Forum (read-only)
Low Sound In Jumpscare (SOLVED) - 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 - Development (https://www.frictionalgames.com/forum/forum-38.html)
+--- Thread: Low Sound In Jumpscare (SOLVED) (/thread-39425.html)



Low Sound In Jumpscare (SOLVED) - Abihishi - 02-21-2016

So, my question is, how increase sound when is activate jumpscare.


void Jumpscare1(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "24_iron_maiden.snt", "Player", 10, false);
SetEntityActive("ceiling_doll_1", true);
AddTimer("", 2.5f, "JumpscareEntity_Gone");
}

I have this and in game almost I dont hear anything.

When i start this sound in deskop is good volume.


RE: Low Sound In Jumpscare - Spelos - 02-21-2016

PHP Code:
PlaySoundAtEntity("""24_iron_maiden.snt""Player"10.0ffalse); 

Is limited by the max volume of the game, just like everything else. But Playing the Sound on an Entity tries to give it 3D, which means altering the volume.

I would say that
PHP Code:
PlayGuiSound("24_iron_maiden.ogg"1.0f); 
Would be louder, since it's played to the player directly.

Try it out and mess with the "1.0f" volume to see what works.

Keep in mind that the sound file needs to be .ogg or .ent for GUIsounds.


RE: Low Sound In Jumpscare - Romulator - 02-21-2016

Or - you can edit the actual 24_iron_maiden.ogg file in something such as Audacity - but I would recommend making your own seperate 24_iron_maiden.ogg file which you have edited so you aren't messing around with the files which are used in Amnesia Smile


RE: Low Sound In Jumpscare - Abihishi - 02-21-2016

Thanks for help! Big Grin