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?
TheDavenia Offline
Member

Posts: 223
Threads: 38
Joined: Jun 2011
Reputation: 0
#16
RE: How do I remove music from an enemy being around?

(11-13-2011, 05:14 PM)Statyk Wrote:
(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.
I don't need it right now but thanks anyways Wink
Could you help me with something?
I want particle systems to activate when the player walks into an area... how do i do that...?



Current Project: Nightmare's End(Project Director, Scripter, boss >:D)
11-13-2011, 05:32 PM
Find


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



Users browsing this thread: 3 Guest(s)