安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






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