安裝 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(越南文)
Українська(烏克蘭文)
回報翻譯問題






Here I was thinking, "I must be the stupidest person alive
Every step has me confused out of my mind.
oh, you too?! welp guess what, I'm in the same boat as you,
since I'm not really good at modding (ESPECIALLY with so much low instruction and explaination), it's such a pain to try to find what is completely broke the costume/mod, fixing the line to see if it work, searching for the sprite to include to the white-list (meaning it will allow the costum) etc...
at least, I'm reassured that I'm NOT the only one in this situation!
I don't know what lines need replacing and which lines are to be left the same. Furthermore, under the "Adding your character to the library" section, where do we put that block of text? In the main.lua somwhere?
- what should I do first?,
- does is require a specefic "file"?
- what should I put in the "code"?
and "where"?
inexplicit for me... what should I do? even in your Github page, I still don't get it at all...
"PostPlayerInit" failed: ... attempting to call a nil value (method 'NullItemCostumeWhiteList')
As for the code:
costumeProtector:AddPlayer(
player,
PLAYER_MADOKA,
"gfx/characters/costumes/character_madoka.png",
67,
"gfx/characters/costumes/character_madoka.png",
Isaac.GetCostumeIdByPath("gfx/characters/character_madoka_hair.anm2")
)
costumeProtector:ItemCostumeWhitelist(
PLAYER_MADOKA,
{
[CollectibleType.COLLECTIBLE_TRANSCENDENCE] = true,
[CollectibleType.COLLECTIBLE_ASTRAL_PROJECTION] = true
}
)
costumeProtector:NullItemCostumeWhitelist(
PLAYER_MADOKA,
{
[NullItemID.ID_LOST_CURSE] = true,
[NullItemID.ID_SPIRIT_SHACKLES_SOUL] = true
}
)
end
I don't understand what went wrong. Any ideas why?
local PLAYER_SONIC = Isaac.GetPlayerTypeByName("Sonic", false)
local PLAYER_SONIC_B = Isaac.GetPlayerTypeByName("Metal Sonic", true)
function mod:PlayerInit(player)
costumeProtector:AddPlayer(
player,
PLAYER_SONIC,
"gfx/characters/costumes/character_sonic.png",
COSTUME_SONIC_FLIGHT,
"gfx/characters/costumes/character_sonic_flight.png"
)
costumeProtector:AddPlayer(
playerb,
PLAYER_SONIC_B,
"gfx/characters/costumes/character_sonic_b.png",
COSTUME_SONIC_B_FLIGHT,
"gfx/characters/costumes/character_sonic_b_flight.png"
)
end
mod:AddCallback(ModCallbacks.MC_POST_PLAYER_INIT, mod.PlayerInit)
Also I realize there are definitely a lot of shortcomings the longer I work with costumes. I may make an update that refines a lot of stuff.
(also sorry for deleting your comment by accident, steam is ♥♥♥♥♥♥♥ horrible to use on mobile)