Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I am in need of help on how to do stuff like this, as I'm trying to do something similar, like trying to replace a certain file of music with something else (For example: only changing the music that plays when you fight a sin boss, instead of changing the challenge room theme as well).
I would appreciate some help, as I've tried to do this myself, only for it to fail and not change a thing.
If you have any tips on how to do this, please! reach out to me!
---- Code
local mega_satan_music = RegisterMod("Unique Mega Satan Music", 1)
local mManager = MusicManager()
local CustomMegaSatanTrack = Isaac.GetMusicIdByName("Mega Satan Fight")
mega_satan_music:AddCallback(ModCallbacks.MC_NPC_UPDATE, function()
if mManager:GetCurrentMusicID() ~= Music.MUSIC_SATAN_BOSS then return end
mManager:Play(CustomMegaSatanTrack, 0.1)
mManager:UpdateVolume()
end, EntityType.ENTITY_MEGA_SATAN)
Between this one and the regular "Regicide", it fits more to MS ... The regular one are too quick with his attacks for the slowness of this music at the contrary of Mega Satan, much slower