Posted by: smokeyscale777 - Monday, October 8, 2012 12:26:51 PM
Hi, I'm just getting into modding and I've been playing around with Contra007. The problem I've been having is I want to add the american pathfinder to the air force general. in the AmericaAir.ini I add the code for the pathfinder which is copied and pasted to avoid errors. Then I add to the commandset.ini and commandButton.ini. The code I've added is below, minus the initial code to for the pathfinder because its so long: ADDED TO CommandButton.ini CommandButton AirF_Command_ConstructAmericaInfantryPathfinder Command = UNIT_BUILD Object = AirF_AmericaInfantryPathfinder TextLabel = CONTROLBAR:ConstructAmericaInfantryPathfinder ButtonImage = SAPathfinder1 ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is DescriptLabel = CONTROLBAR:ToolTipUSABuildPathFinder End and then this is added to he Commandset.ini under "CommandSet AirF_AmericaBarracksCommandSe" This is what I add 4=Command_ConstructAmericaInfantryPathfinder can anyone help me on this one?

Posted by: Annihilationzh - Monday, October 8, 2012 5:28:24 PM
If you want help, we need to know what happened. Did the game not start up? Did it crash on starting a skirmish map? If we don't know, helping becomes very difficult. Did you unpack the Contra INI files?

Posted by: Ail-Shan - Friday, October 12, 2012 11:02:03 AM
While we wait for a reply though, I'm just going to guess! Assuming you copied over your code exactly, your command set is wrong. It should be 4 = AirF_Command_ConstructAmericaInfantryPathfinder. As it is you're trying to build the standard one rather than the one you specified for Airforce. Also in the pathfinder's code itself, make sure the prerequisites are all set to what Airforce General can get (such as his barracks, rather than, say, robots general's). I believe there's also a "side" parameter somewhere in there, which you should set to whatever Airforce's side is considered (you can just look in another one of his units) Also as a side note, AmericaAir.ini is used generally for common aircraft across all the US generals (like for special power objects such as the carpet bomber jet). AirforceGeneral.ini is for the actual Airforce General. I don't think this really matters, but it's an organizational thing.

Posted by: qqqqqqqqqp - Monday, November 19, 2012 9:16:31 PM
I can only do a cover up. All it is it looks like another unit."copycat" But its how i make all my mods tht evolve making new units/ making unusable units "appear" usable.