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 Trigger Sounds not working
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#4
RE: Trigger Sounds not working

(06-04-2016, 09:43 PM)Xallikk Wrote: It's one of amnesia's own sound files and I don't know where the debug tool is.

To enable the debug menu, go into your documents/Amnesia/Main and open up "main_settings.cfg". There find a line
PHP Code: (Select All)
LoadDebugMenu
and change it to "true". Now in-game you will be able to open up the debug menu (F1), which is of great help while building your custom story.

Regarding the issue: try changing
PHP Code: (Select All)
float afFadeTime 
in your function
Spoiler below!
[Image: ade4aca738594bf39082e6bb7a2a32c8.png]
into something like 0.1, or even 0.01. Your issue might occur because the sound you're trying to play is so short that the fade effect might actually "swallow" it.
(This post was last modified: 06-04-2016, 10:44 PM by Slanderous.)
06-04-2016, 10:44 PM
Find


Messages In This Thread
Trigger Sounds not working - by Xallikk - 06-04-2016, 08:05 PM
RE: Trigger Sounds not working - by Slanderous - 06-04-2016, 09:31 PM
RE: Trigger Sounds not working - by Xallikk - 06-04-2016, 09:43 PM
RE: Trigger Sounds not working - by Slanderous - 06-04-2016, 10:44 PM
RE: Trigger Sounds not working - by Xallikk - 06-04-2016, 10:52 PM
RE: Trigger Sounds not working - by Slanderous - 06-04-2016, 10:55 PM
RE: Trigger Sounds not working - by Xallikk - 06-04-2016, 10:58 PM
RE: Trigger Sounds not working - by Slanderous - 06-04-2016, 11:04 PM
RE: Trigger Sounds not working - by Xallikk - 06-04-2016, 11:06 PM
RE: Trigger Sounds not working - by Slanderous - 06-04-2016, 11:08 PM
RE: Trigger Sounds not working - by Xallikk - 06-04-2016, 11:10 PM
RE: Trigger Sounds not working - by Slanderous - 06-05-2016, 12:55 AM
RE: Trigger Sounds not working - by Xallikk - 06-05-2016, 12:59 AM
RE: Trigger Sounds not working - by Daemian - 06-05-2016, 04:32 AM
RE: Trigger Sounds not working - by Xallikk - 06-05-2016, 04:36 AM
RE: Trigger Sounds not working - by Slanderous - 06-05-2016, 10:58 AM



Users browsing this thread: 1 Guest(s)