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?...
Camtasia Offline
Junior Member

Posts: 1
Threads: 1
Joined: Jun 2012
Reputation: 0
#1
Custom sounds?...

Im trying to add custom sounds to the custom story, but the sound doesnt play

this is the script that plays the sound
void MonsterScare(string &in asParent, string &in asChild, int alState){    SetEntityActive("gisse3", true);    PlayGuiSound("scaresound.ogg", 100);    AddTimer("StopMusic", 1, "StopMusic2");}

I made a sounds folder and a extrasounds inside there again there i put the sound and made a Snt file

snt file
<SOUNDENTITY> <SOUNDS>    <Main>      <Sound File="scaresound.ogg" />       </Main>   </SOUNDS>   <PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7" Priority="5" /></SOUNDENTITY>
06-11-2012, 05:36 AM
Find


Messages In This Thread
Custom sounds?... - by Camtasia - 06-11-2012, 05:36 AM
RE: Custom sounds?... - by Putkimato - 06-11-2012, 10:18 AM
RE: Custom sounds?... - by Ermu - 06-11-2012, 10:29 AM



Users browsing this thread: 1 Guest(s)