What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[GB2] Flight Path Smoothing

Smarter

Member
Joined
Jan 15, 2010
Messages
763
Reaction score
9
If you create profiles with RoutesBuddy or without manually recording, you can run into areas where the bot is constantly moving up and down and around between each Hotspot. So I was considering creating a BotBase that would automatically smooth the Hotspots of a profile to make a more optimal flight path free of obstructions. However I have been having some issues with the idea of it all ....

Purposed Method: Beginning at the first Hotspot, RayCast to the next Hotspot, if succesful, travel to that hotspot and check the next. In the event it is not possible to directly travel to next hotspot, attempt (#) to modify hotspot within a constraint to get a successful RayCast.

Purposed Changes to Hotspots: ----- ? ------
I've only came up with a few ideas, one being move up, down, left, and right by a random # a # of times and attempt to RayCast to the next spot.

.....??Help??...
 
:-\ Alone on this one?

Probably so. :D

Thankfully, Honorbuddy allows you to replace the built-in Navigator with one of your own making. The interface you have to implement is INavigationProvider.

Save Honorbuddy's original Navigator, and anything you don't know how to handle, just have your Navigator pass to the 'original' one. Things like the 'Unstuck handler' come to mind.

Your basic idea will definitely work. You might want to be smarter than 'random' however. Perhaps a hemisphere of points around the desired location, and expand the radius in increments of 25 yards until you can find a point on the hemisphere that as clear line-of-site.

Extensions to WoWPoint will help you do a lot of work with less code--such as generating the array of hemisphere points. I've implemented something similar in the past for another purpose.


cheers,
chinajade
 
Last edited:
Probably so. :D

Thankfully, Honorbuddy allows you to replace the built-in Navigator with one of your own making. The interface you have to implement is INavigationProvider.

Save Honorbuddy's original Navigator, and anything you don't know how to handle, just have your Navigator pass to the 'original' one. Things like the 'Unstuck handler' come to mind.

Your basic idea will definitely work. You might want to be smarter than 'random' however. Perhaps a hemisphere of points around the desired location, and expand the radius in increments of 25 yards until you can find a point on the hemisphere that as clear line-of-site.

Extensions to WoWPoint will help you do a lot of work with less code--such as generating the array of hemisphere points. I've implemented something similar in the past for another purpose.


cheers,
chinajade

Beautiful response :-D. A thought however I was having was what if there is a very large object in between two points that isn't "smoothable". Simply skip it? Any ideas?
 
Back
Top