Page 1 of 1

Not following paths!

Posted: Sat Jan 07, 2012 4:57 am
by edge123455
Hey guys, i'm trying to make my snowspeeders fly in specific paths just like ones on hoth. I have the path set up but the speeders just don't follow it.

Here is the pathfollower attributes on my snow speeder's odf ( I named the path follower class because it didn't have any, I used the republic gun ship odf to see the proper coding):

Hidden/Spoiler:
// PathFollower Attributes
PathFollowerClass = "spd"
PathFollowerFlyerVsFlyer = "0"
PathFollowerBranchMaxAngle = "45"
PathFollowerMinBranchDist = "50"

On ZeroEdit, on my path, the propety type I named: class
On the propety value I named: spd

And on the LUA I inputed this code: SetMemoryPoolSize("PathFollower", 63)

I already saw the documentation and the "everything you need to know" forum. I don't really understand the explinations, so if someone can help me and tell me what I'm doing wrong. Thanks.

Re: Not following paths!

Posted: Sat Jan 07, 2012 7:58 am
by DarthD.U.C.K.
did you read the FlyerSplineFollowing.txt?
it explains how the path and its properties have to be set up:
FlyerSplineFollowing.txt wrote: Entity Paths
------------

Paths for entity's to follow are created using the path mode in the zero editor.
These paths must be named in the following format...

"entitypath {pathname}"

... for example ...

"entitypath xwingstrafingrun"

Paths and nodes / points on a path can have properties associated with them
to control how an entity traverses the path and which entities can follow the
path.

Re: Not following paths!

Posted: Sun Jan 08, 2012 8:55 am
by edge123455
Ohh I see, now it works. Thx DarthDuck :D :runaway:

By the way, how do you change the direction of the path in ZE??

Re: Not following paths!

Posted: Sun Jan 08, 2012 9:50 am
by DarthD.U.C.K.
i think a path doesnt have a direction, it depends on which end the unit starts following. (correct me if im wrong)