Munging errors

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
flippy11

Munging errors

Post by flippy11 »

when i add a new unit vehicle ect. in my lua i get this error
my munge logC:\BF2ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\GTB\GTBc_con.lua:96: `)' expected (to close `(' at line 94) near `"rep_fly_gunship_land"'

this is the part of the lua

ReadDataFile("dc:SIDE\\rep2.lvl",
"commando"
"rep_fly_gunship_land")

this makes my map crash.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Munging errors

Post by Teancum »

you need to put a comma after "commando"
flippy11

RE: Munging errors

Post by flippy11 »

that was the problem. my map loads now but i cant spawn. all the command posts are there and all the spawn paths are on the right layer but i cant select a cp to spawn at as the cis, rebels, imps or republic.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Munging errors

Post by [RDH]Zerted »

Then you have another error in your lua.
Post Reply