Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-05-2012, 06:08 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default Bot positioning

I want to suggest some ways to improve the bots, mostly to do with how they path and position. In general, the bots don't seem to know or care about positioning. If you have multiple bots and send them to attack something, they all just stack onto eachother in the same space and attack. Obviously, this looks funny. I suggest, if possible, giving the bots some awareness of eachothers' space so that they spread out and maybe encircle a mob when attacking, if possible. This is probably a little easier said than done since the bots will have to consider walls and cliffs, but it seems like it would make them more fun to use.

A similar thing happens when you spawn the bots. They default all to the same following distance, so you end up being followed by this freaky mutant composite of x number of bots all occupying the same space. I have macros set up so when they spawn they each take up a different follow distances, but it might also be cool to allow them to take formations when possible, like cluster behind you, line up behind you, form a v, or even try to walk in front of you when possible.
Reply With Quote
  #2  
Old 03-05-2012, 08:49 PM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 905
Default

I don't think we need to concern the bot developer(s) with aesthetic concerns. Yeah it would be cool if the bots made a cute circle but what function does it serve? There are many ways to functionally improve the bots and such improvements are a much better way of spending the developer(s)' time.
Reply With Quote
  #3  
Old 03-05-2012, 09:07 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

I guess I can agree with that.
Reply With Quote
  #4  
Old 03-05-2012, 10:50 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I did that when spawning bots and it looked very nice, but because it has to find the best z value for each bot, it becomes very expensive for what it was worth, especially when spawning a full raid. If I saved the code I could post it for others, but I don't think it will get put into the svn.
Reply With Quote
  #5  
Old 03-06-2012, 01:04 AM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

I didn't really think about it for Raids. I could see how that would be a disaster for smooth gameplay if 70 something bots were trying to keep eachother's positions in mind.

But what about just including it for a small group or two?
Reply With Quote
  #6  
Old 03-06-2012, 11:45 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Maybe you could check for the number of bots already spawned and only do it for the first 5 or whatever bots. After that though, you'd just have the congealed mass o' bots we currently have.

I'm sure it would run better on an actual server and not my patchwork 8 year old used to be desktop acting as a server. But if you have a few characters with a few bots each, it would add up fast. Especially it they tried to keep their space at all times.
Reply With Quote
  #7  
Old 03-06-2012, 12:28 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Bad Captain I would like to see those changes, maybe for just my server. We are limited to 5 bots so it would really not be expensive for us on resources, plus we are low population.

And while I am here, thanks for everything. We are enjoying all of your recent changes.
Reply With Quote
  #8  
Old 03-06-2012, 12:36 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

I think I also didn't consider that in a public server, potentially every logged in account could have a number of bots. That could also get bad.

I run my own server just by myself, so unless I ran a bot raid, I wouldn't really ever have more than 5 or so bots. That might be of too limited applicability to warrant changing the code, but I thought it would be pretty cool. Maybe it could be something you could enable or disable based on your server settings.
Reply With Quote
  #9  
Old 03-06-2012, 12:59 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

It is not a big deal either way. I think all of us have a practical approach to EQ. We are used to mobs dropping from the sky, killing something and the body falling below the terrain. You just get used to the quirkiness of it. EQ is not perfect and does not claim to be.
Reply With Quote
  #10  
Old 03-06-2012, 01:20 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I'll see if I can find the code and add a rule (default to off). Even if I can't find the code, it shouldn't be too hard to duplicate.
Reply With Quote
  #11  
Old 03-06-2012, 01:23 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

But what I did was for spawning only, mostly so I could view and mouse select any bot I wanted. It would need to be updated for movement, as after they moved, they would be clumped up again.

Regardless, I'll see what I can do.
Reply With Quote
  #12  
Old 03-06-2012, 02:56 PM
Sourdough35
Hill Giant
 
Join Date: Nov 2004
Posts: 126
Default

provocating, I'm probably just getting greedy then. I do like to try and appreciate the impressive work that's already been done when I can.
Reply With Quote
  #13  
Old 02-18-2014, 08:14 AM
vintage51
Fire Beetle
 
Join Date: Jun 2008
Location: Ohio
Posts: 4
Default

Sourdough35,

I know this is a old post but I was wandering what command you used to set the follow distance for your bots.

Thx
Reply With Quote
  #14  
Old 02-18-2014, 02:26 PM
werebat's Avatar
werebat
Hill Giant
 
Join Date: Oct 2010
Posts: 143
Default

#bot setfollowdistance xxxx

xxxx being the number you want to set, i find that increments of 1000 work ok for me, adjust as you see fit. make sure you target the bot first
Reply With Quote
  #15  
Old 02-18-2014, 08:30 PM
vintage51
Fire Beetle
 
Join Date: Jun 2008
Location: Ohio
Posts: 4
Default

Werebat thanks for the reply
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:49 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3