Page 1 of 1

CP's gone

Posted: Sun Jul 27, 2008 7:53 pm
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?

Re: CP's gone

Posted: Mon Jul 28, 2008 10:40 am
by wazmol
I think thats a munge error. Clean. manual Clean. Re-munge.

Re: CP's gone

Posted: Mon Jul 28, 2008 12:10 pm
by Teancum
Just curious, but why did you modify setup_teams.lua? You can add teams to the mode lua.

Re: CP's gone

Posted: Mon Jul 28, 2008 12:30 pm
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

Re: CP's gone

Posted: Mon Jul 28, 2008 12:40 pm
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.

Re: CP's gone

Posted: Mon Jul 28, 2008 1:20 pm
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.