Frictional Games Forum (read-only)

Full Version: Low Sound In Jumpscare (SOLVED)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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
Thanks for help! Big Grin