i made a new hero in UEAW because i was bored earlier today and it wont work. can someone tell me what to do so i correct myself <?xml version="1.0" ?> YesYesTEXT_UNIT_DARKSIDE_ADEPT2 TEXT_TOOLTIP_PALPATINE_01 TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_SITH_LORD NI_DarkSideAdepts.aloi_button_sith.tga SELECTABLE SELECTABLE, SURFACE_FX, WALK_LOCOMOTOR, IDLE, REVEAL, HIDE_WHEN_FOGGED, TARGETING, WEAPON, DAMAGE_TRACKING, UNIT_AI, ABILITY_COUNTDOWN, IMPOSING_PRESENCE, HOLSTER_WEAPON, GARRISON_UNIT Palpatine Infantry Unit_Light_Saber_On Unit_Light_Saber_Off b_saber 0.0, 0.0, 0.0 0.0, -5.835, 0.0 0.17 15.0 Yes Unit_Vader_Lightsaber_Idle_Loop Unit_Vader_Lightsaber_Moving_Loop Unit_Vader_Lightsaber_Cinematic_Loop Generic_Footprint, Infantry_Terrain_ModifierYesNoYesyes 0.8 120.0 6.5 2.0 2.0 Land Infantry .5 10 .1 .1 .25 10.0 1273.0fSelection_Empire_HeroHighlight_Empire_Hero1.01.75WalkEmpireEmpireNoCoruscant75 Armor_Hero 100800500YesProj_Lightsaber200.01.020.07.0 8 0.7Unit_Select_Darkside_AdeptUnit_Move_Darkside_AdeptUnit_Attack_Darkside_AdeptUnit_Assist_Move_Darkside_AdeptUnit_Assist_Attack_Darkside_AdeptUnit_Guard_Darkside_AdeptUnit_Rebel_Infantry_FireUnit_Rebel_Soldier_DeathNoyes LandHero 1 Infantry1x135.0, 5.0Generic_ShadowB_Chest Yes YesNoTrue600100.0200.0300.05.0AntiInfantry200.01000.0NoNo 25000 True0.250.0100.0YesFORCE_LIGHTNING0 Emperor_Force_Lightning Unit_Lightning_Emperor TrueFORCE_TELEKINESIS0 Vader_Force_Telekinesis Unit_Lift_Vader TrueTake_Damage0.300.60180.0 135.0 NoSilri, Luke_Skywalker_Jedi, Urai_Fen, Obi_Wan_Kenobi, 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_No_Bike, Stormtrooper, Underworld_Disruptor_Merc, Boba_Fett, Mara_Jade, Kyle_Katarn, Han_Solo, Chewbacca, Underworld_Saboteur, IG-88, Dark_Trooper_PhaseII, Dark_Trooper_PhaseIIIUnit_Lightsaber_Projectile_BlockTake_Damage0.60.21Cuddles_The_Rancor, Luke_Skywalker_Jedi, Yoda, TIE_Crawler, Destroyer_Droid, 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_No_Bike, Stormtrooper, Underworld_Disruptor_Merc, Boba_Fett, Mara_Jade, Kyle_Katarn, Han_Solo, Chewbacca, Underworld_Saboteur, IG-88, Dark_Trooper_PhaseII, Dark_Trooper_PhaseIIIUnit_Force_AbsorbColor_Flash2.0, 0.4, 0.40.5 User_Input 0.0175.0Infantry9999.02.3893 8 Force_LightningB_HAND_LB_PELVIS 20 100.0 Unit_Force_LightningForce_Lightning_SmokeB_PELVISLinear_Pulse0.3, 0.3, 0.82.389325Special_AttackYes0.0250.01.00.00.010.2StructureEarthquake_Dust_ParticlesSpace_AutomaticCapital | Corvette | Frigate | FighterCapital | Corvette | Frigate | Fighter0.500.500.500.500.500.00Ground_AutomaticVehicle | Infantry | AirVehicle | Infantry | Air0.500.500.500.500.500.00All0.500Ground_Automatic70.03.03.0 Infantry Destroyer_Droid, Dark_Trooper_PhaseI, Dark_Trooper_PhaseII, Dark_Trooper_PhaseIII, IG-88, Droid_R2D2, Droid_C3P0, Underworld_Mobile_Defense_Unit, Empire_Mobile_Defense_Unit, Rebel_Mobile_Defense_Unit Unit_Force_CorruptionCorrupt_EnemyB_HEADSmooth_Pulse0.1, 0.1, 0.11.01Yes1Ground_Activated1Ground_ActivatedNoEHD_Removing_CorruptionTEXT_UNIT_DARKSIDE_ADEPT2i_button_sith.tgaYes100Empire001000DUMMY_GROUND_COMPANYShuttle_TyderiumDarkside_AdeptsYesYesyestrue 25000 EHD_Request_AssistanceEHD_Request_CanceledFORCE_LIGHTNING0 Emperor_Force_Lightning FORCE_TELEKINESIS0 Vader_Force_Telekinesis 584EC_Level_Three_Tech_UpgradeTactical_Units1-1TEXT_TOOLTIP_PALPATINE_012 TEXT_ENCYCLOPEDIA_CLASS_SITH_LORD LandHero 1 0 yes i know i used my name but get over it
Dark Lord Of The Sith
9th January 2007
You forgot this line...... It should work now. EDIT: All I did to trouble shot your code was to put it in an xml, then save it. Then open it with "Internet Explorer" if the xml code is correct you will see all of it. If there is an error it will stop reading the file, and give you an error. In this case it gave me this....
End tag 'HeroUnit' does not match the start tag 'Unit_Abilities_Data'. Error processing resource 'file:///C:/Program Files/... So it saw that the start tag "Unit_abilities_Data" did not have an end tag.
Let's go find Carmine...
16th February 2007
either that or most xml viewers will say "Error: ******* line missing" when u open a dodgy XML document in it
yea, internet explorer can help with errors like that :) BUT you need to have story scripts set to spawn the hero (unless you make the hero a starting unit) ifi knew what i was doing in that area i would show you code.
wow i did not see that thanks
Dark Lord Of The Sith
9th January 2007
<<<<[COLOR=blue]Here is the start tag[/COLOR] FORCE_LIGHTNING0 Emperor_Force_Lightning Unit_Lightning_Emperor TrueFORCE_TELEKINESIS0 Vader_Force_Telekinesis Unit_Lift_Vader True[COLOR=blue]<<<<<<< But you have no end tag! [/COLOR]
i got that now but i think i am doing something wrong in puting him in the game. i am trying to put him in like a regular starting unit but he didn't show up (all it did was take away the unit that i replaced him with)
you should post this in the UaW forums ;) but sience it's like EaW, i'll answer: 1. it requires story scripting to get a hero in, try naming yourself (:lol:) the name of the hero you removed :) then if you do not want to remove a hero, you have to edit the sandbox plot files
Here is the plots for a FoC GC map (inside of Story_plots_sandbox_36u_underworld.xml )
inside it links to the ACTIVE thread here: Story_Sandbox_36U_Underworld.XML
and here is the contents: [php] <?xml version="1.0" ?>
If you can't figure out how this spawns hero's , read this line: [php] STORY_TRIGGERUNIQUE_UNITIG88_TeamHyporiUniversal_Story_Start[/php]
Ok, now here is (for the same GC map) the spawn hero thread contained in Story_sandbox_36u_rebel.xml:
[php] <?xml version="1.0" ?>
This spawns the hero's as you advance through tech levels.
HERE spawn's the hero's for rebellion at tech 4
Ok, i added the comments ;)
So you'd have to add these lines to spawn yourself at tech 2, (you'd have to add it to all of that faction's active spawn hero branches)
And there ya have it! (i do not know how different it is for UaW though ;) )
ok, remember to use the scroller that appears when you use a [php] bb code tag ;) yea, it's annoying, and i should have used spoilers