I have a couple of questions about npc ai, projectile ai, and other stuff for my custom boss. I be soo lost
- how do I make the npc texture change to something else kinda like the EoC changes to have a mouth.
- how do I make the npc shoot a projectile from the edge of the texture and not the center to where it's facing, not necessarily at the player EDIT: sorta like the way either one of the twins shoots, my shots usually come out in weird angles from the texture center to where the player is when it is shot.
- how do I make the npc stay stationary and spin
- also how might I make the npc invincible and regen while it is spinning
- how do I make the npc hover above the player like the nimbus, only stay in that position relative to the player no matter how fast they move
- how do I draw a giant rectangle, sort of like the circle around the abomination in that it is shaded, with the player's position, when it is first drawn, as the center when the boss is first summoned, and stay put until the boss is defeated or leaves, which it will do if the player dies
- also how might I move the npc to the center of the rectangle
- also how might I make the npc charge super fast at the payer and deal 1,000,000,000,000 damage or what ever the max damage in terraria is and be invincible if the player leaves the inside of the rectangle (I know it's OP, buuut... the summon item will warn you not to leave...)
- how might I make a bouncing projectile, that bounces like the meteorite bullet, but with no limit
- also how could I make this projectile bounce of the side of the rectangle, but only if it hits them from the inside (or is this even possible)
- also how could I make this projectile shoot motionless projectile every single tick to stay along the path it took and damage the player
- how might I make the npc damage and defence increase the more damaged it is
- how might I make the npc shoot a beam like the moon lord's death ray thing
-how do I make the npc face the player and then charge like the expert EoC
EDIT: 'a couple questions' is a huge understatement. I just noticed that
pls help me