Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Can't make a loud footstep
Bennick Offline
Member

Posts: 77
Threads: 27
Joined: Apr 2011
Reputation: 0
#1
Sad  Can't make a loud footstep

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?

Fratricide (title not finalized): 2/7 maps. :D
(This post was last modified: 11-01-2014, 11:23 PM by Bennick.)
11-01-2014, 10:59 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Can't make a loud footstep

Perhaps the script is looping it?

11-02-2014, 03:05 PM
Find
Bennick Offline
Member

Posts: 77
Threads: 27
Joined: Apr 2011
Reputation: 0
#3
RE: Can't make a loud footstep

(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?

Fratricide (title not finalized): 2/7 maps. :D
11-02-2014, 05:46 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#4
RE: Can't make a loud footstep

make the sound itself louder.
with audacity for example.
11-02-2014, 10:28 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#5
RE: Can't make a loud footstep

Try these options in your snt:
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.

11-02-2014, 11:10 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#6
RE: Can't make a loud footstep

(11-02-2014, 11:10 PM)Daemian Wrote: Try these options in your snt:
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.

11-02-2014, 11:43 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#7
RE: Can't make a loud footstep

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

11-03-2014, 04:10 AM
Find




Users browsing this thread: 2 Guest(s)