tModLoader Eater Of Worlds type worm boss?

Saobie

Terrarian
Im sure theres some sort of complicated, special way to approach making a boss that functions like the eater. IE, splits into several worms if middle segments are killed. One of my endgame, Hallow themed bosses (iv noticed few mods have Hallow themed bosses) was supposed to function like this

Is there any way to make this a thing? Is it really complicated?
 
There is a way but it is quite complicated.
I have no idea either how to make one with custom ai.
But there is a simple way to do it.
Its called copying.
You can copy stuff from the EoW by using something like:
Code:
public override string Texture => "Terraria/NPC_" + NPCID.EaterofWorldsHead;

        public override void SetDefaults() {
          
            npc.CloneDefaults(NPCID.EaterofWorldsHead);
          
            npc.color = Color.Aqua;
        }
        //Note: this is just a part of the code do not just insert this in your NPC file.
        //This file is not complete and will require u to do this with the other body parts too.
This is the most basic way of making an npc.
Its not really satisfying but it works.
Hope that helped.
If you want me to make a complete file just "@" me.
That with the copying the texture isnt neccesary if you have an own sprite or are good a spriting and are capable of making one.
Edit:I hope that helps ;)
 
Back
Top Bottom