FileFront Gaming Forums

Hero unit help

This is a discussion on Hero unit help within the SW:EaW Modding, Mapping and Editing forums, part of the Star Wars: Empire At War category; I have been trying to code a Grand Admiral Zaarin hero for the Empire but he doesn't show up in ...

Go Back   FileFront Gaming Forums > The Games > Star Wars: Empire At War > SW:EaW Modding, Mapping and Editing


SW:EaW Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old May 12th, 2009
swj345's Avatar
Noob at Halo and proud
 
Join Date: April 8th, 2009
Location: In your attic
Posts: 42
Rep Power: 0
swj345 is a n00b
Default Hero unit help

I have been trying to code a Grand Admiral Zaarin hero for the Empire but he doesn't show up in game. I can put him in the map editor and play him on a custom map and everything works fine apart from his icon doesn't appear, all i get is a empty box. I have got an icon in tga format in the textures folder. He is a space only hero and uses his ship the Glory.
Here is the coding for Zaarin:
Code:
<HeroUnit Name="Grand_Admiral_Zaarin">
 <Is_Named_Hero>Yes</Is_Named_Hero>
 <Text_ID>TEXT_HERO_ZAARIN</Text_ID>
 <Icon_Name>I_BUTTON_ADMIRAL_ZAARIN.tga</Icon_Name>
 <Mass>1.0</Mass>
 <Scale_Factor>1.0</Scale_Factor>
<!--<Is_Sprite>No</Is_Sprite>
 -->
 <Type>Walk</Type>
 <Affiliation>Empire</Affiliation>
 <Required_Timeline>4</Required_Timeline>
 <Required_Ground_Base_Level>0</Required_Ground_Base_Level>
 <Required_Star_Base_Level>0</Required_Star_Base_Level>
 <Required_Special_Structures/>
 <Required_Planets/>
 <IsBuildable>No</IsBuildable>
 <Spawn_Planet>Anaxes</Spawn_Planet>
 <Size_Value>75</Size_Value>
 <Damage>95</Damage>
 <Autoresolve_Health>250</Autoresolve_Health>
 <Attach_To_Flagship_During_Space_Battle>No</Attach_To_Flagship_During_Space_Battle>
 <Unique_Space_Unit>Glory_Star_Destroyer</Unique_Space_Unit>
 <Stay_In_Transport_During_Ground_Battle>Yes</Stay_In_Transport_During_Ground_Battle>
 <SFXEvent_Select>Unit_Select_Piett</SFXEvent_Select>
 <SFXEvent_Move>Unit_Move_Piett</SFXEvent_Move>
 <SFXEvent_Fleet_Move>Unit_Fleet_Move_Piett</SFXEvent_Fleet_Move>
 <SFXEvent_Attack>Unit_Attack_Piett</SFXEvent_Attack>
 <SFXEvent_Guard>Unit_Guard_Piett</SFXEvent_Guard>
<!-- <Death_SFXEvent_Start_Die> Unit_Defeat_Piett </Death_SFXEvent_Start_Die> 
 -->
 <CategoryMask> SpaceHero </CategoryMask>
 <Ranking_In_Category> 3 </Ranking_In_Category>
 <Neutralization_Cost>1000.0</Neutralization_Cost>
 <Can_Be_Neutralized_By_Major_Heroes>Yes</Can_Be_Neutralized_By_Major_Heroes>
 <Can_Be_Neutralized_By_Minor_Heroes>Yes</Can_Be_Neutralized_By_Minor_Heroes>
 <Encyclopedia_Text> TEXT_TOOLTIP_ZAARIN</Encyclopedia_Text>
 <Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER </Encyclopedia_Unit_Class>
<Abilities SubObjectList="Yes">
<Combat_Bonus_Ability Name="Piet_Combat_Bonus_General">
 <Activation_Style>Space_Automatic</Activation_Style>
 <Unit_Strength_Category>Capital | Corvette | Frigate | Fighter</Unit_Strength_Category>
 <Applicable_Unit_Categories>Capital | Corvette | Frigate | Fighter</Applicable_Unit_Categories>
 <Applicable_Unit_Types/>
 <Health_Bonus_Percentage>0.25</Health_Bonus_Percentage>
 <Damage_Bonus_Percentage>0.0</Damage_Bonus_Percentage>
 <Energy_Pool_Bonus_Percentage>0.0</Energy_Pool_Bonus_Percentage>
 <Shield_Bonus_Percentage>0.0</Shield_Bonus_Percentage>
 <Defense_Bonus_Percentage>0.0</Defense_Bonus_Percentage>
 <Movement_Speed_Bonus_Percentage>0.0</Movement_Speed_Bonus_Percentage>
 <Stacking_Category>0</Stacking_Category>
 </Combat_Bonus_Ability>
<Combat_Bonus_Ability Name="Piet_Combat_Bonus_Star_Destroyer">
 <Unit_Strength_Category/>
 <Activation_Style>Space_Automatic</Activation_Style>
 <Applicable_Unit_Categories/>
 <Applicable_Unit_Types>Star_Destroyer</Applicable_Unit_Types>
 <Health_Bonus_Percentage>0.25</Health_Bonus_Percentage>
 <Damage_Bonus_Percentage>0.0</Damage_Bonus_Percentage>
 <Energy_Pool_Bonus_Percentage>0.0</Energy_Pool_Bonus_Percentage>
 <Shield_Bonus_Percentage>0.0</Shield_Bonus_Percentage>
 <Defense_Bonus_Percentage>0.0</Defense_Bonus_Percentage>
 <Movement_Speed_Bonus_Percentage>0.0</Movement_Speed_Bonus_Percentage>
<!-- note stacking category, this stacks with other hero combat bonuses 
 -->
 <Stacking_Category>1</Stacking_Category>
 </Combat_Bonus_Ability>
 </Abilities>
 </HeroUnit>
Here is the code for his ship the Glory:
Code:
<UniqueUnit Name="Glory_Star_Destroyer">
 <Variant_Of_Existing_Type>Generic_Star_Destroyer</Variant_Of_Existing_Type>
 <Encyclopedia_Good_Against> Corellian_Corvette Corellian_Gunboat Marauder_Missile_Cruiser </Encyclopedia_Good_Against>
 <Encyclopedia_Vulnerable_To> Y-wing </Encyclopedia_Vulnerable_To>
 <Icon_Name>i_button_zaarin.tga</Icon_Name>
 <Is_Named_Hero>Yes</Is_Named_Hero>
 <Prevents_Story_Campaign_Autoresolve>yes</Prevents_Story_Campaign_Autoresolve>
 <Text_ID>TEXT_UNIT_SD_GLORY</Text_ID>
 <Encyclopedia_Text> TEXT_TOOLTIP_ZAARIN</Encyclopedia_Text>
 <Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_FLEET_COMMANDER </Encyclopedia_Unit_Class>
 <SpaceBehavior> ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, HIDE_WHEN_FOGGED, REVEAL, TARGETING, UNIT_AI, ASTEROID_FIELD_DAMAGE, ION_STUN_EFFECT, NEBULA, SPAWN_SQUADRON </SpaceBehavior>
 <Ranking_In_Category>3</Ranking_In_Category>
 <HardPoints> HP_Star_Destroyer_Weapon_FL, HP_Star_Destroyer_Weapon_FR, HP_Star_Destroyer_Weapon_BL, HP_Star_Destroyer_Weapon_BR, HP_Star_Destroyer_Weapon_ML, HP_Star_Destroyer_Weapon_MR, HP_Star_Destroyer_Shield_Generator, HP_Star_Destroyer_Engines, HP_Star_Destroyer_Fighter_Bay, HP_Star_Destroyer_Tractor_Beam </HardPoints>
 <Tech_Level>99</Tech_Level>
 <SFXEvent_Select>Unit_Select_Piett</SFXEvent_Select>
 <SFXEvent_Move>Unit_Move_Piett</SFXEvent_Move>
 <SFXEvent_Fleet_Move>Unit_Fleet_Move_Piett</SFXEvent_Fleet_Move>
 <SFXEvent_Attack>Unit_Attack_Piett</SFXEvent_Attack>
 <SFXEvent_Guard>Unit_Guard_Piett</SFXEvent_Guard>
 <SFXEvent_Health_Low_Warning> Unit_Health_Low_Piett </SFXEvent_Health_Low_Warning>
 <SFXEvent_Health_Critical_Warning> Unit_Health_Critical_Piett </SFXEvent_Health_Critical_Warning>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Star_Destroyer </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_MISSILE, </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_TORPEDO, </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Star_Destroyer </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Piett </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_ENGINE, Unit_Lost_Engines_Star_Destroyer </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_GRAVITY_WELL, </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Star_Destroyer </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_TRACTOR_BEAM, Unit_Lost_Tractor_Piett</SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Hardpoint_Destroyed> HARD_POINT_ENABLE_SPECIAL_ABILITY, </SFXEvent_Hardpoint_Destroyed>
 <SFXEvent_Engine_Idle_Loop> Unit_Star_Destroyer_Idle_Engine_Loop </SFXEvent_Engine_Idle_Loop>
 <SFXEvent_Engine_Moving_Loop> Unit_Star_Destroyer_Moving_Engine_Loop </SFXEvent_Engine_Moving_Loop>
 <SFXEvent_Engine_Cinematic_Focus_Loop> Unit_Star_Destroyer_Cinematic_Engine_Loop </SFXEvent_Engine_Cinematic_Focus_Loop>
 <AI_Combat_Power>6000</AI_Combat_Power>
 <Score_Cost_Credits> 50000 </Score_Cost_Credits>
 <Build_Cost_Credits>0</Build_Cost_Credits>
 <CategoryMask> Capital | SpaceHero | AntiFrigate </CategoryMask>
 <Population_Value>4</Population_Value>
<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>
 -->
 <Tactical_Build_Cost_Multiplayer>6700</Tactical_Build_Cost_Multiplayer>
 <Tactical_Build_Time_Seconds>60</Tactical_Build_Time_Seconds>
 <Tactical_Build_Prerequisites/>
 <Tactical_Production_Queue>Tactical_Units</Tactical_Production_Queue>
 <Build_Limit_Current_Per_Player>1</Build_Limit_Current_Per_Player>
 <Build_Limit_Lifetime_For_All_Allies>-1</Build_Limit_Lifetime_For_All_Allies>
<!--<MULTIPLAYER SKIRMISH VALUES END>
 -->
<!-- Hero abilities for Captain Piett added to ship; Hero "moveable" unit removed 
 -->
<Unit_Abilities_Data SubObjectList="Yes">
<Unit_Ability>
 <Type>TRACTOR_BEAM</Type>
 <Mod_Multiplier>SPEED_MULTIPLIER, 0.6f</Mod_Multiplier>
 <GUI_Activated_Ability_Name>Piet_Tractor_Beam_Attack_Ability</GUI_Activated_Ability_Name>
<!-- GUI Command Bar support 
 -->
 <Recharge_Seconds>15</Recharge_Seconds>
 <SFXEvent_Target_Ability>Unit_Tractor_Beam_Star_Destroyer</SFXEvent_Target_Ability>
 <SFXEvent_Special_Ability_Loop> Unit_Star_Destroyer_Tractor_Beam </SFXEvent_Special_Ability_Loop>
 </Unit_Ability>
 </Unit_Abilities_Data>
<Abilities SubObjectList="Yes">
<Combat_Bonus_Ability Name="Zaarin_Combat_Bonus_General">
 <Activation_Style>Space_Automatic</Activation_Style>
 <Unit_Strength_Category> Fighter</Unit_Strength_Category>
 <Applicable_Unit_Categories>Fighter</Applicable_Unit_Categories>
 <Applicable_Unit_Types/>
 <Health_Bonus_Percentage>0.50</Health_Bonus_Percentage>
 <Damage_Bonus_Percentage>0.25</Damage_Bonus_Percentage>
 <Energy_Pool_Bonus_Percentage>0.0</Energy_Pool_Bonus_Percentage>
 <Shield_Bonus_Percentage>0.0</Shield_Bonus_Percentage>
 <Defense_Bonus_Percentage>0.0</Defense_Bonus_Percentage>
 <Movement_Speed_Bonus_Percentage>0.25</Movement_Speed_Bonus_Percentage>
 <Stacking_Category>0</Stacking_Category>
 </Combat_Bonus_Ability>
<Combat_Bonus_Ability Name="Piet_Combat_Bonus_Star_Destroyer">
 <Unit_Strength_Category/>
 <Activation_Style>Space_Automatic</Activation_Style>
 <Applicable_Unit_Categories/>
 <Applicable_Unit_Types>Star_Destroyer</Applicable_Unit_Types>
 <Health_Bonus_Percentage>0.25</Health_Bonus_Percentage>
 <Damage_Bonus_Percentage>0.0</Damage_Bonus_Percentage>
 <Energy_Pool_Bonus_Percentage>0.0</Energy_Pool_Bonus_Percentage>
 <Shield_Bonus_Percentage>0.0</Shield_Bonus_Percentage>
 <Defense_Bonus_Percentage>0.0</Defense_Bonus_Percentage>
 <Movement_Speed_Bonus_Percentage>0.0</Movement_Speed_Bonus_Percentage>
<!-- note stacking category, this stacks with other hero combat bonuses 
 -->
 <Stacking_Category>1</Stacking_Category>
 </Combat_Bonus_Ability>
<Energy_Weapon_Attack_Ability Name="Piet_Energy_Weapon_Attack_Ability">
 <Activation_Style> User_Input </Activation_Style>
 <Applicable_Unit_Categories>Capital | Corvette | Frigate | Fighter | Bomber | Transport</Applicable_Unit_Categories>
 <Applicable_Unit_Types/>
 <Owner_Particle_Effect>Piet_Powerup_Particle_Effect</Owner_Particle_Effect>
 <Owner_Particle_Bone_Name>HP_trac_bone</Owner_Particle_Bone_Name>
 <Activation_Min_Range>0</Activation_Min_Range>
 <Activation_Max_Range>800</Activation_Max_Range>
<!-- Modifiers. If 0 - no modifier is applied, 1 - "100% increase or decrease" 
 -->
 <Damage_Per_Frame>50</Damage_Per_Frame>
 </Energy_Weapon_Attack_Ability>
<Tractor_Beam_Attack_Ability Name="Piet_Tractor_Beam_Attack_Ability">
 <Activation_Style> User_Input </Activation_Style>
 <Applicable_Unit_Categories>Transport | Corvette | Frigate</Applicable_Unit_Categories>
 <Applicable_Unit_Types>Millennium_Falcon</Applicable_Unit_Types>
 <Activation_Min_Range>0</Activation_Min_Range>
 <Activation_Max_Range>800</Activation_Max_Range>
<!-- Modifiers. If 0 - no modifier is applied, 1 - "100% increase or decrease" 
 -->
 <Target_Speed_Decrease_Percent>0.45</Target_Speed_Decrease_Percent>
 <Stacking_Category>2</Stacking_Category>
 </Tractor_Beam_Attack_Ability>
 </Abilities>
 </UniqueUnit>
__________________


One year since i first used filefront!
Reply With Quote
  #2  
Old May 12th, 2009
xanofar's Avatar
n00b-friendly user. :)
 
Join Date: April 14th, 2008
Location: Arlington, Tejas
Posts: 719
Rep Power: 0
xanofar is nobody special
exclaim Re: Hero unit help

You also need to put a new hero in the following files for the empire:

Story_sandbox_10a_empire.xml
Story_sandbox_10b_empire.xml
Story_sandbox_12u_empire.xml
Story_sandbox_15_empire.xml
Story_sandbox_21u_empire.xml
Story_sandbox_25_empire.xml
Story_sandbox_27_empire.xml
Story_sandbox_33b_empire.xml
Story_sandbox_35_empire.xml
Story_sandbox_36u_empire.xml
Story_sandbox_44_empire.xml
Story_sandbox_50_empire.xml
Story_sandbox_56_empire.xml
Story_sandbox_60_empire.xml

Well, actually, you only need him in the ones that are in FoC, but I don't quite remember which ones those are. Though I know any one with "##u_" in it is, as well as "56".

Here is an example of how you'd put in new heroes in one of those:

Spoiler:

<?xml version="1.0" ?>



<!--****** This story file is used to automatically set some things that would normally happen ******-->
<!--****** in story mode for the full campaign. This file should be generic enough to use for ******-->
<!--****** any sandbox campaign set. ******-->

<!-- Sandbox Campaign: The Shipyards of Kuat -->

<Story>

<Event Name="Universal_Story_Start">
<Event_Type>STORY_ELAPSED</Event_Type>
<Event_Param1>0</Event_Param1>
<Story_Dialog>Dialog_E_Sandbox_Intro</Story_Dialog>
<Story_Chapter>2</Story_Chapter>
<Story_Tag>Intro_Tag</Story_Tag>
</Event>



<!-- Spawn Starting Heroes -->

<Event Name="Empire_AI_Unlock_Research_Facility">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>BUILDABLE_UNIT</Reward_Type>
<Reward_Param1>E_Ground_Research_Facility</Reward_Param1>
<Prereq>Universal_Story_Start</Prereq>
</Event>
<!-- Spawn Tech Level 1 Heroes -->

<Event Name="Empire_Enters_Tech_01">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>1</Event_Param1>
</Event>

<Event Name="Empire_AI_Heroes_01">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Grand_Moff_Tarkin_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_01</Prereq>
</Event>

<Event Name="Empire_AI_Heroes_02">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Emperor_Palpatine_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_01</Prereq>
</Event>

<Event Name="Spawn_Rom_Mohc">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>General_Rom_Mohc_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_01</Prereq>
</Event>


<Event Name="Enter_Vader_TIE">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Darth_Team_TIE_Prototype</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_01</Prereq>
</Event>

<Event Name="Enter_Bombard">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>UNIQUE_UNIT</Reward_Type>
<Reward_Param1>Bombard_Acclamator</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_01</Prereq>
</Event>

<!-- <Event Name="Enter_Anakin">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Anakin_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_01</Prereq>
</Event>-->

<Event Name="Enter_Mara">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Mara_Jade_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_01</Prereq>
</Event>

<!-- Spawn Time Era 2 Heroes -->

<Event Name="Empire_Enters_Tech_02">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>2</Event_Param1>
</Event>

<Event Name="Exit_Bombard">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>REMOVE_UNIT</Reward_Type>
<Reward_Param1>Bombard_Acclamator</Reward_Param1>
<Prereq>Empire_Enters_Tech_02</Prereq>
</Event>

<!-- <Event Name="Exit_Anakin">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>REMOVE_UNIT</Reward_Type>
<Reward_Param1>Anakin_Team</Reward_Param1>
<Prereq>Empire_Enters_Tech_02</Prereq>
</Event>-->

<Event Name="Enter_13-X">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>UNIQUE_UNIT</Reward_Type>
<Reward_Param1>13-X_Victory_Destroyer</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_02</Prereq>
</Event>

<Event Name="Spawn_Boba_Fett">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Boba_Fett_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_02</Prereq>
</Event>

<!-- Spawn Time Era 3 Heroes -->

<Event Name="Empire_Enters_Tech_03">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>3</Event_Param1>
</Event>

<Event Name="Exit_13-X">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>REMOVE_UNIT</Reward_Type>
<Reward_Param1>13-X_Victory_Destroyer</Reward_Param1>
<Prereq>Empire_Enters_Tech_03</Prereq>
</Event>

<Event Name="Enter_Chimaera">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>UNIQUE_UNIT</Reward_Type>
<Reward_Param1>Chimaera_Star_Destroyer</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_03</Prereq>
</Event>

<Event Name="Exit_Palpatine">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>REMOVE_UNIT</Reward_Type>
<Reward_Param1>Emperor_Palpatine_Team</Reward_Param1>
<Prereq>Empire_Enters_Tech_03</Prereq>
</Event>

<Event Name="Enter_Palpy">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Emperor_Palpy_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_03</Prereq>
</Event>

<Event Name="Spawn_Cronal">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Cronal_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_03</Prereq>
</Event>

<Event Name="Exit_Rom_Mohc">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>REMOVE_UNIT</Reward_Type>
<Reward_Param1>General_Rom_Mohc_Team</Reward_Param1>
<Prereq>Empire_Enters_Tech_03</Prereq>
</Event>

<Event Name="Spawn_Arc_Hammer">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>General_Rom_Mohc_Team_2</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_03</Prereq>
</Event>

<!-- Spawn Time Era 4 Heroes -->

<Event Name="Empire_Enters_Tech_04">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>4</Event_Param1>
</Event>

<Event Name="Exit_Tarkin">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>REMOVE_UNIT</Reward_Type>
<Reward_Param1>Grand_Moff_Tarkin_Team</Reward_Param1>
<Prereq>Empire_Enters_Tech_04</Prereq>
</Event>

<Event Name="Spawn_Thrawn">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>UNIQUE_UNIT</Reward_Type>
<Reward_Param1>Admonitor_Star_Destroyer</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_04</Prereq>
</Event>

<Event Name="Spawn_General_Veers">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>General_Veers_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_04</Prereq>
</Event>


<Event Name="Spawn_Vengeance_SSD">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>UNIQUE_UNIT</Reward_Type>
<Reward_Param1>Vengeance_SSD_Free</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_04</Prereq>
</Event>

<!-- Spawn Time Era 5 Heroes -->

<Event Name="Empire_Enters_Tech_05">
<Event_Type>STORY_TECH_LEVEL</Event_Type>
<Event_Param1>5</Event_Param1>
</Event>

<Event Name="Exit_Vader_TIE">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>REMOVE_UNIT</Reward_Type>
<Reward_Param1>Darth_Team_TIE_Prototype</Reward_Param1>
<Prereq>Empire_Enters_Tech_05</Prereq>
</Event>

<Event Name="Enter_Vader_SSD">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Darth_Team_Executor</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_05</Prereq>
</Event>

<Event Name="Spawn_Galak">
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>Galak_Fyyar_Team</Reward_Param1>
<Reward_Param2>Coruscant</Reward_Param2>
<Prereq>Empire_Enters_Tech_05</Prereq>
</Event>

</Story>
__________________


My laptop is down, possibly permanently, so I've potentially lost all my work.
I'm overly judgmental, so I think most of it was just crap anyway.
Reply With Quote
  #3  
Old May 13th, 2009
Darth_Windu's Avatar
RotC Creator
 
Join Date: September 3rd, 2007
Posts: 1,112
Rep Power: 7
Darth_Windu should make some friends
Default Re: Hero unit help

Also the icon doesn't go into the 'textures' folder. You need to use the MTD editor to insert new icons.
__________________
Inter Arma Enim Silent Leges

http://www.moddb.com/mods/return-of-the-clones1
Reply With Quote
  #4  
Old May 15th, 2009
Warrior of Time
 
Join Date: February 26th, 2009
Location: in a box
Posts: 85
Rep Power: 0
eons is a n00b
Default Re: Hero unit help

Watch when your adding new icons to your mod, I found you have to add them all at once otherwise the game won't read them all.
Reply With Quote
Reply

Bookmarks

Tags
mod help

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.