View Full Version : bot help?
Nightrider84
08-01-2014, 02:12 PM
While im not sure if its possible. But im looking to make a way for bots when in a group with a player. lets say a full group that instead of being stacked all in one spot that they would follow the player in more of a spread out pattern. It's more of a cosmetic fix. I just get tired of seeing all the bots grouped together in a bunch.
Uleat
08-01-2014, 04:04 PM
I've noticed this too..it is a bit wacky.
The code that controls this is different than that which makes them trail you..so, setting following distance won't apply to this issue.
The basic problem is that bots follow directly behind you in a straight line. Once combat starts, they take a straight-line approach to the mob..stopping at the appropriate
distance from the mob based on their class and the action they are performing.
I think the only class that exhibits 'appropriate' behavior is rogue..it will adjust to to be behind the mob (but, I've seen it stand on top on before..no idea its actual coords...)
I may play with this in my downtime sessions..but, feel free to work on it if you have an idea :)
EDIT: This is probably a good place to start: https://github.com/EQEmu/Server/blob/master/zone/bot.cpp#L3512
Nightrider84
08-01-2014, 04:24 PM
Also anyway to change a bot stance so they reserve like 30% mana for only heals? Ill hafto look into that section and see what I can find out
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.