Having Trouble Giving My Heroes Flagships -1 reply

Please wait...

darthawesom

GF Pwns Me!

50 XP

20th October 2009

0 Uploads

54 Posts

0 Threads

#1 9 years ago

The mod I'm using doesn't have a namedheroes.xml file. The modder gave each hero their own xml and that's what I modded. Thanks a lot Warb for responding but since there is no namedheroes.xml and General Grievous' xml is showing any problems I don't know what to do. I guess I'll post General Grievous' code and see if anyone sees an error I missed. The code: <?xml version="1.0"?>

5YesTEXT_HERO_GRIEVOUSTEXT_TOOLTIP_GRIEVOUS TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_DROID_GENERAL Greivous.ALOi_button_grievous.tga SELECTABLE SELECTABLE, SURFACE_FX, WALK_LOCOMOTOR, IDLE, REVEAL, HIDE_WHEN_FOGGED, TARGETING, WEAPON, DAMAGE_TRACKING, UNIT_AI, ABILITY_COUNTDOWN, HOLSTER_WEAPON, GARRISON_UNIT Unit_Light_Saber_On Unit_Light_Saber_Off b_saber 0.0, 0.0, 0.0 0.0, -5.1705, 0.0 0.17 15.0 Yes Infantry Generic_Footprint, Infantry_Terrain_ModifierYesYesNoYesYes1.01 10.75 1.020.0 6.5 2.0 2.0 land Infantry .5 10 .1 .1 .25 Unit_Obiwan_Lightsaber_Idle_Loop Unit_Obiwan_Lightsaber_Moving_Loop Unit_Obiwan_Lightsaber_Cinematic_Loop 10.0 0.09WalkNoRebel10200500350100Noyes Armor_Hero Yes Proj_Lightsaber_Grievous 0.5 20 Infantry, 0.0 Vehicle, 0.0 Air, 0.0 Structure, 0.0 200.01.020.07.0Unit_Select_GrievousUnit_Move_GrievousData\Audio\gri_iwdwtm.wavUnit_Attack_GrievousUnit_Guard_GrievousUnit_Group_Move_GrievousUnit_Group_Attack_Grievous Unit_Health_Low_Grievous Unit_Health_Critical_Grievous Unit_Defeat_Grievous UHD_Reinforcements_En_Route UHD_Reinforcements_Available UHD_Reinforcements_Cancelled LandHero | SpaceHero 4 Infantry1x135.0, 5.0Generic_ShadowB_Chest Yes NoInvisible_HandNo4003.0fSelection_Rebel_HeroHighlight_Rebel_HeroTrue500100.0200.0300.05.0AntiInfantry200.03500.0YesNo 10000 0.00.25SPRINT 5.0 45.0 SPEED_MULTIPLIER, 2.0fTAKE_DAMAGE_MULTIPLIER, 0.75fUnit_Sprint_GrievousCombat_AutomaticCapital | Corvette | Frigate | Fighter | Vehicle | Infantry | AirCapital | Corvette | Frigate | Fighter | Vehicle | Infantry | Air0.10.10.00.00.10.00TEXT_UNIT_MALEVOLENCE Victory_Destroyer Alliance_Assault_Frigate TIE_Defender Tie_Bomber TEXT_TOOLTIP_GRIEVOUS_01 TEXT_ENCYCLOPEDIA_CLASS_HERO_FLAGSHIP i_button_grievous.TGAMalevolence.ALO500-500.995310 255, 255, 255, 255 20.40.2250.2Yes20.3 Space Capital Capital-290.0 .02 .02 Rebel2002700025No2004003200 Armor_Star_Destroyer Shield_Capital1200001200004800045999999400330425051000 SELECTABLE, DUMMY_STARSHIP ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, TARGETING, HIDE_WHEN_FOGGED, REVEAL, SPAWN_SQUADRON, UNIT_AI, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA YesHuge_Explosion_SpaceLarge_Damage_SpaceDamage_Normal, Malevolence_New_Death_Clone3600.02500.00.24Rebel_X-Wing_Squadron, 81Rebel_X-Wing_Squadron, 4B-Wing_Squadron, 81B-Wing_Squadron, 4 Malevolence_Ion_01, Malevolence_Ion_02, M_TL_B_1, M_TL_B_2, M_TL_B_2_L, M_TL_B_2_R, M_TL_B_3, M_TL_B_4, M_TL_B_4_L, M_TL_B_4_R, M_TL_B_5, M_TL_B_6, M_TL_L_7_L_01, M_TL_L_7_L_03, M_TL_L_7_L_05, M_TL_L_7_L_06, M_TL_L_7_L_07, M_TL_L_7_L_08, M_TL_L_7_L_09, M_TL_L_7_L_10, M_TL_L_7_L_11, M_TL_L_7_R_01, M_TL_L_7_R_03, M_TL_L_7_R_05, M_TL_L_7_R_06, M_TL_L_7_R_07, M_TL_L_7_R_08, M_TL_L_7_R_09, M_TL_L_7_R_10, M_TL_L_7_R_11, M_TL_B_8_T, M_TL_B_8_L, M_TL_B_8_R, M_TL_B_8_U_01, M_TL_B_8_U_02, M_TL_B_8_U_03, M_TL_B_8_U_04, M_TL_B_8_U_05, M_TL_B_8_U_06, M_TL_B_8_U_07, M_TL_B_8_U_08, M_TL_B_8_U_09, M_TL_B_8_U_10, M_TL_B_8_U_L_01, M_TL_B_8_U_R_01, M_TL_B_9_U_L_01, M_TL_B_9_U_L_02, M_TL_B_9_U_R_01, M_TL_B_9_U_R_02, M_TL_B_9_T_L_01, M_TL_B_9_T_L_02, M_TL_B_9_T_R_01, M_TL_B_9_T_R_02, M_TL_B_10_L_01, M_TL_B_10_L_02, M_TL_B_10_R_01, M_TL_B_10_R_02, M_TL_B_11, M_TL_B_11_L, M_TL_B_11_R, Malevolence_Hangar_01, Malevolence_Hangar_02, Malevolence_Hangar_03 Malevolence_Hangar_04, Malevolence_Engines, Malevolence_GravWell, Malevolence_Shield_Gen01, Malevolence_Shield_Gen02, Malevolence_Shield_Gen03, Malevolence_Shield_Gen04 UHD_Build_VehicleUHD_Unit_CanceledUnit_Complete_KadalbeUnit_Calamari_Moving_Engine_LoopUnit_Select_KadalbeUnit_Move_KadalbeUnit_Fleet_Move_KadalbeUnit_Attack_KadalbeUnit_Guard_KadalbeUnit_Barrage_Kadalbe Unit_Nebula_Kadalbe HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Kadalbe HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Kadalbe HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Kadalbe HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Kadalbe HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Kadalbe HARD_POINT_ENGINE, Unit_HP_ENGINES_Kadalbe HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Kadalbe HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Kadalbe HARD_POINT_ENGINE, Unit_Lost_Engines_Kadalbe HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Calamari_Idle_Engine_Loop Unit_Calamari_Moving_Engine_Loop Unit_Calamari_Cinematic_Engine_Loop Unit_Calamari_Death_SFX Capital | SpaceHero| AntiFrigate Yes Malevolence.ALO20000 0 045Yes0.07 0.181.01.0i_radar_capital_ship.tga1000.00.0400.05.0CapitaltrueYes5 42500 16yesTrue530028Tactical_Units1INTERDICTYesUnit_Interdictor_InterdictorSTEALTHi_sa_stealth.tgaTEXT_TOOLTIP_CLOAKStealth_Vengeance15.070.0Unit_Stealth_On_Vengeance_Frigate No Take_Damage0.00.30360.0 30.0 NoFighter | Bomber | Corvette | Frigate | Capital | StructureUnit_Lightsaber_Projectile_Block User_Input 255, 255, 255, 255.3 User_Input Fighter | Bomber | Transport | Corvette | Frigate | Capital0.50.00Combat_AutomaticCapital | Corvette | Frigate | Fighter | Vehicle | Infantry | AirCapital | Corvette | Frigate | Fighter | Vehicle | Infantry | Air0.10.10.00.00.10.00TEXT_UNIT_MalevolenceMalevolence_D.ALO Unit_Calamari_Death_SFX 3.0 -290.0 0.25 0.4 0.05 0.02 5 Rebel capital_ship trueTEXT_HERO_GRIEVOUSTEXT_TOOLTIP_GRIEVOUS TEXT_ENCYCLOPEDIA_CLASS_DROID_GENERAL i_button_grievous.tgaYesRebel100004400YesDUMMY_GROUND_COMPANYAlliance_ShuttleHan_SoloNo 1 Noyestrue11LandHero | SpaceHero 4 31 20000 UHD_Request_AssistanceUHD_Request_CanceledUnit_Respawn_GrievousUnit_Respawn_GrievousUnit_Fleet_Move_GrievousCONCENTRATE_FIRE60002015Home_One_Target_ParticlesAkbar_Home_One_Ability Unit_Attack_Grievous DEFEND20WEAPON_DELAY_MULTIPLIER, 3.0fSHIELD_REGEN_MULTIPLIER, 1.0fSHIELD_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_MULTIPLIER, 5.0fSPEED_MULTIPLIER, 0.8f2015Unit_Guard_GrievousTrue User_Input Fighter | Bomber | Transport | Corvette | Frigate | Capital0.50.00Combat_AutomaticCapital | Corvette | Frigate | Fighter | Vehicle | Infantry | AirCapital | Corvette | Frigate | Fighter | Vehicle | Infantry | Air0.00.10.00.00.10.00Han_Solo_Team280015RC_Level_Two_Tech_UpgradeTactical_Units1-1NoHan_Solo_Team TEXT_ENCYCLOPEDIA_CLASS_DROID_GENERAL 450030Tactical_Units1-1No




Guest

I didn't make it!

0 XP

 
#2 9 years ago

I had a question too , how do you change the flagship as the tech level progresses ?




V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#3 9 years ago

Darthawesom, do you want Grievous to be adde to the ship Invisible_Hand? Just asking because you posted the Malevolence code with it.




darthawesom

GF Pwns Me!

50 XP

20th October 2009

0 Uploads

54 Posts

0 Threads

#4 9 years ago
The Ferox;5345977Darthawesom, do you want Grievous to be adde to the ship Invisible_Hand? Just asking because you posted the Malevolence code with it.

No I want Grievous to have the Malevolence for his flagship




V.

For Vendetta!

50 XP

1st April 2008

0 Uploads

2,918 Posts

0 Threads

#5 9 years ago

Then of course this should be:

Malevolence

instead of Invisible_Hand.




No1Gamer

GF makes me horny

50 XP

22nd April 2010

0 Uploads

90 Posts

0 Threads

#6 9 years ago

lol han_solo? wtf but whatever change the following: in ur spaceship data: SELECTABLE, DUMMY_STARSHIP, TRANSPORT and in ur team data: Malevolence edit: one important thing is missing! u need a landing variant for your hero. so add the following in your spaceship data: Han_Landing and then a new entry: Alliance_ShuttleTRANSPORT1.0HIDE_WHEN_FOGGEDNo-700, -700, 0700, 700, 1500Falsetrue otherwise your hero cant land in landbattles.




darthawesom

GF Pwns Me!

50 XP

20th October 2009

0 Uploads

54 Posts

0 Threads

#7 9 years ago
No1Gamer;5347171lol han_solo? wtf but whatever change the following: in ur spaceship data: SELECTABLE, DUMMY_STARSHIP, TRANSPORT and in ur team data: Malevolence edit: one important thing is missing! u need a landing variant for your hero. so add the following in your spaceship data: Han_Landing and then a new entry: Alliance_ShuttleTRANSPORT1.0HIDE_WHEN_FOGGEDNo-700, -700, 0700, 700, 1500Falsetrue otherwise your hero cant land in landbattles.

I'm sorry but I'm still having trouble. Thanks to your mini tutorial I was able to successfully give Grievous the Malevolence. However when I tried to use the same method to give Mace Windu a flagship the whole game crashes as if it was caused by an XML error only I checked all the XML's with the editor and and found no errors. Please help me because I'm so confused. Just in case you're wondering I'm using Nett40's Clone Wars mod. Here is the code that keeps crashing my game. Please let me know if you see an errors big enough to cause this problem : <?xml version="1.0"?> TEXT_HERO_MACE_WINDU TEXT_TOOLTIP_MACE_WINDU_01 TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_JEDI_MASTER RI_MWINDU.ALORI_OBIWAN.ALOI_BUTTON_MACE_WINDU.TGA SELECTABLE SELECTABLE, SURFACE_FX, WALK_LOCOMOTOR, IDLE, REVEAL, HIDE_WHEN_FOGGED, TARGETING, WEAPON, DAMAGE_TRACKING, UNIT_AI, ABILITY_COUNTDOWN, HOLSTER_WEAPON, GARRISON_UNIT Unit_Light_Saber_On Unit_Light_Saber_Off b_saber 0.0, 0.0, 0.0 0.0, 5.8, 0.0 0.17 15.0 Yes Infantry Generic_Footprint, Infantry_Terrain_ModifierYesNoNoYesyes1.01 0.4 120.0 6.5 2.0 2.0 Land Infantry .5 10 .1 .1 .25 YesYes Unit_Obiwan_Lightsaber_Idle_Loop Unit_Obiwan_Lightsaber_Moving_Loop Unit_Obiwan_Lightsaber_Cinematic_Loop 10.0 1.75WalkNoEmpire10200500350100Noyes Armor_Hero Yes Proj_Lightsaber 200.01.020.07.00.7 8 Unit_Select_Jedi_KnightUnit_Move_Jedi_KnightUnit_Fleet_Move_Jedi_KnightUnit_Attack_Jedi_KnightUnit_Guard_Jedi_KnightUnit_Group_Move_Jedi_KnightUnit_Group_Attack_Jedi_Knight Unit_Defeat_Jedi_Knight Unit_Defeat_Jedi_Knight RHD_Reinforcements_En_Route RHD_Reinforcements_Available RHD_Reinforcements_Cancelled LandHero | SpaceHero 2 Infantry1x135.0, 5.0Generic_ShadowB_Chest Yes YesNo273.0fSelection_Empire_HeroHighlight_Empire_HeroTrue500100.0200.0300.05.0AntiInfantry200.03500.0NoNo100.0 10000 0.00.25YesFORCE_CONFUSE40.0 Mace_Windu_Confuse 500.0 Unit_Confuse_Obi_Wan TrueFORCE_WHIRLWIND30.0 Mace_Windu_Force_Whirlwind 500.0 Force_Whirlwind_Particles User_Input 0.0132.08.0132.01.2 Confuse_Particle_Effect InfantryRancor, Cuddles_The_Rancor, Luke_Skywalker_Jedi, Night_Sister, MZ8_Pulse_Cannon_Tank, MZ8_Pulse_Cannon_Tank_Captured, MAL_Rocket_Vehicle, MAL_Captured, MPTL, MPTL_Captured, T2B_Tank, T2B_Tank_Captured, Boba_Fett, Mara_Jade, Kyle_Katarn, Han_Solo, Chewbacca, Bossk, AT_ST_Walker, AT_ST_Walker_Captured, AT_AA_Walker, AT_AA_Walker_Captured, TIE_Crawler, TIE_Crawler_Captured, M1_Repulsor_Tank, M1_Repulsor_Tank_CapturedUnit_Ability_ConfuseJedi_Mind_Trick_EffectColor_Flash2.0, 2.0, 2.00.5 User_Input 0.075.0500.075.01.00,0.0, 1,0.0, 5,1.0, 500,1.0InfantryUnit_Force_WhirlwindForce_Whirlwind_ParticlesColor_Flash2.0, 2.0, 2.00.5Take_Damage0.300.60180.0 135.0 NoSilri, Luke_Skywalker_Jedi, Mandalorian_Indigenous, Mustafarian_Indigenous, Noghri_Indigenous, Sullustan_Civilian, Hutt_Civilian, Twilek_Female, Sand_Person_Sniper_A, Bothan_Civilian, Wookie_Warrior, Mon_Calamari_Civilian, Desert_Civilian_A, Swamp_Civilian_A, Urban_Civilian_A, Snow_Civilian_A, Pirate_Soldier, Rebel_Trooper, Rebel_Pilot, Rebel_Infiltrator, Scout_Trooper, Scout_Trooper_No_Bike, Stormtrooper, Underworld_Disruptor_Merc, Boba_Fett, Mara_Jade, Kyle_Katarn, Han_Solo, Chewbacca, Underworld_Saboteur, Dark_Trooper_PhaseII Unit_Lightsaber_Projectile_BlockSpecial_AttackYes0.0120.01.00.00.040.5StructureEarthquake_Dust_ParticlesYesGalactic_AutomaticNo-1.0YesSpace_Automatic0.25No0Capital | Corvette | Frigate | FighterYesSpace_Automatic1.5Yes0Yes1.1Ground_Activated10Ground_ActivatedNoRHD_Removing_CorruptionTEXT_HERO_MACE_WINDU TEXT_TOOLTIP_MACE_WINDU_01 TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_HERO_MAJOR I_BUTTON_MACE_WINDU.TGAYes100Empire001100DUMMY_GROUND_COMPANYEndurance_Star_DestroyerGrand_Moff_TarkinYesYesyes 10000 trueRHD_Request_AssistanceRHD_Request_CanceledUnit_Select_Jedi_KnightUnit_Select_Jedi_KnightUnit_Fleet_Move_Jedi_Knight270028EC_Level_Three_Tech_UpgradeTactical_Units1-1FORCE_CONFUSE40.0 Mace_Windu_Confuse 500.0 Unit_Confuse_Silri TrueFORCE_WHIRLWIND30.0 Mace_Windu_Force_Whirlwind 500.0 Force_Whirlwind_Particles LandHero | SpaceHero 2 1Generic_Star_DestroyerTEXT_UNIT_JC_ENDURANCE TEXT_TOOLTIP_MACE_WINDU_01 TEXT_ENCYCLOPEDIA_CLASS_HERO_FLAGSHIP Corellian_Corvette Corellian_Gunboat Interceptor4_Frigate Y-wing Skipray_BlastboatI_BUTTON_MACE_WINDU.TGAYes5500.0YesNoyes9934000 50000 0 Capital | SpaceHero | AntiFrigate 4Damage_Normal, Admonitor_Star_Destroyer_Death_Clone SELECTABLE, DUMMY_STARSHIP, TRANSPORT ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, HIDE_WHEN_FOGGED, REVEAL, TARGETING, UNIT_AI, ASTEROID_FIELD_DAMAGE, ION_STUN_EFFECT, NEBULA, SPAWN_SQUADRON HP_Republic_Attack_Cruiser_Fighter_Bay_L, HP_Venator_FC_MP, HP_Republic_Attack_Cruiser_Fighter_Bay_R, HP_Republic_Attack_Cruiser_Shield_Gen, HP_Republic_Attack_Cruiser_Engines, HP_Republic_Attack_Cruiser_FL, HP_Republic_Attack_Cruiser_FR, HP_Republic_Attack_Cruiser_L1, HP_Republic_Attack_Cruiser_L2, HP_Republic_Attack_Cruiser_L3, HP_Republic_Attack_Cruiser_L4, HP_Republic_Attack_Cruiser_R1, HP_Republic_Attack_Cruiser_R2, HP_Republic_Attack_Cruiser_R3, HP_Republic_Attack_Cruiser_R4 TIE_Fighter_Squadron, 3TIE_Bomber_Squadron, 25TIE_Fighter_Squadron, 2TIE_Bomber_Squadron, 1TIE_Interceptor_Squadron, 3TIE_Bomber_Squadron, 25TIE_Interceptor_Squadron, 2TIE_Bomber_Squadron, 1TIE_Interceptor_Squadron, 3TIE_Bomber_Squadron, 1TIE_Defender_Squadron, 15TIE_Interceptor_Squadron, 2TIE_Bomber_Squadron, 1Unit_Select_Mara_JadeUnit_Move_Mara_JadeUnit_Fleet_Move_Mara_JadeUnit_Attack_Mara_JadeUnit_Guard_Mara_Jade Unit_Health_Low_Mara_Jade Unit_Health_Critical_Mara_Jade Unit_Defeat_Mara_Jade RHD_Bombard_Select_Target RHD_Bombard_Incoming HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Thrawn HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Thrawn HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Thrawn HARD_POINT_ENGINE, Unit_Lost_Engines_Thrawn HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Thrawn HARD_POINT_TRACTOR_BEAM, Unit_Lost_Tractor_Thrawn HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Star_Destroyer_Idle_Engine_Loop Unit_Star_Destroyer_Moving_Engine_Loop Unit_Star_Destroyer_Cinematic_Engine_Loop RHD_Request_AssistanceRHD_Request_CanceledUnit_Select_Mara_JadeUnit_Select_Mara_Jade620040Tactical_Units1-1POWER_TO_WEAPONSWEAPON_DELAY_MULTIPLIER, 0.3SPEED_MULTIPLIER, 2.0CAUSE_DAMAGE_MULTIPLIER , 2.0507TEXT_TOOLTIP_ABILITY_ASSAULT_NAMETEXT_TOOLTIP_ABILITY_ASSAULT_DESCRIPTIONi_sa_assault.tgaMISSILE_SHIELDYes10004520Unit_Missile_Field_InterdictorSpace_AutomaticCapital | Corvette | Frigate | FighterCapital | Corvette | Frigate | Fighter0.200.10.00.10.10.10YesGalactic_AutomaticNo-1.0NoNoNoYesYesNoNoNoNoNoNoNoNoNoYes1.1Ground_Activated20Ground_ActivatedNoRHD_Removing_CorruptionTEXT_UNIT_SD_ADMONITORNV_JediCruiser_D.aloUnit_Star_Destroyer_Death_SFX2.25-330.00.250.020.050.025true Thank you in advance if you decide to help me




No1Gamer

GF makes me horny

50 XP

22nd April 2010

0 Uploads

90 Posts

0 Threads

#8 9 years ago

u forgot the landing variant. also your deathclone is wrong. there are Damage_Normal, Admonitor_Star_Destroyer_Death_Clone but right is Damage_Normal, Endurance_Star_Destroyer_Death_Clone

also forget to change Yes into No

your hero have no buildcost?