Not following paths!

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
edge123455
Private Second Class
Posts: 73
Joined: Wed May 18, 2011 7:07 pm
Projects :: Hoth Battlefield
xbox live or psn: No gamertag set

Not following paths!

Post 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.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Not following paths!

Post 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.
User avatar
edge123455
Private Second Class
Posts: 73
Joined: Wed May 18, 2011 7:07 pm
Projects :: Hoth Battlefield
xbox live or psn: No gamertag set

Re: Not following paths!

Post 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??
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Not following paths!

Post 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)
Post Reply