segabl / pd2-useful-bots

A lightweight bot overhaul
GNU General Public License v3.0
7 stars 5 forks source link

Allow bots to melee enemies? #7

Open T-Rizzle12 opened 2 years ago

T-Rizzle12 commented 2 years ago

I noticed while playing with this mod that when enemies get to close the the bots they usually try to shoot them, “somehow they miss, may be a game bug,” or just stare at them while trying to reload and I think It would be nice to let the bots melee enemies that get to close, “probably not as strong as better bots,” this could also be integrated with your other mod, Bots Weapons and Equipment, to allow other users to customize the melee weapon the bots use, “think it should be for decoration only and not affect how much melee damage the bots can deal for balancing reasons,” but this could help improve the bots ability to survive by allowing them to deal damage to enemies that get to close them, especially for bots that have a sniper rifle for a weapon or a weapon with a long reload time.

segabl commented 2 years ago

This is definitely something that I have thought about, unfortunately there are some issues that prevent a simple solution without either having to rewrite a huge function, making it potentially conflict with other mods or doing a workaround that will conflict with one of my other mods (where I already added npc melee against other npcs) so I would have to adjust both mods, which I currently don't have time for. I'll keep this open to track since it's something I still want to add later at some point, just not very high priority atm.

T-Rizzle12 commented 2 years ago

Thank you for your response, I can wait until you have the time to implement the function. 😄