Ok, I coded in a space unit for Yoda, and it works fine. But every so often I get an exception saying units_hero_rebel_yoda.xml was the problem. I doublechecked the code with Executor and Merciless, and except for different values in health and stuff and different sounds, they have the same format. Should I just recode it or what?
Hate to be annoying, but this is really bugging me.
this is in GC?
Yeah. I will play the mod, and Yoda's space unit works just fine. And randomly, even if I am not using him an exception occurs saying it was the XML's fault. Would I have to make it compatible for skirmish to get it to work?
No, my guess is something in the xml is wrong. I think it is more along the lines of the gc xml calling on yoda xml which then crashes. Could you be more specific on the crash? Is it idle? an attack? Defending? What planet, things like that. I don't want to give you the wrong answer for misinterrupting your question.
It just occurs, most often when advancing tech levels, but it has happened when I attack, defend, move, build, etc. And sometimes it will happen when I am just sitting there. I can post the code if you want.
Sure advancing tech is a sign in the gc xml
Wait, so what are you saying?
Sure post xml Lvling tech is a sign of gc error.
Ok, I think I fixed it, I had two entries titled Monitor, and both were different which is probably what caused it. I'll post the code anyway just in case.
TEXT_UNIT_MONITOR TEXT_TOOLTIP_YODA TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER NV_JEDICRUISER.ALO1.4400i_button_ri_yoda.tgatrue SELECTABLE, TRANSPORT, DUMMY_STARSHIP SPAWN_SQUADRON, ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, ION_STUN_EFFECT, NEBULA99100009000440060 1 Rebel2.00.60.251.6 HP_Jedi_Cruiser_Shield_Gen, HP_Jedi_Cruiser_Engines, HP_Jedi_Cruiser_FL, HP_Jedi_Cruiser_FR, HP_Jedi_Cruiser_ML, HP_Jedi_Cruiser_MR, HP_Jedi_Cruiser_BL, HP_Jedi_Cruiser_BR, HP_Jedi_hangar VWing_Squadron_Kamino, 1TIE_Bomber_Squadron, 15VWing_Squadron_Kamino, 3TIE_Bomber_Squadron, 3Unit_Acclamator_Moving_Engine_LoopUnit_Select_yodaUnit_Move_yodaUnit_fleet_Move_yodaUnit_Attack_yodaUnit_Guard_yodaUnit_Stop_Victory_DestroyerUnit_Barrage_Victory_Destroyer Unit_Move_yoda Unit_Move_yoda HARD_POINT_WEAPON_LASER, Unit_Attack_yoda HARD_POINT_WEAPON_MISSILE, Unit_Attack_yoda HARD_POINT_WEAPON_TORPEDO, Unit_Attack_yoda HARD_POINT_WEAPON_ION_CANNON, Unit_Attack_yoda HARD_POINT_SHIELD_GENERATOR, Unit_Attack_yoda HARD_POINT_ENGINE, Unit_Attack_yoda HARD_POINT_GRAVITY_WELL, Unit_Attack_yoda Unit_Acclamator_Idle_Engine_Loop Unit_Acclamator_Moving_Engine_Loop Unit_Acclamator_Cinematic_Engine_Loop Unit_Cruiser_Death_SFXDamage_Normal, Jedi_Cruiser_Death_Clone> Alliance_Shuttle_Landing 50000 580020Tactical_Units1-1POWER_TO_WEAPONS20WEAPON_DELAY_MULTIPLIER, 0.5fSHIELD_REGEN_MULTIPLIER, -3fENERGY_REGEN_MULTIPLIER, 1.0fSPEED_MULTIPLIER, 0.5f60Unit_Barrage_Victory_DestroyerCLUSTER_BOMB50.0 MC30_Cluster_Bomb 500.0 Unit_Cluster_Bombs_MC30_FrigateTrue User_Input 1.5 Proj_Cluster_Bomb 12 Unit_MC30_Launch_Cluster_Bomb