No, its won't load any custom heroes. DC: is needed to load a custom side arrangement or units. It could be crashing because he has custom units replacing the default heroes but the game can't load custom units, looks for the default units, can't find them since he replaced them in the .lua and crashes. Just add dc:, and the map should stop crashing.Fiodis wrote:Would that matter? Without the DC, it would just load the custom heros, would it not? Not crash his map.
Hero Help
Moderator: Moderators
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Hero Help
-
YaNkFaN
- Field Commander

- Posts: 943
- Joined: Sat Dec 13, 2008 8:17 am
Re: Hero Help
first of all to everyone who says you need to have a custom side to change the hero you are wrong and he's not worried about custom sides also his map isn't crashing...he's worried about changing the unit in the .lua which you can do without changing the side @ecusoccerdude i really suggest you clean and munge cause i think that's the problem because your .lua is correct and you have no errors pertaining to this on the mungelog
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Hero Help
I'm not suggesting he add a custom side. dc: must be added for any side changes beyond the default sides, and that includes heroes.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Hero Help
That is incorrect. The "dc:" (downloadable content) is only added if the side .lvl file was to be located in the addon\***\data\_LVL_PC\SIDE folder. Same goes for sound, world, and loadscreen .lvl files. The heroes ecusoccerdude are using are from the stock cis and rep .lvl files which are not located in the addon folder. Therefore the "dc:" is not necessary at all. Basically the "dc:" tells the mission.lvl file to look in ***\data\_LVL_PC.Grev wrote:I'm not suggesting he add a custom side. dc: must be added for any side changes beyond the default sides, and that includes heroes.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Hero Help
So....I was right about the DC? Or wrong? I'm confused now....
- da_great_ghost
- Corporal

- Posts: 141
- Joined: Sat Feb 02, 2008 3:40 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: , Location, Location, Location
Re: Hero Help
Basicly you only need DC when you have custom content but there is an exception. Such as the Convo Kit who is in .lvl format. So ecusoccerdude your lua looks fine. So try a clean and re-munge.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Hero Help
you need a dc in the lua if you want to read kits.lvl
(if you havent copied him into ypour lvl_pc\side folder of battlefront)
(if you havent copied him into ypour lvl_pc\side folder of battlefront)
- ecusoccerdude
- Private Recruit
- Posts: 18
- Joined: Sun Sep 28, 2008 6:29 pm
Re: Hero Help
i cleaned and munged but it does nothing
i dont know if this will help but i tried custom sides and it dont work
i dont know if this will help but i tried custom sides and it dont work
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: Hero Help
did you make sure you werent editing the .bak files but the .lua files?
