Rewrite of Targeting System
Closed this issue · 5 comments
Make the turrets way smarter and modularize the targeting system.
- basic layout, 1 function to get best entity, 1 function to filter every invalid entity
- priority system 5 priorities, each one can get a value assigned to it (maxhp, hpremaining, distance, armor, player)
- add custom entity filtering function to TurretHeads
-
add in UI to manage this(OMTControl)
Can’t wait for this to work currently the turrets have some mobs they don’t attack like from primitive mobs mod or grimoir of gaia
This won't change that. I will prolly just add a config based list of mobs you can change to add mobs.
what about adding an in game ui that allows you to config the mobs, kind of like how you use /summon to spawn mobs like witches.
even if hard to code, this may make it easier for those who are unsure of how to use or access the config file.
Forge already adds in a config GUI for mods, OMT etc. support this as well.
It is in the mod list menu under mod options.