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
Problem with Sounds
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: Problem with Sounds

Put this on your map's .hps file.
PHP Code: (Select All)
void OnEnter()
{
    
PlayMusic("MUSICNAME.ogg"true1.0f0.0f0false);

Change the MUSICNAME to whatever your music's name is, but don't remove the .ogg extension in the script.
1.0f is the volume.
EDIT: And this was supposed to be in the /Custom Stories, TC's & Mods - Development/Development Support/

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 02-27-2013, 02:47 PM by PutraenusAlivius.)
02-27-2013, 02:45 PM
Find


Messages In This Thread
Problem with Sounds - by MR SPARTAN23 - 02-27-2013, 02:27 PM
RE: Problem with Sounds - by PutraenusAlivius - 02-27-2013, 02:45 PM
RE: Problem with Sounds - by MR SPARTAN23 - 02-27-2013, 06:37 PM
RE: Problem with Sounds - by OriginalUsername - 02-27-2013, 08:57 PM
RE: Problem with Sounds - by MR SPARTAN23 - 02-27-2013, 09:10 PM
RE: Problem with Sounds - by OriginalUsername - 02-27-2013, 09:17 PM
RE: Problem with Sounds - by MR SPARTAN23 - 02-27-2013, 09:34 PM
RE: Problem with Sounds - by The chaser - 02-27-2013, 09:54 PM
RE: Problem with Sounds - by MR SPARTAN23 - 02-28-2013, 06:45 PM
RE: Problem with Sounds - by MR SPARTAN23 - 03-01-2013, 06:48 PM
RE: Problem with Sounds - by NaxEla - 03-01-2013, 09:37 PM



Users browsing this thread: 1 Guest(s)