Jump to content


Mr Nefarious

Member Since 04 Feb 2008
Offline Last Active Nov 04 2009 09:44 PM

Topics I've Started

Quick Question RE: New Faction in Zero Hour

04 February 2008 - 11:33 PM

I am adding a new faction to Zero Hour. Sort of a Boss General thing. Following a tutorial here I was able to clone an entire existing side's units, buildings, sciences, etc to my new faction. No problem there. I would like to take various existing units from the existing factions and add them to my new faction. The problem I am having is I am unable to figure out how and where to tell my new faction to read its units from. I am of the understanding that Zero Hour reads thru everything in the data/ini/object directory to figure out what units go with which faction. In my testing I changed "side" from the USA Laser General's Laser Tank from "AmericaLaserGeneral" to "Blah" in the LaserGeneral.ini. I also commented out the maxlimit line on Mr Burton to make sure the game was reading my edited file. I start a skirmish as the laser general. I am able to make an entire mob of Burtons. So I know the game read my file fine. However, I was still able to build laser tanks. I know I would need to change the commandset for the laser general's war factory to remove the button totally. But I would think that the button should be grayed out or something if that unit didn't belong to the side I was playing. Any help or ideas would be much appreciated. Thanks.