Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

SA-MP bots AI (shortest path algorithm) Part #2 - demonstration

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,358
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 27, 2010

Here comes the second part where the functionality is demonstrated explicitly. After loading the pre-made node & web files (previously generated ingame, check 1st vid for more info), the party is about to begin. Our NPC (non-played-character) or also known as bot, can easily get about, inside the interior using the nodes. The algorithm generates an optimal path after analyzing the web connections between the nodes. The path is then stored and visited, one after the other.
The coordination is a bit rough, although that can easily be improved by adding some more nodes in exchange for better precision.

Link to this comment:

Share to:

Uploader Comments (lipcsey)

  • Heh, 1337 David, as always.

    Great job. :)

  • @AnthonyAT33 Cheers man, eh long time no speak/type whatever :p

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • You should get a /clearchat cmd XD

    PS: One step closer to playing alone ... i mean playing sa-mp alone... don't have naughty toughts now -_-'

  • Very good!

  • Really nice.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more