Vehicle LUA Stuffz

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

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: Vehicle LUA Stuffz

Post by DarthD.U.C.K. »

Code: Select all

C:\BF2_ModTools\data_FAM\_BUILD\Common\..\..\..\ToolsFL\Bin\luac.exe: ..\..\common\scripts\FAM\FAMg_con.lua:97: `)' expected (to close `(' at line 88) near `"imp_hover_speederbike"'
you should fix that (its a selfexplaining error please dont ask how to do that now)
agentfallenangel

Re: Vehicle LUA Stuffz

Post by agentfallenangel »

wait.... you wouldn't change the 0 to a 1 because that 1 just means one pair of legs?

AddWalkerType(3, 0) -- 3x2 (3 pairs of legs)

shouldn't it be this:

AddWalkerType(3, 2) -- 3x2 (3 pairs of legs)

EDIT
and no, I dont really understand what to fix. How do I fix that?
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: Vehicle LUA Stuffz

Post by MercuryNoodles »

Actually, the second number, zero, is the number of walkers of that type, which should be changed to however many you intend to use at one time. The first number of the pair is the type of walker, in this case, it's a 3, for 3 leg pairs.

The error is telling you that you're missing a closing parenthesis at line 88 in that lua, near where you loaded the speederbike.
Post Reply