Open Modular Turrets

Open Modular Turrets

26M Downloads

Rewrite of Targeting System

Closed this issue · 5 comments

commented

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)
commented

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

commented

This won't change that. I will prolly just add a config based list of mobs you can change to add mobs.

commented

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.

commented

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.

commented

ok, thank you for telling me that.