Adding Custom Vehicles error [Solved]

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
RedHardcore
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Jul 09, 2015 10:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: StarWarsBattlefront2
xbox live or psn: No gamertag set

Adding Custom Vehicles error [Solved]

Post by RedHardcore »

I'm trying to add custom vehicles and this is what I get:
Hidden/Spoiler:
[quote]ERROR[levelpack req\cis_fly_scarab.req]:Expecting bracket, but none was found.
File : munged\pc\scarab00.texture.req(1)...

ucft <--
ERROR[levelpack req\cis_fly_scarab.req]:Expecting bracket, but none was found.
File : munged\pc\scarab00.texture.req(1)...

ucft <--

2 Errors 0 Warnings

[/quote]
How do I fix this? Plus none of the custom vehicles spawn in the map.

Edit:

I just used the vehicles folder in Star Wars Battlefront II\GameData\data\_lvl_pc\sidegamedata/data/lvl. At the time of this problem, I was using a different addon folder without the conversion pack.
Last edited by RedHardcore on Tue Mar 22, 2016 10:26 pm, edited 1 time in total.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Adding Custom Vehicles error

Post by Oceans14 »

Did you add the vehicle to the cis side's req file? Also if you haven't already, I would advise cleaning and re-munging. Every once in a while I get an error like that for a unit I haven't even touched and I think its the result of a funky munge.

Usually that missing bracket error means exactly what it says: you didn't use either an open or close bracket somewhere. However the file it's pointing to in this case is in the _BUILD/Sides/CIS/MUNGED/PC folder which is where VM spits stuff out, suggesting that missing bracket is not your fault.
RedHardcore
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Jul 09, 2015 10:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: StarWarsBattlefront2
xbox live or psn: No gamertag set

Re: Adding Custom Vehicles error

Post by RedHardcore »

Oceans14 wrote:Did you add the vehicle to the cis side's req file? Also if you haven't already, I would advise cleaning and re-munging. Every once in a while I get an error like that for a unit I haven't even touched and I think its the result of a funky munge.

Usually that missing bracket error means exactly what it says: you didn't use either an open or close bracket somewhere. However the file it's pointing to in this case is in the _BUILD/Sides/CIS/MUNGED/PC folder which is where VM spits stuff out, suggesting that missing bracket is not your fault.
I'm using the conversion pack vehicles that have their own side. I deleted some of the stuff from there, only the ones I needed. When I munged the vehicles side before I started deleting the vehicles I didn't need, the texture munger program stopped working when it got to "QEX00011", which also happened to "SCARAB00", and others, but then it stopped munging the rest of the msh and tga files and moved on and got a bunch of errors when it finished. I did not create these so I'm really sure what to do :/.
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Adding Custom Vehicles error

Post by Oceans14 »

Just tried munging those files myself. Did you get this error?
Hidden/Spoiler:
Image
I recommend you remove those two tgas for now, because they are definitely causing problems. Clean and remunge after taking them out, because when you hit okay on that error message it kills the texture munger.

As for the vics not appearing in-game, I think you have to add them via the lua because they're their own side - but I'm not sure. I haven't implemented custom sides before.
RedHardcore
First Lance Corporal
First Lance Corporal
Posts: 129
Joined: Thu Jul 09, 2015 10:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: StarWarsBattlefront2
xbox live or psn: No gamertag set

Re: Adding Custom Vehicles error

Post by RedHardcore »

Oceans14 wrote:Just tried munging those files myself. Did you get this error?
Hidden/Spoiler:
Image
I recommend you remove those two tgas for now, because they are definitely causing problems. Clean and remunge after taking them out, because when you hit okay on that error message it kills the texture munger.

As for the vics not appearing in-game, I think you have to add them via the lua because they're their own side - but I'm not sure. I haven't implemented custom sides before.
I decided to use the conversion pack version of "vehicles.lvl". Works fine. I discovered that by just leaving everything the way it is, and have the conversion pack installed. I have multiple addon folders and the one I was using did not have conversion pack. I guess I no longer have to worry about it.
Post Reply