Frictional Games Forum (read-only)
[SCRIPT] Can't make a loud footstep - 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)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [SCRIPT] Can't make a loud footstep (/thread-27078.html)



Can't make a loud footstep - Bennick - 11-01-2014

I'm trying to use a wood impact sound as a really loud footstep by making my own version of the snt file and blasting it from an entity. Problem is, no matter how much I pump up the volume variable or the max distance variable, I never get anything louder than a cat fart. Please help me quickly, I want to use this as a proof of concept for a game pitch! Sad

Actually fixed that. Now I have a new problem. The sound is looping to infinity even though I have listed the looping property as false. What's going on and how can I stop this?


RE: Can't make a loud footstep - Mudbill - 11-02-2014

Perhaps the script is looping it?


RE: Can't make a loud footstep - Bennick - 11-02-2014

(11-02-2014, 03:05 PM)Mudbill Wrote: Perhaps the script is looping it?

Now that I restarted the game, it seems to have fixed itself. I originally did loop it in the snt, but then when I changed it, it wouldn't go back to normal. Only when I restarted the game did it unloop. I guess this is because it needed to reload the snt again?

Also, I have the volume up to 99999 and there seems to be some kind of a volume cap. I don't know if there's a way to go past it?


RE: Can't make a loud footstep - DnALANGE - 11-02-2014

make the sound itself louder.
with audacity for example.


RE: Can't make a loud footstep - Daemian - 11-02-2014

Try these options in your snt:
Code:
Blockable="False"
Use3D="True"
Stream="False"
FadeEnd="False" FadeStart="False"
MinDistance="10" MaxDistance="40"
Volume="2"
And call it like this: PlaySoundAtEntity( "", your_file.snt, which_entity, 0, false);

Careful, 2 is %200 normal volume, if this fixes your volume prob, it may sound too loud.
Notice the 0 fade time in the playsound function, for short sounds, in my opinion, it may try to make the sound fade right after it starts so you may never hear it play.


RE: Can't make a loud footstep - Mudbill - 11-02-2014

(11-02-2014, 11:10 PM)Daemian Wrote: Try these options in your snt:
Code:
Blockable="False"
Use3D="True"
Stream="False"
FadeEnd="False" FadeStart="False"
MinDistance="10" MaxDistance="40"
Volume="2"
And call it like this: PlaySoundAtEntity( "", your_file.snt, which_entity, 0, false);

Careful, 2 is %200 normal volume, if this fixes your volume prob, it may sound too loud.
Notice the 0 fade time in the playsound function, for short sounds, in my opinion, it may try to make the sound fade right after it starts so you may never hear it play.

You seem to have forgotten a few quotes in your script line.
Anyhow I have actually noticed myself aswell that this volume tag in the .snt file has a cap of sorts. It doesn't seem to be possible to make the sound very loud this way. It might also be very limited by the in-game sound volume.

No, I suggest trying to make the sound file itself louder, as Lange said.


RE: Can't make a loud footstep - Daemian - 11-03-2014

Yep, I didn't give him the complete .snt, just the options I think that should solve his problem.