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 add music when I start my CS?
Demondays1 Offline
Member

Posts: 57
Threads: 7
Joined: Jun 2012
Reputation: 0
#3
RE: how to add music when I start my CS?

(06-14-2012, 04:25 AM)andyrockin123 Wrote: Int alPrio is so way too high. try replacing the 10 with a 0 or 1. The lower the number, the higher the priority, meaning it has a higher priority to be played (ie if you have other sounds with a higher priority, they will play instead of your music.)

Hope that helps Big Grin
Changed it a bit, here is how it is:



void OnStart()
{
PlayMusic("brandon2.ogg", false, 0.5f, 0.5f, 0, false);
}


////////////////////////////
// Run when leaving map
void OnLeave()
{
StopMusic(5.0f, 0);
}

I have the .ogg and .snt still not working.

Intel HD Lag fix: tiny.cc/pyv1gw
(This post was last modified: 06-14-2012, 04:33 AM by Demondays1.)
06-14-2012, 04:29 AM
Find


Messages In This Thread
RE: how to add music when I start my CS? - by Demondays1 - 06-14-2012, 04:29 AM



Users browsing this thread: 1 Guest(s)