SA-MP Forums

Go Back   SA-MP Forums > Other > Everything and Nothing

Reply
 
Thread Tools Display Modes
Old 01/01/2019, 05:46 AM   #21
cessil
High-roller
 
cessil's Avatar
 
Join Date: Apr 2009
Posts: 1,353
Reputation: 296
Default Re: A* Pathfinder (3D map) in samp

I was thinking over this, I haven't looked too much into Col Andreas, but it seems to have stored collision objects as vectors and then rebuilds the polygons.

from that data you could possibly check which polygons have low z differences (surfaces) and create navigation meshes instead of using nodes.. actually just thinking this through that'd fail too seeing as a lot of objects just intersect with the floor.

well another idea which wouldn't work for tunnels would be to create a navigation mesh with the assistance of map andreas, but you'd have a bunch of broken areas with bridges which would have to be manually fixed, although with the help of nodes you could possibly automate patching some of them.


here's an idea I had for a simple side stepping algorithm with col andreas in mind, but it's hard to imagine anything beyond simple working seeing as it's like being in an unknown pitch black room with only a laser pointer to figure out where to go.
cessil is offline   Reply With Quote
Old 01/01/2019, 03:04 PM   #22
Baboon
Banned
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 919
Reputation: 348
Default Re: A* Pathfinder (3D map) in samp

Quote:
Originally Posted by Kar View Post
It's about damn time
All those kids who played SA-MP studied and came back to apply their knowledge lol
Baboon is offline   Reply With Quote
Old 01/01/2019, 03:39 PM   #23
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,854
Reputation: 1292
Default Re: A* Pathfinder (3D map) in samp

Quote:
Originally Posted by Baboon View Post
All those kids who played SA-MP studied and came back to apply their knowledge lol
There is no end of breakthroughs in sight, the only problem is the vast majority are too short-sighted to see a breakthrough let alone materialise their visions.
Pottus is offline   Reply With Quote
Old 08/01/2019, 07:42 PM   #24
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,063
Reputation: 184
Default Re: A* Pathfinder (3D map) in samp

Long time ago (like a year maybe even more) i modified FCNPC and ColAndreas for pathfinder prototype. What i basically did is use pathfinder plugin, and use simple coordinates like it does for mapandreas. But Z i was getting relative to previous Z and comparing angle (slope) between them. Then i also raycasted between two points in case there is a wall or something. And these worked like a charm under the bridges, in forest and in railway tunels
__________________
Путин here,
Путин there,
Путин просто everywhere.


Any PM's that include question about any kind of help will be ignored.
Use appropriate boards for that
DRIFT_HUNTER is offline   Reply With Quote
Old 14/06/2019, 07:54 PM   #25
MpK
Gangsta
 
MpK's Avatar
 
Join Date: Feb 2013
Posts: 649
Reputation: 169
Default Re: A* Pathfinder (3D map) in samp

Quote:
Originally Posted by MrStead View Post
I need the .dll plugin of these files in which there is an include the PathFinderCA https://github.com/Fleynaro/PathFinderCA

Can you share it?
MpK is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Plugin] PathFinder by Pamdex pamdex Plugin Development 149 19/06/2019 11:11 AM
[Plugin] PathFinder jeanluc162 Plugin Development 19 05/09/2015 07:39 PM
How To Instail Samp Cpanel Into Website To Make Samp Server Panel MrTransport Scripting Help 6 14/08/2015 05:16 PM
[HELP] How To Create Turf And /attack System For RP , Im Going To Wiki.Samp And forum Samp ? || +Rep || AmirSlaYeR Scripting Help 9 06/12/2014 02:44 PM
SAMP Add a 'A new version of samp is available' text at the start of samp client. Tomboeg General 16 29/03/2013 06:06 PM


All times are GMT. The time now is 03:17 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.