I'm currently working on a character that will be playable in game, however I'm not sure the current super music will fit, is there a way I can make it only used for that character?
You can make a Lua script that would intercept the instant you become super and use it to change the song being played to the song you want to play.
An example would be:
Code:
addHook("PlayerThink", function(player)
-- If the player JUST became super:
if player.powers[pw_super] == 1 then
-- Change the music to lump MUSIC, and set it as looping
-- (Only do it for the current player)
S_ChangeMusic("MUSIC", true, player)
end
end)
Replace MUSIC with the relevant music lump, of course.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.