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
How do I remove music from an enemy being around?
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#15
RE: How do I remove music from an enemy being around?

(11-13-2011, 04:52 PM)Tiiwh Wrote: I don't want to delete the monsters entire music, I still want it to appear when you see a monster and they start running after you, with the drums and all that! I just don't want the enemies to talk and sound and the music starts when I enter the room when they are not even close! xD
(11-13-2011, 03:29 PM)TheDavenia Wrote: I've tried doing this before as well,
and what they told me is go into the monster files and delete the music :3
You don't need to delete the music. just make a silent, looping .ogg, and have it ran through a script with a high priority. That's what I did and it worked like a charm. Do you need the silent .ogg? I uploaded an attachment if you need it. just put it in a "sounds" folder in your custom story's folder and have it ranthrough a script like this:

//_______________

PlayMusic("Silentmusic.ogg", true, 0.1f, 0.01f, 1000, true);

//_______________

That was actually copied from my campaign so if it doesn't work, you must have the file in the wrong folder.


(This post was last modified: 11-13-2011, 05:18 PM by Statyk.)
11-13-2011, 05:14 PM
Find


Messages In This Thread
RE: How do I remove music from an enemy being around? - by Statyk - 11-13-2011, 05:14 PM



Users browsing this thread: 1 Guest(s)