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
Custom sound malfunctioning
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#1
Custom sound malfunctioning

I'm trying to put a sound inside my grandfather clock that plays my custom sound "ticktock.ogg"

Here is the .snt file:
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="ticktock.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="True" Use3D="True" Blockable="True" BlockVolumeMul="0.7" Priority="5" />
</SOUNDENTITY>

The sound plays, but only when I'm standing so close that I'm basically touching the clock. Then when I step away from it, it immediately stops.

(This post was last modified: 04-06-2012, 08:36 AM by Damascus.)
04-06-2012, 04:53 AM
Find
Zaari Offline
Member

Posts: 118
Threads: 0
Joined: Mar 2012
Reputation: 10
#2
RE: Custom sound malfunctioning

Try changing Blockable to false. If the sound is literally being played inside the clock, the clock itself could be blocking it or something. If that doesn't work, then try setting Priority to 0.

"Marzipan, darling."
04-06-2012, 05:05 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#3
RE: Custom sound malfunctioning

Tried changing both things, but it's still behaving the same.

04-06-2012, 05:18 AM
Find
Zaari Offline
Member

Posts: 118
Threads: 0
Joined: Mar 2012
Reputation: 10
#4
RE: Custom sound malfunctioning

Hmm, are you using a HPL script to play the sound or are you playing it in the editor?

If you're using a script, then post it here so we can see it. If you're using the editor, then try moving the sound around and see what happens.

"Marzipan, darling."
(This post was last modified: 04-06-2012, 05:31 AM by Zaari.)
04-06-2012, 05:25 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#5
RE: Custom sound malfunctioning

I'm using it in the Level Editor. It plays wherever I move it to, but still only within that extremely tiny radius.

04-06-2012, 05:30 AM
Find
Zaari Offline
Member

Posts: 118
Threads: 0
Joined: Mar 2012
Reputation: 10
#6
RE: Custom sound malfunctioning

(04-06-2012, 05:30 AM)Damascus Wrote: I'm using it in the Level Editor. It plays wherever I move it to, but still only within that extremely tiny radius.
Try using a different .ogg sound in the .snt file and see if the problem still happens.

"Marzipan, darling."
(This post was last modified: 04-06-2012, 05:35 AM by Zaari.)
04-06-2012, 05:32 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#7
RE: Custom sound malfunctioning

It wouldn't let me change the .ogg. Even after I deleted the sound in the Level Editor, saved the .snt with the new .ogg and reloaded it, it still played the original ogg.

Only after I saved an entirely new .snt did it take the changes, and now it plays beyond the radius.

04-06-2012, 05:39 AM
Find
Zaari Offline
Member

Posts: 118
Threads: 0
Joined: Mar 2012
Reputation: 10
#8
RE: Custom sound malfunctioning

(04-06-2012, 05:39 AM)Damascus Wrote: It wouldn't let me change the .ogg. Even after I deleted the sound in the Level Editor, saved the .snt with the new .ogg and reloaded it, it still played the original ogg.

Only after I saved an entirely new .snt did it take the changes, and now it plays beyond the radius.
Now try lowering the MaxDistance in the new .snt file to somewhere around 10. If it still doesn't work then I have no clue how to fix it. Undecided

"Marzipan, darling."
04-06-2012, 05:47 AM
Find
Damascus Offline
Senior Member

Posts: 646
Threads: 118
Joined: Mar 2012
Reputation: 29
#9
RE: Custom sound malfunctioning

It works once I save it to yet another .snt file. Tongue

However, it's not coming from a specific location like I thought it would if I ticked "true" for Use3D. Should it be false instead?

04-06-2012, 06:49 AM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#10
RE: Custom sound malfunctioning

If you want to use 3D for sound, make sure the track is Mono, not Stereo.

04-06-2012, 06:58 AM
Find




Users browsing this thread: 1 Guest(s)