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?
CP's gone
Moderator: Moderators
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
-
wazmol
- High General

- Posts: 892
- Joined: Sat Sep 02, 2006 6:47 pm
- Projects :: Thinking...
- Location: London
- Contact:
Re: CP's gone
I think thats a munge error. Clean. manual Clean. Re-munge.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: CP's gone
Just curious, but why did you modify setup_teams.lua? You can add teams to the mode lua.
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: CP's gone
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
But I think I'll just be doing the AddUnitClass thing
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: CP's gone
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.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: CP's gone
Nope, its part of mission.lvl which is included with your map by default.Teancum wrote:Yeah, otherwise you'll have to add in a new common.lvl...
I prefer editing the SetupTeams as it keeps your map's lua more consistent.
