The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Character Costume Protector
24 kommentarer
Hungibop 29. aug. kl. 11:50 
too difficult for meow
DB 26. juni kl. 5:34 
I'm so glad to see others saying that the guide isn't easy to understand.
Here I was thinking, "I must be the stupidest person alive :reonion:"
Every step has me confused out of my mind.
Zarko Kavensky 20. apr. 2023 kl. 3:12 
@possum with a gun

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!
Perineum Pudding 25. feb. 2023 kl. 20:29 
Respectfully, the "It's super easy to use! Even for the non-experienced modders" comment is a bit disingenuous. I'm wanting to make a custom character model for a friend and need a costume saver to prevent their model from being covered up, but the coding lingo used in the github page is far above my head.

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?
RealGreenQueen 29. sep. 2022 kl. 9:07 
Does it work with repentance
RealGreenQueen 28. sep. 2022 kl. 17:14 
What do I do to make it so outfit parts on modded characters stay on? Does this mod help with that?
anika bloom 10. juni 2022 kl. 21:32 
is there a link to a download for the costume for the character in the thumbnail? specifically, the one on the right.
Zarko Kavensky 30. maj 2022 kl. 6:49 
What I mean is

- what should I do first?,
- does is require a specefic "file"?
- what should I put in the "code"?
and "where"?
Zarko Kavensky 30. maj 2022 kl. 6:37 
@Sanio #savetf2 , I just don't get if by "how" I must do it... because, it's a kind of a bit
inexplicit for me... what should I do? even in your Github page, I still don't get it at all...
Benny  [ophavsmand] 1. maj 2022 kl. 7:16 
Er whoops, I actually changed it specifically to "NullItemIDWhitelist" to be exact.
Benny  [ophavsmand] 1. maj 2022 kl. 7:14 
That would be beccaaauussseee I'm a dumbass and forgot to update the wiki! It was changed to "NullEffectCostumeWhitelist" instead of "NullItemCostumeWhitelist"...though for consistency sake I really should change it back, so no worries! I just sent out an update that changes it back and actually fixes a other couple other things.
Dangan2020 1. maj 2022 kl. 6:41 
Hey uh... got a problem here. I get the following error:
"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?
my true form 12. mar. 2022 kl. 6:51 
It seems like so but it doesn't re-add my costume.
Benny  [ophavsmand] 11. mar. 2022 kl. 14:17 
Did you...add everything correctly? I mean the wiki is right there. Any time your costumes reset, it clears all costumes and re-adds the costume you assigned to your character from "AddPlayer".
my true form 11. mar. 2022 kl. 8:46 
I have one problem. When I pick up an item that includes a costume, my costume_ears disappear and my character doesn't have any costume.
Benny  [ophavsmand] 6. jan. 2022 kl. 20:06 
I've been meaning to update the Workshop version. The Github version is more up to date. HOWEVER, if the regular character is working but the tainted character isn't, maybe you just have something wrong purely with the Tainted Character itself, I dunno. Double check that your players.xml looks fine, this mod bases everything on the player's PlayerType for checking who to protect.
💕 CuddleJoy 💕 6. jan. 2022 kl. 1:38 
I've been tweaking bits and bobs of it for hours now without any luck... The regular character works perfectly, but the tainted version doesn't seem to be recognised by the code and isn't being protected... Can you help me figure out what needs fixing here?
💕 CuddleJoy 💕 6. jan. 2022 kl. 1:37 
Hey, I'm trying to incorporate this code into my own mod and I'm having trouble getting it to work for the tainted version of my character. Here's the code I've got so far:

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)
Benny  [ophavsmand] 27. nov. 2021 kl. 17:12 
I'll be updating the mod super soon! I'll have a GitHub repository created alongside it, and move the instructions over there. There's a good chunk of more stuff accounted for, and updates to the structure of the mod that'll require some changes from the user for those that want to update their mods with this library.
Benny  [ophavsmand] 22. nov. 2021 kl. 18:20 
to pablo, yes! Any PlayerType can be listed. Be sure to use the existing enumeration provided by the API for his PlayerType.

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)
Benny  [ophavsmand] 10. okt. 2021 kl. 11:11 
No clue if anyone has actually implemented this into their mods aside from one person who contacted me directly and my own mods, but there are gonna be a few improvements coming to this as a somewhat final update, but I wanna hold off until the Rep PC patch comes along to potentially release even more fixes if needed.
Blind Idiot God 12. juli 2021 kl. 21:57 
so you can keep looking at their gay visage, 0/10
ocksie 9. juli 2021 kl. 1:20 
Congrats on the release Sanioo :happy_creep:
lesserStar 8. juli 2021 kl. 14:41 
epic