is it possible to add heroes from AOSW mod to FoC? If yes than how?
you would have to make a new xml for it for foc the models and textures doesn't matter because i've done it with model from there mod thin you would have to edit the text file that's all
i am not a expert about transfering heros form mod to mod, but i can make heros form scartch
o i do it all the time it's really easy if you can make xmls
Okay, this is a good thread to be asking this in. I've been working on this for the past f'in week and I still can't figure out what I'm doing wrong. I'm trying to create an Admiral Daala hero with the Knight Hammer as her flagship. Originally I just copied Vader/executor xml file for reference, renamed it, redid the text/name references and sfx references to mara jade when needed and referenced the new xml admiral_daala.xml in gameobjects.xml. And nothing. I then figured perhaps because I referencing a unique unit (daala) to another unique unit (Vader/executor) and since he can only be built once, it wasn't working. I then seperated Vader's xml profile from Executor, created a unique one for vader, and a basic one for Executor, now making the executor star dreadnought buildable at Kuat for 18000 credits. Both of this worked fine. I then referenced Daala's xml file to the new Executor_star_dreadnought file and still nothing. I noticed from someone elses heroes mod that some of the units they referred to spawning in the story sandbox, while others they didn't and just added as uniqueunits within their generic new hero.xml, which doesn't make sense to me since I tried the same thing both ways and still NOTHING. Here's my admiral daala file: Yes TEXT_HERO_ADMIRAL_DAALA TEXT_TOOLTIP_DAALA TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER i_button_admiral_daala.tga .999 1.30 Walk Empire 5 The_Maw No The_Maw 75 70 200 No Knight_Hammer Yes Unit_Select_Mara_Jade Unit_Move_Mara_Jade Unit_Fleet_Move_Mara_Jade Unit_Attack_Mara_Jade Unit_Guard_Mara_Jade SpaceHero 3 10000.0 Yes Yes Space_Automatic Capital | Corvette | Frigate | Fighter Capital | Corvette | Frigate | Fighter 0.25 0.0 0.0 0.0 0.0 0.0 0 Space_Automatic Star_Destroyer 0.25 0.0 0.0 0.0 0.0 0.0 1 TEXT_HERO_ADMIRAL_DAALA TEXT_TOOLTIP_DAALA TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER i_button_admiral_daala.tga Yes Empire 70 90 0 99 1 1 5 The_Maw DUMMY_GROUND_COMPANY Shuttle_Tyderium Admiral_Daala Yes true 1 1 SpaceHero 3 EHD_Request_Assistance EHD_Request_Canceled Unit_Respawn_Mara_Jade Unit_Respawn_Mara_Jade Unit_Fleet_Move_Mara_Jade TRACTOR_BEAM SPEED_MULTIPLIER, 0.8f Piet_Tractor_Beam_Attack_Ability 20 STEALTH i_sa_stealth.tga Stealth_Knight_Hammer 120.0 120.0 Executor_Star_Dreadnought Yes TEXT_UNIT_SSD_KNIGHT_HAMMER i_button_admiral_daala.tga Calamari_Cruiser Rebel_Star_Base_5 Krayt_Class_Destroyer Cloakshape B-Wing Skipray_Blastboat TEXT_TOOLTIP_DAALA TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER 0.01 33,33,33,255 1 5 2 800 -50 1.25 0.999 0.24 Yes true Armor_SSD Shield_SSD 0.5 0.02 Space SuperCapital -500.0 0.1 3 .02 .02 0.05 Yes 1 2.0 Empire 99 No The_Maw 70 18000 7000 9000 150 99000 1000 super yes 40 0 5900 120 Yes 8 TIE_Phantom_Squadron, 4 TIE_Phantom_Squadron, 16 TIE_Interceptor_Squadron, 6 TIE_Interceptor_Squadron, 24 TIE_Scimitar_Squadron, 4 TIE_Scimitar_Squadron, 16 TIE_Defender_Squadron, 1 TIE_Defender_Squadron, 5 8 SELECTABLE, DUMMY_STARSHIP, TRANSPORT ABILITY_COUNTDOWN,SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, REVEAL, TARGETING, UNIT_AI, ASTEROID_FIELD_DAMAGE, SPAWN_SQUADRON, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA Yes Large_Explosion_Space_Empire Large_Damage_Space Damage_Normal, Executor_Death_Clone 6000.0 2200.0 Unit_Select_Mara_Jade Unit_Move_Mara_Jade Unit_Fleet_Move_Mara_Jade Unit_Attack_Mara_Jade Unit_Guard_Mara_Jade Unit_Asteroids_Vader_Executor Unit_Nebula_Vader_Executor Unit_Health_Low_Mara_Jade Unit_Health_Critical_Mara_Jade EHD_Bombard_Select_Target EHD_Bombard_Incoming True HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Vader_Executor HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Vader_Executor HARD_POINT_SHIELD_GENERATOR, Unit_Health_Critical_Vader_Executor HARD_POINT_ENGINE, Unit_Lost_Engines_Vader_Executor HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Health_Low_Vader_Executor HARD_POINT_TRACTOR_BEAM, Unit_Lost_Tractor_Vader_Executor HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Respawn_Vader_Executor Unit_Respawn_Vader_Executor SFX_Asteroid_Detonation Unit_Star_Destroyer_Idle_Engine_Loop SFX_Death_Bombard EHD_Build_Vehicle EHD_Unit_Canceled Unit_Star_Destroyer_Idle_Engine_Loop Unit_Star_Destroyer_Moving_Engine_Loop Unit_Star_Destroyer_Cinematic_Engine_Loop Capital | SpaceHero | AntiFrigate yes Yes True 1000.0 0.0 400.0 5.0 Capital Shuttle_Tyderium_Landing Yes i_radar_Executor.tga 1.0 1.25 0.4 0.4 TRACTOR_BEAM SPEED_MULTIPLIER, 0.8f Knight_Hammer_Tractor_Beam_Attack_Ability 20 Unit_Tractor_Beam_Vader_Executor Unit_Star_Destroyer_Tractor_Beam True STEALTH i_sa_stealth.tga Stealth_Knight_Hammer 120.0 120.0 User_Input Transport | Corvette | Frigate | Capital Millennium_Falcon Buzz_Droids 10 2000 0.8 0 User_Input 255, 255, 255, 255 .3 Unit_Lightsaber_Projectile_Block Yes Galactic_Automatic No 0.0 100000 40000 90 Tactical_Units 1 1 TEXT_UNIT_SSD_KNIGHT_HAMMER EV_ExecutorStarDestroyer_D.alo SFX_Death_Bombard 1.30 -330.0 0.25 0.02 0.05 0.02 5 Empire super true Now I know the Herounit and Herocompany data are only necessary if you want them to be a unit like Tarkin evidently and the uniqueunit data is what you want if you're putting them in a ship (in my case the Knight Hammer). However I've tried referencing both the Team data and the unique unit data in ALL the empire sandboxes to get her to spawn from the beginning (which I really don't see why would be necessary for Galactic Conquest which is what I'm trying to get her in) and she still doesn't spawn. Before this I tried making her buildable ( yes ) and put the required tech level (5), ground level (0 or left blank or even 1) and still nothing. I used vader executor file as a reference for this specific task and nothing. And I do have new texttooltip, new text id in the mastertextfile and I have a new targa formatted icon for her in the commandbar as well. I DO NOT UNDERSTAND WHAT THE HELL I'M MISSING. PLEASE ENLIGHTEN ME IF YOU CAN. I'll reference an example of what someone used for their hero unit and had no reference to it in their sandbox xml's in the next post as this has come up to long. ---------------------- I've tried their xml file word for word as well and still nothing, making sure their variant of existing model was referencing the correct model of the Executor (which was originally how it says "executor_super_star_destroyer", and then changed to my own when I referenced the buildable executor "executor_star_dreadnought"), as well as correctly referencing said new uniqueunit file in the gameobjects.xml as always. Any insight is greatly appreciated.
Here's what they used to get theirs to work, yet when I try it, it still doesn't work as I have the planets he references and the tech level, etc. I've also checked my xml coding in internet explorer and it's all correct with no script errors and the game doesn't have issues either to reference errors like it usually can when you have bad xml coding. Executor_Super_Star_Destroyer Yes TEXT_UNIT_SD_IRONFIST i_button_captain_zsinj.tga TEXT_TOOLTIP_ZSINJ TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER
5 0 5 Kuat, Fondor 180 15000 Yes 0 1 1
Unit_Select_Veers Unit_Move_Veers Unit_Fleet_Move_Veers Unit_Attack_Veers Unit_Guard_Veers Unit_Health_Low_Veers Unit_Health_Critical_Veers Unit_Move_Opposite_Star_Destroyer Unit_Barrage_Star_Destroyer Unit_Stop_Star_Destroyer Unit_Asteroids_Star_Destroyer Unit_Nebula_Star_Destroyer EHD_Bombard_Select_Target EHD_Bombard_Incoming HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Star_Destroyer HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Star_Destroyer HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Star_Destroyer HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Star_Destroyer HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Star_Destroyer HARD_POINT_ENGINE, Unit_HP_ENGINES_Star_Destroyer Unit_Star_Destroyer_Idle_Engine_Loop HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Star_Destroyer HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Star_Destroyer HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Star_Destroyer HARD_POINT_ENGINE, Unit_Lost_Engines_Star_Destroyer HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Star_Destroyer HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, CONCENTRATE_FIRE 6000 20 15 Home_One_Target_Particles Zsinj_Iron_Fist_Ability Unit_Activate_Energy_Blast_Veers TRACTOR_BEAM SPEED_MULTIPLIER, 0.8f Executor_Tractor_Beam_Attack_Ability 20 Unit_Star_Destroyer_Tractor_Beam Unit_Star_Destroyer_Tractor_Beam True User_Input Fighter | Bomber | Transport | Corvette | Frigate | Capital
0.5 0.0 0 User_Input Transport | Corvette | Frigate | Capital Millennium_Falcon
Buzz_Droids, Rebel_Star_Base_1, Rebel_Star_Base_2, Rebel_Star_Base_3, Rebel_Star_Base_4, Rebel_Star_Base_5, Empire_Star_Base_1, Empire_Star_Base_2, Empire_Star_Base_3, Empire_Star_Base_4, Empire_Star_Base_5, Pirate_Asteroid_Base, Skirmish_Rebel_Star_Base_1, Skirmish_Rebel_Star_Base_2, Skirmish_Rebel_Star_Base_3, Skirmish_Rebel_Star_Base_4, Skirmish_Rebel_Star_Base_5, Skirmish_Empire_Star_Base_1, Skirmish_Empire_Star_Base_2, Skirmish_Empire_Star_Base_3, Skirmish_Empire_Star_Base_4, Skirmish_Empire_Star_Base_5, Underworld_Star_Base_1, Underworld_Star_Base_2, Underworld_Star_Base_3, Underworld_Star_Base_4, Underworld_Star_Base_5, Skirmish_Underworld_Star_Base_1, Skirmish_Underworld_Star_Base_2, Skirmish_Underworld_Star_Base_3, Skirmish_Underworld_Star_Base_4, Skirmish_Underworld_Star_Base_5, Hutt_Asteroid_Base, Skirmish_Hutt_Asteroid_Base
10 2000 0.8 0 1 -1 Star_Destroyer TEXT_UNIT_SD_GORGON i_button_daala.tga TEXT_TOOLTIP_DAALA TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER 0 Yes The_Maw Unit_Select_Mara_Jade Unit_Move_Mara_Jade Unit_Fleet_Move_Mara_Jade Unit_Attack_Mara_Jade Unit_Guard_Mara_Jade Unit_Health_Low_Mara_Jade Unit_Health_Critical_Mara_Jade Unit_Defeat_Mara_Jade HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Victory_Destroyer HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Victory_Destroyer HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Victory_Destroyer HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Victory_Destroyer HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Victory_Destroyer HARD_POINT_ENGINE, Unit_HP_ENGINES_Victory_Destroyer HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Victory_Destroyer HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Victory_Destroyer HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Victory_Destroyer HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Victory_Destroyer HARD_POINT_ENGINE, Unit_Lost_Engines_Victory_Destroyer HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Victory_Destroyer HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, 1 -1 User_Input Transport | Corvette | Frigate Millennium_Falcon Buzz_Droids 10 1000 0.75 0
wait you made a new .xml for this unit right? if so it might not be recognizned in the gameobjects files, meaning you made the unnit and xmls, but the game doesnt see them
FEAR_oddslayer_4667;3809153wait you made a new .xml for this unit right? if so it might not be recognizned in the gameobjects files, meaning you made the unnit and xmls, but the game doesnt see them
Yea I referenced the file accordingly in gameobjects.xml
Did you add her via the story mode scripting(empire_heros-exp.xml? Try making her a starting unit in a GC campaign to see if her unit code is correct.