Okay. I'm certainly no coding master but this is what I can see as how to do it...And anyone who
really knows what they're doing, correct me. (Lol...)
And for the sake of simplicity, I'm bolding any tags that have been altered.
You'd need to add this in under "Darth_Vader_Exactor" in the hero unit name area. The Text_ID tag remains the same because if you changed it to
<Text_ID>TEXT_DARTH_VADER_EXECUTOR</Text_ID>, you'd get a [MISSING] value in the description box.
<HeroUnit Name="Darth_Vader_Executor">
<Variant_Of_Existing_Type>Darth_Vader_Immortal</Variant_Of_Existing_Type>
<Text_ID>TEXT_HERO_WEDGE_ANTILLES_LUSANKYA</Text_ID>
<Neutralization_Cost>65140.0</Neutralization_Cost>
Then add this in somewhere in the hero company name area.
<HeroCompany Name="Darth_Vader_Executor_Team">
<Variant_Of_Existing_Type>Darth_Vader_Immortal_Team</Variant_Of_Existing_Type>
<Text_ID>TEXT_HERO_WEDGE_ANTILLES_LUSANKYA</Text_ID>
<Build_Cost_Credits>249460</Build_Cost_Credits>
<Build_Time_Seconds>3191.9</Build_Time_Seconds>
<GUI_Row>1</GUI_Row>
<Required_Star_Base_Level>5</Required_Star_Base_Level>
<Required_Orbiting_Units>Immortal</Required_Orbiting_Units>
<Company_Transport_Unit>Executor</Company_Transport_Unit>
<Company_Units>Darth_Vader_Executor</Company_Units>
</HeroCompany>
I'm not quite sure if you'll change
<Complany_Transport_Unit>Lusankya</Complany_Transport_Unit> to
<Complany_Transport_Unit>Executor</Complany_Transport_Unit> or not, which I did include above. If there's an error, that could possibly be a place to look at. I'm not sure if that is just for the "Darth Vader with _____" text, or something completely different.
The next coding spot I'll cut down, since there's a lot of stuff you won't need to change in there. It goes in the unique unit name area. (***=skipped portion)
<UniqueUnit Name="Executor">
<Variant_Of_Existing_Type>Executor_II-class_Star_Dreadnought</Variant_Of_Existing_Type>
<Text_ID>TEXT_UNIQUE_LUSANKYA</Text_ID>
<Encyclopedia_Unit_Class>TEXT_ENCYCLOPEDIA_CLASS_ELITE_DREADNOUGHT</Encyclopedia_Unit_Class>
<Encyclopedia_Text>TEXT_UNIQUE_LUSANKYA_TOOLTIP</Encyclopedia_Text>
<Encyclopedia_Good_Against> Reef_Home-class_MC80_Star_Cruiser Bulwark-class_Battlecruiser Golan_III_Space_Defense_NovaGun </Encyclopedia_Good_Against>
<Encyclopedia_Vulnerable_To> Gamma-class_ATR-6_Assault_Transport GAT-12g_Skipray_Blastboat Ground_Rebel_Ion_Cannon </Encyclopedia_Vulnerable_To>
<Icon_Name>i_button_darth_vader.tga</Icon_Name>
<Shield_Points>295680</Shield_Points>
<Tactical_Health>110624</Tactical_Health>
<Autoresolve_Health>406304</Autoresolve_Health>
<Affiliation>Empire</Affiliation>
<Behavior>DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED, TRANSPORT</Behavior>
<Starting_Spawned_Units_Tech_0>E_TIE_Fighter_x9_Squadron, __</Starting_Spawned_Units_Tech_0>
<Starting_Spawned_Units_Tech_0>E_TIE_Interceptor_x9_Squadron, __</Starting_Spawned_Units_Tech_0>
<Starting_Spawned_Units_Tech_0>E_TIE_Avenger_x8_Squadron, __</Starting_Spawned_Units_Tech_0>
<Starting_Spawned_Units_Tech_0>E_TIE_Defender_x9_Squadron, __</Starting_Spawned_Units_Tech_0>
<Starting_Spawned_Units_Tech_0>E_TIE_Bomber_x9_Squadron, __</Starting_Spawned_Units_Tech_0>
***
<SFXEvent_Build_Started>RHD_Build_Vehicle</SFXEvent_Build_Started>
<SFXEvent_Build_Cancelled>RHD_Unit_Canceled</SFXEvent_Build_Cancelled>
<SFXEvent_Build_Complete>Unit_Respawn_Vader</SFXEvent_Build_Complete>
<SFXEvent_Select>Unit_Select_Vader_Ship</SFXEvent_Select>
<SFXEvent_Move>Unit_Move_Vader_Ship</SFXEvent_Move>
<SFXEvent_Fleet_Move>Unit_Fleet_Move_Vader</SFXEvent_Fleet_Move>
<SFXEvent_Attack>Unit_Attack_Vader_Ship</SFXEvent_Attack>
<SFXEvent_Guard>Unit_Guard_Vader</SFXEvent_Guard>
<SFXEvent_Move_Opposite>Unit_Move_Vader_Ship</SFXEvent_Move_Opposite>
<SFXEvent_Barrage>Unit_Attack_Vader_Ship</SFXEvent_Barrage>
<SFXEvent_Stop>null</SFXEvent_Stop>
<SFXEvent_Assist_Move>Unit_Assist_Move_Vader_Ship</SFXEvent_Assist_Move>
<SFXEvent_Assist_Attack>Unit_Assist_Attack_Vader_Ship</SFXEvent_Assist_Attack>
<SFXEvent_Move_Into_Asteroid_Field>Unit_Move_Vader_Ship</SFXEvent_Move_Into_Asteroid_Field>
<SFXEvent_Move_Into_Nebula>Unit_Move_Vader_Ship</SFXEvent_Move_Into_Nebula>
<SFXEvent_Enemy_Health_Low_Warning>Unit_Enemy_Health_Low_Vader_Ship</SFXEvent_Enemy_Health_Low_Warning>
<SFXEvent_Enemy_Health_Critical_Warning>Unit_Enemy_Health_Critical_Vader_Ship</SFXEvent_Enemy_Health_Critical_Warning>
<SFXEvent_Health_Low_Warning>Unit_Health_Low_Vader_Ship</SFXEvent_Health_Low_Warning>
<SFXEvent_Health_Critical_Warning>Unit_Health_Critical_Vader_Ship</SFXEvent_Health_Critical_Warning>
<SFXEvent_Bombard_Select_Target>RHD_Bombard_Select_Target</SFXEvent_Bombard_Select_Target>
<SFXEvent_Bombard_Incoming>RHD_Bombard_Incoming</SFXEvent_Bombard_Incoming>
<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_LASER, Unit_Attack_Vader_Ship </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_MISSILE, Unit_Attack_Vader_Ship </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_TORPEDO, Unit_Attack_Vader_Ship </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_WEAPON_ION_CANNON, Unit_Attack_Vader_Ship </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_SHIELD_GENERATOR, Unit_Attack_Vader_Ship </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_ENGINE, Unit_Attack_Vader_Ship </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_GRAVITY_WELL, Unit_Attack_Vader_Ship </SFXEvent_Attack_Hardpoint>
<SFXEvent_Attack_Hardpoint> HARD_POINT_FIGHTER_BAY, Unit_Attack_Vader_Ship</SFXEvent_Attack_Hardpoint>
***
</UniqueUnit>
The SFX tags are just a lot of changing "Wedge_Rogue" to "Vader" or "Vader_Ship". Pay attention to which goes where. For the fighter/bomber squadrons, I changed the Rebel fighters to what I sort of consider their equivalents in Imperial terms, but I left the numbers blank. I don't know the canonical or balanced numbers for the
Executor to have. You can either research that yourself, insert the stock Rebel numbers, or insert your own.
That's what I see needs to be done. Like I said, if anyone knows more about XML coding, go ahead and correct me. I hope this helps you. And works.
I've never attempted anything like this before...
Edited by Tropical Bob, 09 May 2008 - 03:40 AM.