Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Pathfinding Help #227903
09/16/08 18:44
09/16/08 18:44
Joined: Sep 2008
Posts: 29
L
log2 Offline OP
Newbie
log2  Offline OP
Newbie
L

Joined: Sep 2008
Posts: 29
I know it's been asked, I've read all the posts in the AI section, but I have been trying to write an AI code for pathfinding, only a few problems...

- I don't want to use paths in WED (Which seems to be the easiest way so far)
- I don't want to use someone elses script (Includes lines of code not needed, so no point)
- I want it to be able to update it's path (Obviously)


Now I don't want someone to write the code for me (Hence point 2 :P) but I have just started using Lite-C and well I was trying to do it using c_trace, and c_scan, but I just can't seem to get it working properly

I would appreciate a few snippets to help find something like holes in the wall, or stuff like that, and I would also like a written example of the best way to make a pathfinding script, but not the script itself :P haha

Well thanks in advance, by the way, all I want at the moment is something simple, as in find my way to a door in a room with a wall in the center, that's what I'm trying to make, I just can't seem to think of how to do it in Lite-C

Re: Pathfinding Help [Re: log2] #227993
09/17/08 07:32
09/17/08 07:32
Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
Puppeteer Offline
Expert
Puppeteer  Offline
Expert

Joined: Jan 2007
Posts: 2,247
Deutsch Niedersachsen
YOu have the wrong idea about pathfinding you should read this one for pathfinding without paths:(non dynamic)
http://www.coniserver.net/coni_users/web_users/pirvu/au/tutorials/zipped/pathfinding.zip
and this one for dynamic A* pathfinding
http://www.coniserver.net/coni_users/web_users/pirvu/au/tutorials/zipped/astar_en.zip

EDIT: If you want something simple you should use non dynamic pathfinding (point or path based) or try collision avoiding instead of pathfinding.

Last edited by Puppeteer; 09/17/08 07:34.

Formally known as Omega
Avatar randomness by Quadraxas & Blade
http://omegapuppeteer.mybrute.com
Re: Pathfinding Help [Re: Puppeteer] #228301
09/18/08 16:48
09/18/08 16:48
Joined: Sep 2008
Posts: 29
L
log2 Offline OP
Newbie
log2  Offline OP
Newbie
L

Joined: Sep 2008
Posts: 29
Hey thanks for the response, the A* was the one I was looking for, it's a little confusing at the moment, haha, but thanks a bunch for the article

Re: Pathfinding Help [Re: log2] #235880
11/10/08 18:21
11/10/08 18:21
Joined: Oct 2008
Posts: 513
Carlos3DGS Offline
User
Carlos3DGS  Offline
User

Joined: Oct 2008
Posts: 513
Is there any other A* guide available?


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1