Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
I'm working on a project where the skill level changes the gameplay quite much, so depending on which one you choose I want to propose different musics to fit better with certain atmospheres set in the levels. Is it even possible ?
My first thought was with using a script with [wiki]GameSkill[/wiki] and [wiki]SetMusic[/wiki] like this example below, but it seems it's not working.
How exactly is it not working? Does it try to change the music at all?
I would suggest changing it to OPEN and then make sure you have music lumps in your project named MUSIC1 exactly. Remember the D_ prefix is only appended if you prefix the lump name; meaning $MUSIC1 would look for D_MUSIC1, whereas just MUSIC1 expects a lump named MUSIC1 exactly.
Ah thanks ! Apologies for this careless mistake ; I'm not really used to scripts yet.
(Actually it's the first I wrote with Slade and I did not know it needed a path to an acc exe, as my previous scripts were made with GZDB which already contains one...)