TheSimpler
Terrarian
I cant recompile it because it is not valid win32 file
And if I try to run terraria modded exe it shows me this:
And if I try to run terraria modded exe it shows me this:

Thanks so much - er, for the code, not really the art.Alright, GUIDE TO MOUNTED NPCs!!!!
Here is something I made from looking at the Scutlix. Note that these types of NPC seem to consist of 3 NPCs, lets call them Top, Bottom, and TopAlone.
So really, the only special considerations is that
- Top is the only one that is spawned naturally through CanSpawn. When it is spawned, it immediately spawns a Bottom to go with it. The AI code from then on just mimics the Bottoms position, velocity, and spriteDirection. When bottom is dead, the AI code tells it to transform into TopAlone npc.
- Bottom controls how the NPCs move as a unit. When it moves, Top moves with it automatically. Can be programmed in a similar manner to any other NPC.
- TopAlone is the NPC that is created when Bottom dies. Can be programmed in a similar manner to any other NPC.
Here is a download to my test mounted NPC. Remember to place these in the NPC folder and to change the namespace to match your mod's. You should be able to build off these. Also note that Top will shoot lasers at you, yay. You can learn from this example. I've commented the code as well as I saw fit, but if you can't figure things out, just ask.
- Bottom and TopAlone don't spawn naturally (well, you can if you want, doesn't matter either way.)
- Top's AI code must spawn Bottom, mimic it's behavior, and transform into a self moving NPC on Bottoms death.
Here it is in action.
![]()
@jopojelly / @bluemagic123 - Yes - so I tried to spawn it using an item, then it spawned incorrectly. The rider spawned away from it and did not budge while the mount acted normally.Alright, GUIDE TO MOUNTED NPCs!!!!
Here is something I made from looking at the Scutlix. Note that these types of NPC seem to consist of 3 NPCs, lets call them Top, Bottom, and TopAlone.
So really, the only special considerations is that
- Top is the only one that is spawned naturally through CanSpawn. When it is spawned, it immediately spawns a Bottom to go with it. The AI code from then on just mimics the Bottoms position, velocity, and spriteDirection. When bottom is dead, the AI code tells it to transform into TopAlone npc.
- Bottom controls how the NPCs move as a unit. When it moves, Top moves with it automatically. Can be programmed in a similar manner to any other NPC.
- TopAlone is the NPC that is created when Bottom dies. Can be programmed in a similar manner to any other NPC.
Here is a download to my test mounted NPC. Remember to place these in the NPC folder and to change the namespace to match your mod's. You should be able to build off these. Also note that Top will shoot lasers at you, yay. You can learn from this example. I've commented the code as well as I saw fit, but if you can't figure things out, just ask.
- Bottom and TopAlone don't spawn naturally (well, you can if you want, doesn't matter either way.)
- Top's AI code must spawn Bottom, mimic it's behavior, and transform into a self moving NPC on Bottoms death.
Here it is in action.
![]()
Just wait for @bluemagic123 to get on, he will be able to help.I cant run modded terraria EXE:
![]()
![]()
Try following the instructions in the README file.I cant recompile it because it is not valid win32 file
And if I try to run terraria modded exe it shows me this:
![]()
That... is truly weird. It's these isolated problems that are the hardest to fixHello people! I need some help with something. Every single one of the modded items for some reason have white spaces around them instead of being empty. For example:<--- This happens with every modded item. This includes armors, tools, etc.. It's not just one mod either. I have 3 mods installed: Tremor Remastered, Quality of Life (Combined with EldAccessories), and AeONS of Terraria. I would check if this was already fixed, but I'd rather not go through 125 other pages![]()
Anyway, please help if you can!
Yeah, I thought it would be a pretty bad problem. It's okay if you aren't able to figure it out. I'll just play N Terraria instead.Try following the instructions in the README file.
That... is truly weird. It's these isolated problems that are the hardest to fix![]()
Zip up your project and let me see. Also, sometimes a different projectile will kill the enemy that is shooting it, is projectile.hostile true?@jopojelly / @bluemagic123 - Yes - so I tried to spawn it using an item, then it spawned incorrectly. The rider spawned away from it and did not budge while the mount acted normally.
EDIT: I manipulated the code a bit - a different projectile being fired - and I cannot see how it isn't working.
NVM - I figured it out.Zip up your project and let me see. Also, sometimes a different projectile will kill the enemy that is shooting it, is projectile.hostile true?
Zip up your project and let me see. Also, sometimes a different projectile will kill the enemy that is shooting it, is projectile.hostile true?
They talked about it a while ago and I know you won't like the sound of this but you might have to look through the pages but I'm pretty sure it's past page 70 so you could start there.Is there a way to make a sword fire a healing projectile? If so can I have the code?
No, they do notwould tapi mods work with this?
darn D:NO I tried![]()