I have this problem with the ACS command Setmusic. I'm making a large map so I want to change music in specific points of the level to change the atmosphere.
I've done this 3 times in my map without any problem using "setmusic", but now, for no reason, the first one no longer works. It is a script as simple as:
Spoiler
Script 1 (void)
{
SetMusic ("D_OPENIN");
}
Please note that the script will completly remove the music, so it works but not in the way that I want (like if it is changing the current music with an empty track)
I've found that it is the specific track that causes the problem, because it will not work in any other script if I make a new one with the same track. I've tried to import the track in my wad again using slade (because maybe it was corrupted) but nothing happend.
Lastly (but I don't think it is important) the track is quite large compared to other midis (120 kb, it is the music of SF2011 MAP30), so maybe I'm running into some memory problems considering that the map is reaching 45k sidedefs.
I have this problem with the ACS command Setmusic. I'm making a large map so I want to change music in specific points of the level to change the atmosphere.
I've done this 3 times in my map without any problem using "setmusic", but now, for no reason, the first one no longer works. It is a script as simple as:
Script 1 (void)
{
SetMusic ("D_OPENIN");
}
Please note that the script will completly remove the music, so it works but not in the way that I want (like if it is changing the current music with an empty track)
I've found that it is the specific track that causes the problem, because it will not work in any other script if I make a new one with the same track. I've tried to import the track in my wad again using slade (because maybe it was corrupted) but nothing happend.
Lastly (but I don't think it is important) the track is quite large compared to other midis (120 kb, it is the music of SF2011 MAP30), so maybe I'm running into some memory problems considering that the map is reaching 45k sidedefs.
Any ideas on how to solve this?
Share this post
Link to post