Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 12 1 2 3 11 12
ez_path -- for alpha testing! Simple Pathfinding. #44581
04/19/05 00:46
04/19/05 00:46
Joined: Mar 2002
Posts: 580
San Francisco
clone45 Offline OP
User
clone45  Offline OP
User

Joined: Mar 2002
Posts: 580
San Francisco



Hello everyone!

Introducing "ez_path" -- node based pathfinding made easy!! I just finished up the coding and documentation for version .00001. I would love it if people would download it and try it out! Tell me what you think!!

Enjoy!!
www.gamebeep.com/freebies/ez_path_src.zip

Features:

* No need to configure the nodes. They link themselves!
* Initial Documentation included.
* Super simple to integrate. Here's sample code for walking the nodes:

Code:

while(1)
{
pf_to_ent(my, dst_ent); // pathfind to target entity...
my.pan = my._PF_PAN_TO_TARGET;
move_mode = IGNORE_YOU + IGNORE_PASSABLE + GLIDE;
ent_move(vector(time * 4,0,0), nullvector);

wait(1);
}



Re: ez_path -- for alpha testing! Simple Pathfind [Re: clone45] #44582
04/19/05 02:58
04/19/05 02:58
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Rhuarc Offline
Expert
Rhuarc  Offline
Expert

Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
Looks very simple and useful!

I'll have to give this a try .

-Rhuarc


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog
Re: ez_path -- for alpha testing! Simple Pathfind [Re: Rhuarc] #44583
04/19/05 03:19
04/19/05 03:19
Joined: Jul 2002
Posts: 2,813
U.S.
Nadester Offline

Expert
Nadester  Offline

Expert

Joined: Jul 2002
Posts: 2,813
U.S.
Nicelly done Bret


--Eric
Re: ez_path -- for alpha testing! Simple Pathfind [Re: Nadester] #44584
04/19/05 09:35
04/19/05 09:35
Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
Bird Offline
Senior Developer
Bird  Offline
Senior Developer

Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
Yeeeah!! this is what i ever needed!!
thanks alot!!! (gonna test it out today in the afternoon)

Edit: IMO it would be better when you return the position of the next node, insted of setting the pan/tilt/roll values of the entity

Last edited by Bird; 04/19/05 09:56.

- A6pro 6.40.5
Re: ez_path -- for alpha testing! Simple Pathfind [Re: Bird] #44585
04/19/05 14:36
04/19/05 14:36
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608


13 ms


Follow me on twitter
Re: ez_path -- for alpha testing! Simple Pathfind [Re: mk_1] #44586
04/19/05 15:32
04/19/05 15:32
Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
Bird Offline
Senior Developer
Bird  Offline
Senior Developer

Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
yeah, but that's what you did, and you are mk1!
that's not fair


- A6pro 6.40.5
Re: ez_path -- for alpha testing! Simple Pathfind [Re: Bird] #44587
04/19/05 15:47
04/19/05 15:47
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
Actually his one's better IMO. Well, it depends on what you want to do with it. My pf is going to be open source soon. I need to implement a few things before and maybe do some opimization.


Follow me on twitter
Re: ez_path -- for alpha testing! Simple Pathfind [Re: mk_1] #44588
04/19/05 15:57
04/19/05 15:57
Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
Bird Offline
Senior Developer
Bird  Offline
Senior Developer

Joined: Mar 2004
Posts: 1,201
Switzerland, Baselland
Quote:

My pf is going to be open source soon



COOL!!
how soon will that be? *can't wait*

@clone: doesn't mean, that i won't use yours
yours is wonderful for an RPG, and mk's for an rts, i think


- A6pro 6.40.5
Re: ez_path -- for alpha testing! Simple Pathfind [Re: clone45] #44589
04/19/05 16:11
04/19/05 16:11
Joined: Aug 2003
Posts: 7,440
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,440
Red Dwarf
Could you make anothher version of the DLL that works with A5?


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: ez_path -- for alpha testing! Simple Pathfind [Re: Michael_Schwarz] #44590
04/19/05 17:21
04/19/05 17:21
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
I don't think it's good for a rts. Speed is okay but don't forget that you have a lot of troops out there. I develop my pf for a turnbased strategy game with all its needs (and that is a lot more than rts needs) thus being slower than other pf.


Follow me on twitter
Page 1 of 12 1 2 3 11 12

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | 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