The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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 custom musics
str4wberrypanic Offline
Member

Posts: 241
Threads: 24
Joined: Jul 2012
Reputation: 8
#1
Problem with custom musics

Lattely i have tried to put some custom musics in my custom story. It worked the first time i tried putting it in my test map, but when i tried to put it in my REAL map, nothing has happened. I thought it could be caused by wrong scripts and copied the test map scripts, but it still doesn't work. And now even the test map music isn't working. I'm using SUPER for the OGG conversion.

Here are the scripts:

////////////////////////////
// Run when entering map
void OnEnter()
{

PlayMusic("TheHole.ogg", true, 1, 4, 0, true);

}

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



The music is located at custom_storiesq/mycustomstory/music and i'm sure it is a .ogg file.

Sorry for any english mistake.

07-25-2012, 08:02 AM
Find


Messages In This Thread
Problem with custom musics - by str4wberrypanic - 07-25-2012, 08:02 AM
RE: Problem with custom musics - by JMFStorm - 07-25-2012, 08:13 AM
RE: Problem with custom musics - by JMFStorm - 07-25-2012, 08:23 AM
RE: Problem with custom musics - by JMFStorm - 07-25-2012, 08:59 AM
RE: Problem with custom musics - by SilentStriker - 07-25-2012, 12:53 PM



Users browsing this thread: 1 Guest(s)