Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción






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 fucking horrible to use on mobile)