The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 sounds don't work.
Rapsis Offline
Member

Posts: 69
Threads: 6
Joined: Oct 2012
Reputation: 0
#1
Custom sounds don't work.

They just won't, even when I use the sound files that are already in-game or when I use an exactly same script from the game files.

Here's one of the many (raining.snt)

<SOUNDENTITY>
  <SOUNDS>
      <Main>
          <Sound File="general_rain.ogg" />
      </Main>
  </SOUNDS>
  <PROPERTIES Volume="1" MinDistance="8" MaxDistance="20" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="True"
              Blockable="false" BlockVolumeMul="0.7" Priority="1" />
</SOUNDENTITY>

void OnStart()
{
    PlaySoundAtEntity("", "raining.snt", "rainsound", 1, true);
}
(This post was last modified: 08-08-2013, 05:35 PM by Rapsis.)
08-08-2013, 05:34 PM
Find


Messages In This Thread
Custom sounds don't work. - by Rapsis - 08-08-2013, 05:34 PM
RE: Custom sounds don't work. - by DeAngelo - 08-08-2013, 05:39 PM
RE: Custom sounds don't work. - by Rapsis - 08-08-2013, 05:42 PM
RE: Custom sounds don't work. - by DeAngelo - 08-08-2013, 06:08 PM
RE: Custom sounds don't work. - by Rapsis - 08-08-2013, 06:15 PM
RE: Custom sounds don't work. - by DeAngelo - 08-08-2013, 08:52 PM
RE: Custom sounds don't work. - by Rapsis - 08-08-2013, 09:42 PM
RE: Custom sounds don't work. - by Adrianis - 08-09-2013, 09:33 AM
RE: Custom sounds don't work. - by Rapsis - 08-09-2013, 07:23 PM
RE: Custom sounds don't work. - by Rapsis - 08-09-2013, 10:40 PM



Users browsing this thread: 3 Guest(s)