Ok first off me and a friend are constructing a mod for FoC. It's going to replace Zann Consortium for the Black Sun Pirates faction. The Leader of this Faction will be Jabba_The_Hutt. Now here's the error, we have the units down, now we need to add the units in the categories of each building such as the hero comm center for example. We replace Tyber_Zann_Team with Jabba_The_Hutt_Team in the SpecialStructures_Underworld.XML Heres is the location were we placed it. Underworld, UL_BM_Shielding_L1_Upgrade_NO_PREREQ, UL_BM_Shielding_L2_Upgrade_NO_PREREQ, UL_Rancor_Stimulant_L1_Upgrade_NO_PREREQ, UL_Rancor_Stimulant_L2_Upgrade_NO_PREREQ Underworld, Bossk_Team, IG88_Team_Land_MP, Silri_Team, Jabba_The_Hutt_Team, Urai_Fen_Team, Underworld_Saboteur_Team, UC_Level_Two_Tech_Upgrade, UC_Level_Three_Tech_Upgrade, UL_Black_Market_Shielding_L1_Upgrade, UL_Black_Market_Shielding_L2_Upgrade, UL_Bounty_Upgrade, UL_Bombing_Run_Use_Upgrade, UL_Planetary_Bombard_Use_Upgrade Now the Jabba_The_Hutt_Team is an existing unit inside the Hutt_Faction_Units.XML file which is already included within the mod. Now we prepared to work on the Jabba and here is his file. TEXT_UNIT_JABBA_THE_HUTT TEXT_UNIT_JABBA_THE_HUTT_DESC TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_CRIMELORD i_button_hutt.tga NI_HUTT.ALO 1.0 2.0 27 3.0f Infantry Yes Yes 10 Yes yes 1.0 10.0 0.6 .4 8.0 3.5 9.0 3.0 -6.0 SELECTABLE SELECTABLE, ABILITY_COUNTDOWN, SURFACE_FX, WALK_LOCOMOTOR, IDLE, TARGETING, WEAPON,REVEAL,HIDE_WHEN_FOGGED,DAMAGE_TRACKING,UNIT_AI, GARRISON_UNIT Generic_Footprint, Infantry_Terrain_Modifier 1 Yes Underworld Infantry Armor_Hero 50 400 400 250.0 100.0 1.0 7.0 Proj_Hand_Blaster_Red 0.8 3 0.2 Infantry, 1.0 Vehicle, 3.0 Air, 20.0 Structure, 5.0 Unit_Select_Land_Han_Solo Unit_Move_Land_Han_Solo Unit_Fleet_Move_Han_Solo Unit_Attack_Land_Han_Solo Unit_Guard_Land_Han_Solo Unit_Deploy_Han_Solo Unit_Han_Blaster_Fire Unit_Group_Move_Han_Solo Unit_Group_Attack_Han_Solo Unit_Health_Low_Land_Han_Solo Unit_Health_Critical_Land_Han_Solo Unit_Defeat_Land_Han_Solo Yes No 1x1 1.0 false 3 5.0, 5.0 Generic_Shadow B_Chest Yes No Yes yes LandHero | SpaceHero 3 Infantry Land Infantry .5 10 .1 .1 .25 True 250 100.0 200.0 300.0 5.0 AntiInfantry 200.0 2500.0 Yes No 5000 0.25 0.0 Yes Galactic_Automatic No 0.0 Yes Galactic_Automatic No -1.0 Yes 2.0 0 TEXT_UNIT_JABBA_THE_HUTT TEXT_UNIT_JABBA_THE_HUTT_DESC TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_CRIMELORD i_button_hutt.tga Yes 50 Underworld Yes DUMMY_GROUND_COMPANY Alliance_Shuttle Jabba_The_Hutt Infantry Yes Yes Yes 1 2 yes true 100.0 300.0 200.0 1 LandHero | SpaceHero 3 The unit will remain Underworld and we'll change the Text from Zann Consortium to Black Sun Pirates later in the Master_Text_English.dat so other than Underworld could someone point out something wrong? If not clear of thee exact error, Jabba will not showup in the Hero's bin in Land Skirmish. I almost forgot when I replaced Tyber with Jabba in-game difference is Tyber's icon disapeared and no Jabba Icon. Also to make sure Jabba works in-game I placed him as a starting unit in the Factions.XML and he is definatly useable in-game + he does infact have an icon image.
I'm sry I didn't actually mention thee error at the begining, but it's simply Jabba won't appear on my hero's list. Could anyone take a look and help me out? The Mod is at a complete stop untill the problem is solved. BTW The same error may occur with the infantry and other units so i'll post back if it does.