Pets and NPC's follow paths, can player? menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With a proper navmesh (assuming the entire world is generated), should allow you to go pretty much anywhere and never be stuck. (Save for the fear/knockback etc, glitches into/behind game objects) The more efficient way of checking obstacles and obstructions, is through the navmesh itself, as you can load that data quicker, and it has the benefit of being in your own code (which makes it that much easier to work with)

    Although, that is double-dipping in the long run. (Loading the current map stuff from memory, and parsing it is a lot more efficient than loading your nav mesh from disk, then doing all your mesh generating and such)

    Simply leaving 'void space' in your navmesh would be a much more efficient method of collision detection than actively doing collision checks. (If you already know you'll run into something there, why the **** would you even let your nav system know it's there? What it doesn't know about, it ignores, and goes around!)

    And yes, A* or Dijkstra are two of the best pathfinding algorithms there are. (A* is great for fragmented meshes such as a WoW nav mesh, Dijkstra's is great for it as well, but suffers some performance issues)

    @Cypher: The nav system should never be 'adding' new points to the mesh, simply flagging points as good/bad depending on if it has issues. (I.E: running into a random rock somewhere that you can't get passed, would flag that point as bad, and the pathfinder should avoid it)

    Pets and NPC's follow paths, can player?
  2. #17
    testout's Avatar Member
    Reputation
    7
    Join Date
    May 2008
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used A* and generated a map on the fly (and pregenerated later) in my video here:

    http://www.mmowned.com/forums/wow-me...ml#post1193387

  3. #18
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Apoc View Post
    With a proper navmesh (assuming the entire world is generated), should allow you to go pretty much anywhere and never be stuck. (Save for the fear/knockback etc, glitches into/behind game objects) The more efficient way of checking obstacles and obstructions, is through the navmesh itself, as you can load that data quicker, and it has the benefit of being in your own code (which makes it that much easier to work with)

    Although, that is double-dipping in the long run. (Loading the current map stuff from memory, and parsing it is a lot more efficient than loading your nav mesh from disk, then doing all your mesh generating and such)

    Simply leaving 'void space' in your navmesh would be a much more efficient method of collision detection than actively doing collision checks. (If you already know you'll run into something there, why the **** would you even let your nav system know it's there? What it doesn't know about, it ignores, and goes around!)

    And yes, A* or Dijkstra are two of the best pathfinding algorithms there are. (A* is great for fragmented meshes such as a WoW nav mesh, Dijkstra's is great for it as well, but suffers some performance issues)

    @Cypher: The nav system should never be 'adding' new points to the mesh, simply flagging points as good/bad depending on if it has issues. (I.E: running into a random rock somewhere that you can't get passed, would flag that point as bad, and the pathfinder should avoid it)
    Apoc, I didn't say points should be added for a pre-generated mesh. But if you're generating a small mesh by hand, you need your system to be able to 'fill in the gaps' and add extra points when it wanders away.

    I assume you're talking about an automatically generated mesh, rather than a hand generated one. (ie Greynav rather than the base OpenBot nav)

    Whilst you are correct about most of what you're saying, you're again asserting it based on the assumption that the mesh is automatically generated. If you need your system to 'learn' its a little more complex than just never writing to the mesh and leaving blank space where you don't want it to go.

    Also, how do you propose you include GameObject information in your mesh in an automated fashion? Its impossible to do with a pre-generated mesh because theres no client-side data that shows where GameObjects are going to be loaded, the whole point of them is that they are dynamic. So you still need to have collision detection in place.

    EDIT: Upon closer inspection it appears my posts may be a tad ambiguous, my apologies, was in a raid at the time and writing between wipes.

  4. #19
    grak's Avatar Contributor
    Reputation
    94
    Join Date
    Jul 2008
    Posts
    151
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Haven't really read this.. But couldn't you just get elite with Pather? Sorry if i misunderstood.
    Pather works like a charm for me

  5. #20
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any post that begins with "haven't read" ends with fail.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 9
    Last Post: 10-05-2013, 07:25 AM
  2. [Auction House] New Pets from Npc (massive Profits within min and no effort.)
    By Callavera in forum World of Warcraft Guides
    Replies: 37
    Last Post: 08-30-2012, 05:51 PM
  3. Replies: 10
    Last Post: 08-28-2012, 09:21 PM
  4. Determine if it's a player, pet or NPC
    By object in forum WoW Memory Editing
    Replies: 2
    Last Post: 08-20-2008, 10:42 AM
All times are GMT -5. The time now is 02:29 AM. 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