CP's gone

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
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

CP's gone

Post by computergeek »

I was looking on how to have more than 6 unit classes
I edited the setup_teams.lua for extra1, 2, and 3
I added them in the conquest lua, but when I munged I kept getting errors.
I replaced both lua's from a previous backup and now when I play the map, there are no CP's to spawn at
Here's what I think is the problem

Message Severity: 3
.\Source\LoadUtil.cpp(1010)
Data in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\DTM\Data\_lvl_pc\DTM\DTM.lvl is not a binary UCF file.

Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk DTM_conquest in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\DTM\Data\_lvl_pc\DTM\DTM.lvl


Message Severity: 3
.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:DTM\DTM.lvl

Also I get this at the very bottom of the report

Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to perform arithmetic on a nil value
stack traceback:
(none): in function `AddCommandPost'
(none): in function `ScriptPostLoad'

Hero Assault dosn't work either, it gives me the same message

Message Severity: 3
.\Source\LoadUtil.cpp(1010)
Data in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\DTM\Data\_lvl_pc\DTM\DTM.lvl is not a binary UCF file.

Message Severity: 3
.\Source\LoadUtil.cpp(829)
Unable to find level chunk DTM_eli in C:\Program Files\LucasArts\Star Wars Battlefront II\GameData\AddOn\DTM\Data\_lvl_pc\DTM\DTM.lvl


Message Severity: 3
.\Source\LoadUtil.cpp(1019)
Unable to find level chunk in dc:DTM\DTM.lvl

What should I do?
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

Re: CP's gone

Post by wazmol »

I think thats a munge error. Clean. manual Clean. Re-munge.
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: CP's gone

Post by Teancum »

Just curious, but why did you modify setup_teams.lua? You can add teams to the mode lua.
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: CP's gone

Post by computergeek »

Zertard said that you can just add special classes in the setup_teams lua
But I think I'll just be doing the AddUnitClass thing
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: CP's gone

Post by Teancum »

Yeah, otherwise you'll have to add in a new common.lvl and it's just one more step if you're only doing one map.
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: CP's gone

Post by [RDH]Zerted »

Teancum wrote:Yeah, otherwise you'll have to add in a new common.lvl...
Nope, its part of mission.lvl which is included with your map by default.

I prefer editing the SetupTeams as it keeps your map's lua more consistent.
Post Reply