How can I get around objects? menu

User Tag List

Results 1 to 9 of 9
  1. #1
    b9er's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I get around objects?

    I've got my bot to where it will find something it wants to get to, face it, and run straight to it.

    So now my problem is what to do if I run into something?

    Anyone have any good ideas for figuring out when you've run into something and how to get around it in order to get to the thing you were after.

    I was thinking just keep checking that my own xyz are changing and if not turn one way and see if i can move and keep turning until I can move then reface the target but I have a feeling there is a better way.


    thanks

    How can I get around objects?
  2. #2
    BoogieManTM's Avatar Active Member
    Reputation
    52
    Join Date
    May 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The better way is to use a pathfinding algorithm on the terrain & model data of the client. There is no "easy" implementation for this, but there are a ton of resources on generic pathfinding out there (Google A*/A-Star path finding)

    wowdev.org has good info on breaking down the terrain and model files in order to generate a navigation mesh.

    Category:Files World - WoWDev
    M2 - WoWDev


    some good reads on the pathfinding subject:
    Gamasutra - Features - "Toward More Realistic Pathfinding" [03.14.01]
    Gamasutra - Features - "Smart Moves: Intelligent Pathfinding" [08.97]


    Good luck.

  3. #3
    Bobbysing's Avatar Member
    Reputation
    192
    Join Date
    Jan 2009
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alternatively you could go for the "lame" method and use WoW's TraceLine method ( which is also used to check if there is a Unit under the cursor so that it could change to a sword ) and use an alternative path if an obstacle is detected.

  4. #4
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi there bobby yes id take the time to learn howto/understand and create a navmesh would be the best solution

  5. #5
    UnknOwned's Avatar Legendary
    Reputation
    713
    Join Date
    Nov 2006
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by BoogieManTM View Post
    The better way is to use a pathfinding algorithm on the terrain & model data of the client. There is no "easy" implementation for this, but there are a ton of resources on generic pathfinding out there (Google A*/A-Star path finding)

    wowdev.org has good info on breaking down the terrain and model files in order to generate a navigation mesh.

    Category:Files World - WoWDev
    M2 - WoWDev


    some good reads on the pathfinding subject:
    Gamasutra - Features - "Toward More Realistic Pathfinding" [03.14.01]
    Gamasutra - Features - "Smart Moves: Intelligent Pathfinding" [08.97]


    Good luck.
    Did you even check thoes links before you posted them?

    Originally Posted by Bobbysing View Post
    Alternatively you could go for the "lame" method and use WoW's TraceLine method ( which is also used to check if there is a Unit under the cursor so that it could change to a sword ) and use an alternative path if an obstacle is detected.
    Traceline is usefull but must be combined with something for it to full work.
    Last edited by UnknOwned; 01-07-2009 at 02:16 PM.

  6. #6
    BoogieManTM's Avatar Active Member
    Reputation
    52
    Join Date
    May 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by UnknOwned View Post
    Did you even check thoes links before you posted them?
    Um, yes? They're very relevant to the subject. They're not introductory level stuff, but still relevant. If you're going to do pathfinding, you don't want it looking like a jackass, and zig-zagging around sharp invisible corners and such now do you?

    Here's entry level navmesh stuff..

    Gamasutra - Features - "GDC 2002: Polygon Soup for the Programmer's Soul: 3D Pathfinding" [04.05.02]


    Feel better now?

  7. #7
    UnknOwned's Avatar Legendary
    Reputation
    713
    Join Date
    Nov 2006
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by BoogieManTM View Post
    Um, yes? They're very relevant to the subject. They're not introductory level stuff, but still relevant. If you're going to do pathfinding, you don't want it looking like a jackass, and zig-zagging around sharp invisible corners and such now do you?

    Here's entry level navmesh stuff..

    Gamasutra - Features - "GDC 2002: Polygon Soup for the Programmer's Soul: 3D Pathfinding" [04.05.02]


    Feel better now?
    I mean...

    Did you try click this link:

    Category:Files World - WoWDev
    ?

  8. #8
    BoogieManTM's Avatar Active Member
    Reputation
    52
    Join Date
    May 2008
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by UnknOwned View Post
    I mean...

    Did you try click this link:

    Category:Files World - WoWDev
    ?
    I don't see a problem with that? every one of those files are relevant to pathfinding as well.

    wmo = world object models, buildings, large structures, cities (Ironforge is a big WMO iirc), etc
    adt = terrain data. water levels, etc etc.
    wdt = terrain index for tiles and world models and such

    wdl is heightmaps, not extremely useful but still not useless :P

  9. #9
    b9er's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This guy put together some good stuff to learn how to get around stuff in WOW MPQNav Public Blog

    I think I'm giving up on this particular project though.. but anyone who might be interested check it out

Similar Threads

  1. How can i get account info with secret question?
    By Matador in forum World of Warcraft General
    Replies: 2
    Last Post: 08-23-2007, 12:50 PM
  2. How do you get around D/C when you tele-hack
    By vivec45 in forum World of Warcraft General
    Replies: 3
    Last Post: 08-18-2007, 06:52 AM
  3. How can I get glider to bandage?
    By lohkies in forum World of Warcraft General
    Replies: 1
    Last Post: 03-26-2007, 10:55 AM
  4. How can I get a transportation?
    By laineter in forum World of Warcraft General
    Replies: 3
    Last Post: 03-01-2007, 08:40 PM
  5. How can i get my screen like this
    By Mike3667 in forum World of Warcraft General
    Replies: 4
    Last Post: 09-09-2006, 07:31 PM
All times are GMT -5. The time now is 09:10 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search