Reminder: Internet Explorer 6 or below are NOT supported.





|
There are currently 271 users playing Freelancer on
99 servers. | September. 10, 2010 |
The Starport Forum Index
>
The Freeport
>
General Discussion
>
Looking for some code or an algorithm for pathfinding in fl
Browsing this Thread:
1 Anonymous Users
Looking for some code or an algorithm for pathfinding in fl |
||||
|---|---|---|---|---|
|
Just popping in
![]()
Joined:
2/6 19:47 Group:
Registered Users
Posts:
14
![]() |
shortest_legal_path.ini
looking for a basic way of using it for example: system A is X number of Systems away from System B i am working on other stuff currently and was just hoping someone might have some code laying around similar. i can modify it for my needs dosnt matter what language its in either ( lol someone sends me asm for it i will die)
Posted on: 2/7 19:22
|
|||
|
||||
Re: Looking for some code or an algorithm for pathfinding in fl |
||||
|---|---|---|---|---|
|
Just can't stay away
![]()
Joined:
2008/8/21 4:48 Group:
Registered Users FLServer Admins Trusted Speciality Developers
Posts:
326
![]() |
You want something like the Bellman-Ford algorithm.
http://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm and some code http://snippets.dzone.com/posts/show/4828
Posted on: 2/8 10:59
|
|||
|
||||
Re: Looking for some code or an algorithm for pathfinding in fl |
||||
|---|---|---|---|---|
|
Home away from home
![]()
Joined:
2008/6/2 10:17 Group:
Registered Users
Posts:
1074
![]() |
Do you want it for FL?
See here:- http://the-starport.net/freelancer/fo ... php?topic_id=2123&forum=7 And here:- http://the-starport.net/freelancer/fo ... php?topic_id=494&forum=10
Posted on: 2/8 22:55
|
|||
|
||||










Login



