deice wrote: ↑Thu Jan 09, 2025 6:52 pm
Jokyaku wrote: ↑Thu Jan 09, 2025 4:58 pm
Hello! I'm currently just finishing a custom NPC and I was wondering if there was any way of using Extra Settings to alter an NPC Config such as nofireball or jumphurt.
extra settings are typically used for setting parameters on individual npc instances, whereas npc config (aside from some outliers like noblockcollision) have no way of being applied selectively. there are ways to emulate certain npc config flags (e.g. cancelling a harm event for a specific npc with a certain setting applied to make it immune to fireballs) but this depends heavily on the use case
could you elaborate on exactly what you're trying to do?
I'm making a "Bro" NPC with way too many variants so I'm using Extra Settings to alter which variant I want instead of using a different NPC slot for each one, sorta like how the Paratroopa works but with more variants and also changing the sprite on each one.
I wanted to know if changing the config in a case by case basis was possible since it would be a lot easier to manage, but if it's not possible I'll just emulate the behavior like you mentioned, thanks for the help.