+ Reply to Thread
Results 1 to 8 of 8

Thread: Pathfinding AI

  1. #1
    Wire Amateur g33v3s is on a distinguished road g33v3s's Avatar
    Join Date
    Feb 2009
    Location
    Brisbane, Queensland, Australia
    Posts
    35

    Lightbulb Pathfinding AI

    Hi guys,

    I want to create a basic pathfinding AI capable of getting to a designated position on any map. I have an idea on how to accomplish this with e2 but am having trouble starting the expression. Also how could I create a simple node system without dividing the entire map into thousands of cubes?

    And please I am not asking to be spoonfed code (not that i think anyone would bother). I just need some ideas. Thanks in advance.
    Last edited by g33v3s; 07-05-2009 at 04:04 AM. Reason: Changing icon

  2. #2
    Wire Sofaking singilli is on a distinguished road singilli's Avatar
    Join Date
    Jun 2007
    Location
    Garðabær, Iceland
    Posts
    505

    Default Re: Pathfinding AI

    Just assign like Node1, Node2, Node3. Make it go to each and when it's like 100 x or y from it go to next node. Some common sense and logic only needed to do this.

  3. #3
    Wire Amateur A.K.A.Steve is on a distinguished road A.K.A.Steve's Avatar
    Join Date
    May 2009
    Posts
    38

    Default Re: Pathfinding AI

    Path finding isnt really my forte, but you really dont need to care about the whole map. You could do a scan within 100 units of your pathfinder and subdivide that area.

  4. #4
    Wire Sofaking d3cr1pt0r is on a distinguished road d3cr1pt0r's Avatar
    Join Date
    Jul 2008
    Posts
    566

    Default Re: Pathfinding AI

    You want to make AI nodes? Don't even bother trying to achieve that. I recommend to rather scan the surrounding for obstacles and try to avoid them.
    <3

  5. #5
    Lurker eurocracy is on a distinguished road eurocracy's Avatar
    Join Date
    Sep 2007
    Posts
    117

    Default Re: Pathfinding AI

    Just make a ranger scan the surrounding area and work a path from that
    My sig was 201 pixels long so moderators snipped it
    Oh teh noes!

  6. #6
    Drone Madman
    Lyinginbedmon has a spectacular aura about Lyinginbedmon has a spectacular aura about Lyinginbedmon's Avatar
    Join Date
    Mar 2009
    Location
    England
    Posts
    2,651

    Default Re: Pathfinding AI

    Which is simple enough, use rangers pointed in various directions, and have the bot turn away from the direction of the rangers outputting the smallest distance.
    The Olympus Technologies drones, totally not SkyNet in Gmod form.
    Cronus: The Ultimate Drone, definitely SkyNet in Gmod form.
    The gBrain Project, the drone controls system that thinks it's better than you

    Need to learn how to make your own drones? Check out Drones with a Mad Scientist for my tutorials on how to do it.

  7. #7
    Wire Amateur g33v3s is on a distinguished road g33v3s's Avatar
    Join Date
    Feb 2009
    Location
    Brisbane, Queensland, Australia
    Posts
    35

    Default Re: Pathfinding AI

    Alrighty then, thanks for the advice.

  8. #8
    Wirererer Pangamini is on a distinguished road Pangamini's Avatar
    Join Date
    Feb 2009
    Location
    Slovakia
    Posts
    393

    Default Re: Pathfinding AI

    Hey dont listen to them, they re just lazy.
    I think it is possible to make ai node navigation in E2, i was thinking about such thing too. But my concept was more like CS PodBots where u had to place waypoints manually. Binding some "say" command recognized by e2, being visualised via holograms you can create nodes at points with obstacles or crosses, doors etc and let E2 find which node can see which, store data, then use basic pathfinding algorithm to navigate through these nodes.
    But don't get discouraged by people who don't even give you one good reason why this should not work

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots