How would i add a ground unit? -1 reply

Please wait...

xX~HR~Xx

xX~HR~Xx

50 XP

1st April 2007

0 Uploads

171 Posts

0 Threads

#1 11 years ago

Like the title says, how would i add a ground unit? I coded the droideka to be built in FoC. It's to be built for all 3 factions. The barracks for Cons, Emp, and Rebs. On tech lvl 1.

I'm kinda sure that there is no error in the xml, but when i add the model and XML and textures to the Data folder, and launch the game, there is no build button for the Droieka, and yes there i have an icon for it in the textures folder so that should show up when i build it.

I have the XML attached to this post.

Does anyone know how to fix this problem? Is there a problem in the XML? Or is there another file i need to edit?

<?xml version="1.0"?> 4TEXT_UNIT_DROIDEKA Rebel_Trooper TIE_Crawler T2B_Tank Dark_Trooper_PhaseII Ground_Magnepulse_Cannon Plex_Soldier TEXT_TOOLTIP_DESTROYER_DROIDTEXT_ENCYCLOPEDIA_CLASS_DROIDi_button_ui_droideka.tgacis_droideka.ALO203.0f1SELECTABLEAFFECTED_BY_SHIELD, WALK_LOCOMOTOR,TARGETING,IDLE,WEAPON,POWERED,SHIELDED,REVEAL,HIDE_WHEN_FOGGED,UNIT_AI,TELEKINESIS_TARGET,STUNNABLE,DAMAGE_TRACKING, GARRISON_UNIT, AFFECTED_BY_SHIELDYesYes Vehicle 71.02.0Shield_Penetration_Effect_Particle 1.0 1.0 3.615.515.5 .5 .5 0.215 .1 Land Large Vehicle 8.0 6.0 100 4 Standard 1 2.5 5 yesYes1, 0.66, 0.330, 1, 2null,SFX_Grenade_Detonation, SFX_Grenade_DetonationYesYes3.0Underworld, Empire, Rebel75 Armor_Destroyer_Droid 6160951099999999Yes375Proj_Destroyer_Droid_Blaster_Cannon0.5200.1 Infantry, 3.0 Vehicle, 5.0 Air, 70.0 Structure, 10.0 4545 Air NoYesYesNo180.0150.08.0 HP_Destroyer_Droid_Ion_00, HP_Destroyer_Droid_Ion_01, HP_Destroyer_Droid_Ion_02 Small_Explosion_LandUnit_AT_ST_Death_SFXtrueUnit_Select_Destroyer_DroidUnit_Move_Destroyer_DroidUnit_Fleet_Move_Destroyer_DroidUnit_Move_Destroyer_DroidUnit_Move_Destroyer_DroidUnit_Destroyer_Droid_Fire Unit_Destroyer_Droid_Moving_Engine_Loop UHD_Unit_Destroyed UHD_Reinforcements_En_Route UHD_Reinforcements_Available UHD_Reinforcements_Cancelled Vehicle | AntiVehicleInfantry1x1yes9931 Yes YesYes20.00.0Yes700.0200.0150.05.0Destroyer_Droid_Attack_Priority150.0Walker250.0, 50.0Generic_Shadow37.5 True Yes150.020.5Sphere01Destroyer_Droidunderworld_hunt4TEXT_DESTROYER_DROIDEKA_COMPANY Rebel_Trooper TIE_Crawler T2B_Tank Dark_Trooper_PhaseII Ground_Magnepulse_Cannon Plex_Soldier TEXT_TOOLTIP_DESTROYER_DROIDTEXT_ENCYCLOPEDIA_CLASS_DROIDi_button_droideka.tga 1 Yes60100Underworld100010 Yes Yes0010U_Ground_Droid_WorksDUMMY_GROUND_COMPANY6noinfantryUnderworld_Infantry_Droid_ShuttleDroideka, Droideka 1 UHD_Build_VehicleUHD_Vehicle_CanceledUnit_Select_Destroyer_DroidUnit_Fleet_Move_Destroyer_Droid6500.05150100100015Tactical_UnitsROCKET_ATTACK2004TEXT_DESTROYER_DROIDEKA_COMPANY Rebel_Trooper TIE_Crawler T2B_Tank Dark_Trooper_PhaseII Ground_Magnepulse_Cannon Plex_Soldier TEXT_TOOLTIP_DESTROYER_DROIDTEXT_ENCYCLOPEDIA_CLASS_DROIDi_button_droideka.tga 1 Yes60100Rebel100010 Yes Yes0010R_Ground_BarracksDUMMY_GROUND_COMPANY6noinfantryUnderworld_Infantry_Droid_ShuttleDroideka, Droideka 1 UHD_Build_VehicleUHD_Vehicle_CanceledUnit_Select_Destroyer_DroidUnit_Fleet_Move_Destroyer_Droid6500.05150100100015Tactical_UnitsROCKET_ATTACK2004TEXT_DESTROYER_DROIDEKA_COMPANY Rebel_Trooper TIE_Crawler T2B_Tank Dark_Trooper_PhaseII Ground_Magnepulse_Cannon Plex_Soldier TEXT_TOOLTIP_DESTROYER_DROIDTEXT_ENCYCLOPEDIA_CLASS_DROIDi_button_droideka.tga 1 Yes60100Empire100010 Yes Yes0010E_Ground_BarracksDUMMY_GROUND_COMPANY6noinfantryUnderworld_Infantry_Droid_ShuttleDroideka, Droideka 1 UHD_Build_VehicleUHD_Vehicle_CanceledUnit_Select_Destroyer_DroidUnit_Fleet_Move_Destroyer_Droid6500.05150100100015Tactical_UnitsROCKET_ATTACK200