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 to stop grunt music?
brute360 Offline
Junior Member

Posts: 31
Threads: 0
Joined: Apr 2012
Reputation: 0
#11
RE: How to stop grunt music?

How about this:

PlayMusic("29_amb.ogg", true, 1, 0,1, 10, true);
10-03-2012, 07:57 AM
Find
srobb Offline
Junior Member

Posts: 24
Threads: 4
Joined: Sep 2012
Reputation: 0
#12
RE: How to stop grunt music?

Didn't work, gives me an error when I try to reload the map.
10-04-2012, 08:00 AM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#13
RE: How to stop grunt music?

brute360's function has an extra argument (a float in this case) that will crash the game. Use this instead:

PlayMusic("29_amb", true, 1, 0, 1, true);

If you have any more errors in your map, I can assure you it's not due to the above function.

Hope that helped!

I rate it 3 memes.
10-04-2012, 08:04 AM
Find
srobb Offline
Junior Member

Posts: 24
Threads: 4
Joined: Sep 2012
Reputation: 0
#14
RE: How to stop grunt music?

That works fine, but the grunts music still plays.
10-04-2012, 08:28 AM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#15
RE: How to stop grunt music?

Try setting the priority to 0 if you haven't, or to 256. It's what I did and it always worked (no music from the grunt, just the terror sound).

I used this in my map:
PlayMusic("Restricted.ogg", true, 1, 1, 0, false);
And it works quite well. Neither the water monster's or the grunt's music ever played that way.

(10-03-2012, 06:55 AM)srobb Wrote: Still doesn't get rid of the music.
Any ideas?
Select the entity you have problems with, then use the model that has those variables mentioned set to blank, and then load that.

If it still doesn't work, dunno what to tell you.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-04-2012, 05:32 PM by Robby.)
10-04-2012, 05:29 PM
Website Find
srobb Offline
Junior Member

Posts: 24
Threads: 4
Joined: Sep 2012
Reputation: 0
#16
RE: How to stop grunt music?

Worked.
Thank you again! Smile
10-05-2012, 04:03 AM
Find




Users browsing this thread: 2 Guest(s)