FlyerSpline question

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
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

FlyerSpline question

Post by Executer94 »

I set up a path for a flyerspline. The ARC should to follow it but i doesn't.
Should i have to add something into the lua or anywhere?

here's a pic
Hidden/Spoiler:
Image
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: FlyerSpline question

Post by Xavious »

Code: Select all

EnableFlyerPath("entitypath pathname", 1)
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: FlyerSpline question

Post by Executer94 »

where in the space lua?


---> is this right ?

EnableFlyerPath("rep path 2", 1)
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: FlyerSpline question

Post by MercuryNoodles »

Actually, that's unnecessary. I'm virtually certain they're on by default, as I'm using a path that is not lua activated. That lua command just gives you the ability to toggle paths on or off whenever you want.

The problem is the path name.
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.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: FlyerSpline question

Post by Executer94 »

I renamed it to entitypath rep

the path changed to color. Let's see what will happen inagme

EDIT
doesn't work

i rename it to entitypath rep

here is a pic:
Hidden/Spoiler:
Image
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: FlyerSpline question

Post by Maveritchell »

MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: FlyerSpline question

Post by MercuryNoodles »

You have to have entitypath as the prefix to the name. The name field should have "entitypath <insertname>", like the documentation states. I don't believe it can work with just the "entitypath" prefix. Also, if you change the "property type" from "type" to "class", then it will be a valid path property, and anything with "rep" as it's PathFollowerClass will use the spline.
Executer94
Major
Major
Posts: 504
Joined: Fri May 01, 2009 7:45 am
Location: Chalmuns Cantina

Re: FlyerSpline question

Post by Executer94 »

It works!!! :thumbs:


THANK YOU!!!!! :bowdown:
Post Reply