Notices

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

Remember Me?

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
Old June 28th, 2009   #1
GF makes me horny
 
NeverEndingJawa's Avatar
 
Join Date: July 15th, 2008
Status: Busy
85 posts, 1 likes.
Rep Power: 0
NeverEndingJawa is a n00b
icon_question How do you add ground, space, and hero units to single player story mode?(FOC)

Any one know how to add Heroes and basic units to Story Mode in Foc? I have tryed but it never get in.
NeverEndingJawa is offline   Reply With Quote
Old June 30th, 2009   #2
Star Trek Supremacy
 
Vjeko1701's Avatar
 
Join Date: May 20th, 2008
Location: Krapina, Croatia
Status: Making Star Trek Supremacy, attending college.
527 posts, 1 likes.
Rep Power: 17
Vjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybody
Send a message via Yahoo to Vjeko1701
Default Re: How do you add ground, space, and hero units to single player story mode?(FOC)

You add ordinary units the same way you add them in CG, if they appear in GC, they will appear in story mode, you will just have to start the story mode again to notice the changes. About heroes you must add the following :

<Event Name="EVENT_NAME"> \\\\eg. spawn_Grievous
<Event_Type>STORY_TRIGGER</Event_Type>
<Reward_Type>SPAWN_HERO</Reward_Type>
<Reward_Param1>HERO_TEAM_NAME</Reward_Param1>\\\\ eg. grievous_team
<Reward_Param2>Hypori</Reward_Param2>
<Prereq>Universal_Story_Start</Prereq>
</Event>

in STORY_SANDBOX_27_UNDERWORLD.xml
Vjeko1701 is offline   Reply With Quote
Old July 7th, 2009   #3
GF makes me horny
 
NeverEndingJawa's Avatar
 
Join Date: July 15th, 2008
Status: Busy
85 posts, 1 likes.
Rep Power: 0
NeverEndingJawa is a n00b
icon_question Re: How do you add ground, space, and hero units to single player story mode?(FOC)

Okay but how do you add units to Galactic Conquest then with that said?
Is there something wrong with the unit? It works in skirmish.

<Jawa_Gunner_Files>

<Indigenous_Unit Name="Jawa_Gunner">
<LOD_Bias>5</LOD_Bias>
<Text_ID>TEXT_INDIG_JAWA_GUNNER</Text_ID>
<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_INFANTRY </Encyclopedia_Unit_Class>
<Encyclopedia_Text>TEXT_TOOLTIP_JAWA_GUNNER</Encyclopedia_Text>
<Land_Model_Name> NI_JAWA.ALO </Land_Model_Name>
<Land_Terrain_Model_Mapping>
Temperate, NI_JAWA.ALO,
Urban, Uc_jawa.ALO,
Arctic, NI_JAWA.ALO,
Volcanic, Dc_jawa.ALO.ALO,
Desert, Dc_jawa.ALO,
Forest, Fc_jawa.ALO,
Swamp, Fc_jawa.ALO

</Land_Terrain_Model_Mapping>
<Icon_Name>I_BUTTON_JAWA_GUNNER.tga</Icon_Name>
<Behavior>SELECTABLE</Behavior>
<LandBehavior>SURFACE_FX,LAND_TEAM_INFANTRY_LOCOMO TOR,IDLE,WEAPON, STUNNABLE,REVEAL,HIDE_WHEN_FOGGED, AMBIENT_SFX, ABILITY_COUNTDOWN </LandBehavior>
<SurfaceFX_Name>Generic_Footprint, Infantry_Terrain_Modifier</SurfaceFX_Name>
<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
<Loop_Idle_Anim_00>No</Loop_Idle_Anim_00>
<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
<CanCellStack>yes</CanCellStack>
<Select_Box_Scale>0</Select_Box_Scale>
<Select_Box_Z_Adjust>3.0f</Select_Box_Z_Adjust>
<Mass>1.0</Mass>
<GUI_Bracket_Width>5</GUI_Bracket_Width>
<GUI_Bracket_Height>0</GUI_Bracket_Height>
<GUI_Bracket_Size>0</GUI_Bracket_Size>
<Movement_Animation_Speed> 0.8 </Movement_Animation_Speed>
<Rotation_Animation_Speed> 20.0 </Rotation_Animation_Speed>
<Mouse_Collide_Override_Sphere_Radius> 10.0 </Mouse_Collide_Override_Sphere_Radius>
<Is_Combustible>no</Is_Combustible>
<On_Fire_Speed_Modifier>1.2f</On_Fire_Speed_Modifier>
<Targeting_Allowed_When_Burning>no</Targeting_Allowed_When_Burning>
<Burning_Damage_Per_Second>0.1</Burning_Damage_Per_Second>

<Influences_Capture_Point>True</Influences_Capture_Point>

<Max_Speed>1</Max_Speed>
<Max_Rate_Of_Turn>10.0</Max_Rate_Of_Turn>
<Custom_Soft_Footprint_Radius> 3.5 </Custom_Soft_Footprint_Radius>
<Custom_Hard_XExtent> 2.0 </Custom_Hard_XExtent>
<Custom_Hard_YExtent> 2.0 </Custom_Hard_YExtent>
<Space_Layer> Land </Space_Layer>
<UnitCollisionClass> Infantry </UnitCollisionClass>
<FormationSpacing> 1.0 </FormationSpacing>
<MinimumPushReturnDistance> 10 </MinimumPushReturnDistance>
<Min_Speed> .1 </Min_Speed>
<OverrideAcceleration> .1 </OverrideAcceleration>
<OverrideDeceleration> .1 </OverrideDeceleration>
<FormationOrder> 2 </FormationOrder>
<FormationGrouping> Standard </FormationGrouping>

<Scale_Factor>1.5</Scale_Factor>
<Affiliation>Rebel</Affiliation>
<Required_Timeline>0</Required_Timeline>
<IsBuildable>No</IsBuildable>
<Size_Value>10</Size_Value>
<Armor_Type> Armor_Infantry </Armor_Type>
<Damage>3</Damage>
<Tactical_Health>35</Tactical_Health>
<Blob_Shadow_Below_Detail_Level>3</Blob_Shadow_Below_Detail_Level>
<Blob_Shadow_Scale>10.0, 10.0</Blob_Shadow_Scale>
<Blob_Shadow_Material_Name>Generic_Shadow</Blob_Shadow_Material_Name>
<Blob_Shadow_Bone_Name>B_Chest</Blob_Shadow_Bone_Name>

<Projectile_Types>Proj_Hand_Blaster_Jawa</Projectile_Types>
<Projectile_Fire_Recharge_Seconds>2.0</Projectile_Fire_Recharge_Seconds>
<Projectile_Fire_Pulse_Count>3</Projectile_Fire_Pulse_Count>
<Projectile_Fire_Pulse_Delay_Seconds>0.2</Projectile_Fire_Pulse_Delay_Seconds>

<Targeting_Fire_Inaccuracy> Infantry, 2.0 </Targeting_Fire_Inaccuracy>
<Targeting_Fire_Inaccuracy> Vehicle, 8.0 </Targeting_Fire_Inaccuracy>
<Targeting_Fire_Inaccuracy> Air, 70.0 </Targeting_Fire_Inaccuracy>
<Targeting_Fire_Inaccuracy> Structure, 8.0 </Targeting_Fire_Inaccuracy>

<Land_FOW_Reveal_Range>150.0</Land_FOW_Reveal_Range>
<Dense_FOW_Reveal_Range_Multiplier>1.0</Dense_FOW_Reveal_Range_Multiplier>
<Targeting_Max_Attack_Distance>150.0</Targeting_Max_Attack_Distance>
<Ranged_Target_Z_Adjust>7.0</Ranged_Target_Z_Adjust>

<SFXEvent_Select>Unit_Select_Jawa</SFXEvent_Select>
<SFXEvent_Move>Unit_Move_Jawa</SFXEvent_Move>
<SFXEvent_Attack>Unit_Attack_Jawa</SFXEvent_Attack>
<SFXEvent_Guard>Unit_Guard_Jawa</SFXEvent_Guard>
<SFXEvent_Assist_Move> Unit_Assist_Move_Jawa </SFXEvent_Assist_Move>
<SFXEvent_Assist_Attack> Unit_Attack_Jawa </SFXEvent_Assist_Attack>

<SFXEvent_Fire>Unit_Storm_Trooper_Fire</SFXEvent_Fire>
<Death_SFXEvent_Start_Die> Unit_Jawa_Death </Death_SFXEvent_Start_Die>

<SFXEvent_Ambient_Moving> Ambient_Jawa_Random_Chatter </SFXEvent_Ambient_Moving>
<SFXEvent_Ambient_Moving_Min_Delay_Seconds> 3 </SFXEvent_Ambient_Moving_Min_Delay_Seconds>
<SFXEvent_Ambient_Moving_Max_Delay_Seconds> 5 </SFXEvent_Ambient_Moving_Max_Delay_Seconds>

<Idle_Chase_Range>200.0</Idle_Chase_Range>
<Guard_Chase_Range>80.0</Guard_Chase_Range>
<Attack_Move_Response_Range>200.0</Attack_Move_Response_Range>
<Targeting_Priority_Set>AntiInfantry</Targeting_Priority_Set>
<AI_Combat_Power>5</AI_Combat_Power>

<MovementClass>Infantry</MovementClass>
<CategoryMask> Infantry </CategoryMask>
<Victory_Relevant>No</Victory_Relevant>
<Weather_Category>Infantry</Weather_Category>

<Death_Clone>Damage_Disruptor_Hand, Infantry_Short_Disruptor_Death_Clone_00</Death_Clone>
<Death_Clone>Damage_Disruptor_Hand, Infantry_Short_Disruptor_Death_Clone_01</Death_Clone>
<Death_Clone>Damage_Infection, Infantry_Short_Melt_Death_Clone_00</Death_Clone>

<OccupationStyle>1x1</OccupationStyle>
<Ground_Infantry_Turret_Target> Yes </Ground_Infantry_Turret_Target>
<Is_Squashable> Yes </Is_Squashable>

<Death_Fade_Time>0.25</Death_Fade_Time>
<Death_Persistence_Duration>0.0</Death_Persistence_Duration>
<Create_Team>True</Create_Team>

<Movie_Object>false</Movie_Object>

<!-- Non-Hero unit abilities description -->
<Unit_Abilities_Data SubObjectList="Yes">
<!-- Primary ability -->
<Unit_Ability>
<Type>SPRINT</Type>
<Expiration_Seconds> 8.0 </Expiration_Seconds>
<Recharge_Seconds> 35.0 </Recharge_Seconds>
<Mod_Multiplier>SPEED_MULTIPLIER, 1.5f</Mod_Multiplier>
<Mod_Multiplier>TAKE_DAMAGE_MULTIPLIER, 0.5f</Mod_Multiplier>
<SFXEvent_GUI_Unit_Ability_Activated>Unit_Assist_M ove_Jawa</SFXEvent_GUI_Unit_Ability_Activated> </Unit_Ability>
</Unit_Abilities_Data>

</Indigenous_Unit>



<GroundCompany Name="Jawa_Gunner_Squad">
<Text_ID>TEXT_INDIG_JAWA_GUNNER</Text_ID>
<Encyclopedia_Text> TEXT_TOOLTIP_JAWAGUNNER_COMPANY TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY </Encyclopedia_Text>
<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_INFANTRY </Encyclopedia_Unit_Class>
<Icon_Name>I_BUTTON_JAWA_GUNNER.tga</Icon_Name>
<Is_Dummy>Yes</Is_Dummy>
<Damage>65</Damage>
<Autoresolve_Health>60</Autoresolve_Health>
<Affiliation>Rebel</Affiliation>
<Required_Special_Structures>R_Ground_Barracks</Required_Special_Structures>
<Required_Ground_Base_Level>0</Required_Ground_Base_Level>
<Required_Planets>Tatoonie</Required_Planets>
<Build_Cost_Credits>0</Build_Cost_Credits>
<Build_Time_Seconds>0</Build_Time_Seconds>
<Behavior>DUMMY_GROUND_COMPANY</Behavior>
<Formation_Priority>1</Formation_Priority>
<Is_Escort>yes</Is_Escort>
<Ship_Class>infantry</Ship_Class>
<Company_Transport_Unit>Gallofree_Transport</Company_Transport_Unit>
<Company_Units>Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner, Jawa_Gunner</Company_Units>
<Victory_Relevant> No </Victory_Relevant>
<Score_Cost_Credits>15</Score_Cost_Credits>
<Formation_Priority>1</Formation_Priority>
<Max_Squad_Size> 5 </Max_Squad_Size>
<Create_Team_Type>Jawa_Gunner_Team</Create_Team_Type>

<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->
<Tactical_Build_Cost_Multiplayer>165</Tactical_Build_Cost_Multiplayer>
<Tactical_Build_Time_Seconds>3.4</Tactical_Build_Time_Seconds>
<Tactical_Build_Prerequisites />
<Tactical_Production_Queue>Tactical_Units</Tactical_Production_Queue>
<!--<Build_Limit_Current_Per_Player>0</Build_Limit_Current_Per_Player>-->
<!--<Build_Limit_Lifetime_Per_Player>0</Build_Limit_Lifetime_Per_Player>-->
<!--<MULTIPLAYER SKIRMISH VALUES END>-->

<!-- Non-Hero unit abilities description -->
<Unit_Abilities_Data SubObjectList="Yes">
<!-- Primary ability -->
<Unit_Ability>
<Type>SPRINT</Type>
<Expiration_Seconds> 12.0 </Expiration_Seconds>
<Recharge_Seconds> 35.0 </Recharge_Seconds>
<Mod_Multiplier>SPEED_MULTIPLIER, 2.0f</Mod_Multiplier>
<Mod_Multiplier>TAKE_DAMAGE_MULTIPLIER, 0.75f</Mod_Multiplier>
</Unit_Ability>
</Unit_Abilities_Data>


<Maintenance_Cost>0.05</Maintenance_Cost>
<Population_Value>1</Population_Value>
</GroundCompany>

<Container Name="Jawa_Gunner_Team">
<Text_ID>TEXT_INDIG_JAWA_GUNNER</Text_ID>
<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_INFANTRY </Encyclopedia_Unit_Class>
<Encyclopedia_Text>TEXT_TOOLTIP_JAWAGUNNER_COMPA NY TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY</Encyclopedia_Text>
<Icon_Name>I_BUTTON_JAWA_GUNNER.tga</Icon_Name>
<Show_Name>No</Show_Name>
<Behavior>TEAM,SELECTABLE,UNIT_AI</Behavior>
<LandBehavior>REVEAL, LAND_TEAM_CONTAINER_LOCOMOTOR, TEAM_TARGETING, GARRISON_UNIT</LandBehavior>
<Land_FOW_Reveal_Range>90.0</Land_FOW_Reveal_Range>
<MovementClass>Infantry</MovementClass>
<Select_Box_Scale>50</Select_Box_Scale>
<Max_Speed> 1 </Max_Speed>
<Max_Rate_Of_Turn>12.0</Max_Rate_Of_Turn>
<Space_Layer> Land </Space_Layer>
<UnitCollisionClass> Infantry </UnitCollisionClass>
<FormationSpacing> .4 </FormationSpacing>
<MovementClass> Infantry </MovementClass>
<OccupationStyle>1x1</OccupationStyle>
<Is_Squashable> true </Is_Squashable>
<MovementPredictionInterval> 4.0 </MovementPredictionInterval>
<ContainerArrangement> Dartboard </ContainerArrangement>
<Override_Acceleration> .1 </Override_Acceleration>
<Override_Deceleration> .1 </Override_Deceleration>

<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
<Radar_Icon_Scale_Land>80</Radar_Icon_Scale_Land>
<Radar_Icon_Scale_Space>200</Radar_Icon_Scale_Space>

<Idle_Chase_Range>50.0</Idle_Chase_Range>
<Guard_Chase_Range>80.0</Guard_Chase_Range>
<Attack_Move_Response_Range>150.0</Attack_Move_Response_Range>
<Targeting_Max_Attack_Distance>120.0</Targeting_Max_Attack_Distance>
<Autonomous_Move_Extension_Vs_Attacker>200.0</Autonomous_Move_Extension_Vs_Attacker>
<Garrison_Category> Infantry </Garrison_Category>
<CategoryMask>Infantry</CategoryMask>
<Tactical_Bribe_Cost>15</Tactical_Bribe_Cost>

<!-- Non-Hero unit abilities description -->
<Unit_Abilities_Data SubObjectList="Yes">
<!-- Primary ability -->
<Unit_Ability>
<Type>SPRINT</Type>
<Expiration_Seconds> 8.0 </Expiration_Seconds>
<Recharge_Seconds> 35.0 </Recharge_Seconds>
<Mod_Multiplier>SPEED_MULTIPLIER, 1.5f</Mod_Multiplier>
<Mod_Multiplier>TAKE_DAMAGE_MULTIPLIER, 0.5f</Mod_Multiplier>
</Unit_Ability>
</Unit_Abilities_Data>


</Container>

</Jawa_Gunner_Files>

Last edited by NeverEndingJawa; July 7th, 2009 at 02:47 PM. Reason: Put the projectile in, opps.
NeverEndingJawa is offline   Reply With Quote
Old July 7th, 2009   #4
I want to be like the Admins
 
Join Date: February 27th, 2009
Status: Available
205 posts, 0 likes.
Rep Power: 0
JC9542 is a n00b
Default Re: How do you add ground, space, and hero units to single player story mode?(FOC)

You're missing some fields. It definitely needs a <Tech_Level> It should have <GUI_ROW> too though there's probably a default value for that if you don't specify. These probably wouldn't hurt either

<Build_Tab_Land_Units>Yes</Build_Tab_Land_Units>
<Build_Initially_Locked>No</Build_Initially_Locked>
<Build_Can_Be_Unlocked_By_Slicer>No</Build_Can_Be_Unlocked_By_Slicer>
JC9542 is offline   Reply With Quote
Old July 7th, 2009   #5
aka Mobby!
 
Mobius13's Avatar
 
Join Date: February 17th, 2009
Location: Brazil
Status: Making a mod
773 posts, 0 likes.
Rep Power: 15
Mobius13 should make some friends
Default Re: How do you add ground, space, and hero units to single player story mode?(FOC)

Erase the "Is_Buildable" line or change it to yes

ETM ModDB Page
ETM Forums!!!


Estimated completion: 55%

ETM
Coder, Mapper, Skinner, Modeler, and Rigger
SotE Assistant Mapper
Mobius13 is offline   Reply With Quote
Old July 8th, 2009   #6
Banned
El Bano
 
Join Date: January 29th, 2009
Location: Spain
Status: Making a mod
298 posts, 0 likes.
Rep Power: 0
CCWAR is nobody special
Default Re: How do you add ground, space, and hero units to single player story mode?(FOC)

The best is take a look on the original files, they are the best example, if you can understand them, you will can make all by yourself.
CCWAR is offline   Reply With Quote
Old July 8th, 2009   #7
I want to be like the Admins
 
Join Date: February 27th, 2009
Status: Available
205 posts, 0 likes.
Rep Power: 0
JC9542 is a n00b
Default Re: How do you add ground, space, and hero units to single player story mode?(FOC)

Or copy an original unit that's similar and just change model and the necessary datafields. There's just way too many fields that you can potentially forget.
JC9542 is offline   Reply With Quote
Old July 11th, 2009   #8
GF makes me horny
 
NeverEndingJawa's Avatar
 
Join Date: July 15th, 2008
Status: Busy
85 posts, 1 likes.
Rep Power: 0
NeverEndingJawa is a n00b
exclaim Re: How do you add ground, space, and hero units to single player story mode?(FOC)

JC's and Mobius's tips worked! Now Jawas fight in the story. But now how do I get new heroes in game? I did what vjeko said to do and he's not in the story he's in GC, "Gateways" though, not story. POSTING XML DATA!!!

<HeroUnit Name="Jawa_Tawa">
<Is_Named_Hero>Yes</Is_Named_Hero>
<Is_Force_Sensitive>Yes</Is_Force_Sensitive>
<Text_ID>TEXT_HERO_JAWA_TAWA</Text_ID>
<Encyclopedia_Text> TEXT_TOOLTIP_JAWA_TAWA TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY </Encyclopedia_Text>
<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_KYRAT_JEDI </Encyclopedia_Unit_Class>

<Land_Model_Name>Ti_Tawa.ALO</Land_Model_Name>
<Icon_Name>I_BUTTON_JEDI_JAWA_TAWA.tga</Icon_Name>

<GalacticBehavior> SELECTABLE </GalacticBehavior>
<LandBehavior> SELECTABLE, SURFACE_FX, WALK_LOCOMOTOR, IDLE, REVEAL, HIDE_WHEN_FOGGED, TARGETING, WEAPON, DAMAGE_TRACKING, UNIT_AI, ABILITY_COUNTDOWN, IMPOSING_PRESENCE, HOLSTER_WEAPON, GARRISON_UNIT, SHIELDED </LandBehavior>
<Lua_Script>Palpatine</Lua_Script>
<Garrison_Category> Infantry </Garrison_Category>

<SurfaceFX_Name>Generic_Footprint, Infantry_Terrain_Modifier</SurfaceFX_Name>
<Is_Visible_On_Radar>Yes</Is_Visible_On_Radar>
<Loop_Idle_Anim_00>No</Loop_Idle_Anim_00>
<Collidable_By_Projectile_Living>Yes</Collidable_By_Projectile_Living>
<CanCellStack>yes</CanCellStack>
<Movement_Animation_Speed> 1.2 </Movement_Animation_Speed>
<Max_Speed>2</Max_Speed>
<Max_Rate_Of_Turn>20.0</Max_Rate_Of_Turn>
<Custom_Soft_Footprint_Radius> 6.5 </Custom_Soft_Footprint_Radius>
<Custom_Hard_XExtent> 2.0 </Custom_Hard_XExtent>
<Custom_Hard_YExtent> 2.0 </Custom_Hard_YExtent>
<Space_Layer> Land </Space_Layer>
<UnitCollisionClass> Infantry </UnitCollisionClass>
<FormationSpacing> .5 </FormationSpacing>
<MinimumPushReturnDistance> 10 </MinimumPushReturnDistance>
<Min_Speed> .1 </Min_Speed>
<OverrideAcceleration> .1 </OverrideAcceleration>
<OverrideDeceleration> .25 </OverrideDeceleration>
<Mouse_Collide_Override_Sphere_Radius> 10.0 </Mouse_Collide_Override_Sphere_Radius>
<Occlusion_Silhouette_Enabled>1</Occlusion_Silhouette_Enabled>
<Select_Box_Scale>27</Select_Box_Scale>
<Select_Box_Z_Adjust>3.0f</Select_Box_Z_Adjust>
<Selection_Blob_Material_Name>Selection_Underworld _Hero</Selection_Blob_Material_Name>
<Highlight_Blob_Material_Name>Highlight_Underworld _Hero</Highlight_Blob_Material_Name>

<Mass>1.0</Mass>
<Scale_Factor>1.45</Scale_Factor>
<!--<Is_Sprite>No</Is_Sprite>-->
<Type>Walk</Type>
<Affiliation>Underworld</Affiliation>
<!-- If you want heroes to contribute to political control, use Political_Control_Bonus_Ability -->
<Political_Faction>Underworld</Political_Faction>
<IsBuildable>No</IsBuildable>
<Spawn_Planet>Coruscant</Spawn_Planet>
<Size_Value>75</Size_Value>

<Armor_Type> Armor_Hero </Armor_Type>
<Damage>100</Damage>
<Autoresolve_Health>800</Autoresolve_Health>
<Tactical_Health>645</Tactical_Health>
<Shield_Points>200</Shield_Points>
<Shield_Refresh_Rate>20</Shield_Refresh_Rate>

<Projectile_Types>Proj_Portable_Comet_Cannon</Projectile_Types>
<Projectile_Fire_Recharge_Seconds>1.50</Projectile_Fire_Recharge_Seconds>
<Projectile_Fire_Pulse_Count>8</Projectile_Fire_Pulse_Count>
<Projectile_Fire_Pulse_Delay_Seconds>0.2</Projectile_Fire_Pulse_Delay_Seconds>

<Targeting_Fire_Inaccuracy> Infantry, 2.0 </Targeting_Fire_Inaccuracy>
<Targeting_Fire_Inaccuracy> Vehicle, 8.0 </Targeting_Fire_Inaccuracy>
<Targeting_Fire_Inaccuracy> Air, 70.0 </Targeting_Fire_Inaccuracy>
<Targeting_Fire_Inaccuracy> Structure, 8.0 </Targeting_Fire_Inaccuracy>

<Land_FOW_Reveal_Range>200.0</Land_FOW_Reveal_Range>
<Dense_FOW_Reveal_Range_Multiplier>1.0</Dense_FOW_Reveal_Range_Multiplier>
<Targeting_Max_Attack_Distance>200.0</Targeting_Max_Attack_Distance>
<Ranged_Target_Z_Adjust>7.0</Ranged_Target_Z_Adjust>

<SFXEvent_Select>Unit_Select_Militia</SFXEvent_Select>
<SFXEvent_Move>Unit_Move_Militia</SFXEvent_Move>
<SFXEvent_Fleet_Move>Unit_Move_Militia</SFXEvent_Fleet_Move>
<SFXEvent_Attack>Unit_Attack_Militia</SFXEvent_Attack>
<SFXEvent_Guard>Unit_Guard_Militia</SFXEvent_Guard>
<SFXEvent_Group_Move>Unit_Assist_Move_Militia</SFXEvent_Group_Move>
<SFXEvent_Group_Attack>Unit_Assist_Attack_Militi a</SFXEvent_Group_Attack>
<SFXEvent_Health_Low_Warning> Unit_Move_Jawa </SFXEvent_Health_Low_Warning>
<SFXEvent_Health_Critical_Warning> Unit_Attack_Jawa </SFXEvent_Health_Critical_Warning>
<Death_SFXEvent_Start_Die> Unit_Rebel_Soldier_3_Death </Death_SFXEvent_Start_Die>
<SFXEvent_Fire>Unit_Destroyer_Droid_Fire</SFXEvent_Fire>

<Stealth_Capable>No</Stealth_Capable>
<Victory_Relevant>yes</Victory_Relevant>
<CategoryMask> LandHero </CategoryMask>
<Ranking_In_Category> 1 </Ranking_In_Category>
<MovementClass>Infantry</MovementClass>
<OccupationStyle>1x1</OccupationStyle>
<Blob_Shadow_Below_Detail_Level>3</Blob_Shadow_Below_Detail_Level>
<Blob_Shadow_Scale>5.0, 5.0</Blob_Shadow_Scale>
<Blob_Shadow_Material_Name>Generic_Shadow</Blob_Shadow_Material_Name>
<Blob_Shadow_Bone_Name>B_Chest</Blob_Shadow_Bone_Name>
<Ground_Infantry_Turret_Target> Yes </Ground_Infantry_Turret_Target>
<Attach_To_Flagship_During_Space_Battle>Yes</Attach_To_Flagship_During_Space_Battle>
<Stay_In_Transport_During_Ground_Battle>No</Stay_In_Transport_During_Ground_Battle>

<Has_Land_Evaluator>True</Has_Land_Evaluator>
<AI_Combat_Power>600</AI_Combat_Power>

<Idle_Chase_Range>100.0</Idle_Chase_Range>
<Guard_Chase_Range>200.0</Guard_Chase_Range>
<Attack_Move_Response_Range>300.0</Attack_Move_Response_Range>
<Targeting_Stickiness_Time_Threshold>5.0</Targeting_Stickiness_Time_Threshold>
<Targeting_Priority_Set>AntiInfantry</Targeting_Priority_Set>
<Autonomous_Move_Extension_Vs_Attacker>200.0</Autonomous_Move_Extension_Vs_Attacker>

<Neutralization_Cost>1000.0</Neutralization_Cost>
<Can_Be_Neutralized_By_Major_Heroes>No</Can_Be_Neutralized_By_Major_Heroes>
<Can_Be_Neutralized_By_Minor_Heroes>No</Can_Be_Neutralized_By_Minor_Heroes>

<Score_Cost_Credits> 25000 </Score_Cost_Credits>
<Play_SFXEvent_On_Sighting>flase</Play_SFXEvent_On_Sighting>

<Death_Fade_Time>0.25</Death_Fade_Time>
<Death_Persistence_Duration>0.0</Death_Persistence_Duration>

<!-- Controls the range within which Palpatine has an effect on other units' animations -->
<Presence_Range>100.0</Presence_Range>

<Target_Stealth_Units>Yes</Target_Stealth_Units>

<!-- Non-Hero unit abilities description -->
<Unit_Abilities_Data SubObjectList="Yes">

<Unit_Ability>
<Type>FORCE_CONFUSE</Type>
<Recharge_Seconds>15.0</Recharge_Seconds>
<GUI_Activated_Ability_Name> Tawa_Confuse </GUI_Activated_Ability_Name> <!-- GUI Command Bar support -->
<Effective_Radius> 500.0 </Effective_Radius>
<SFXEvent_GUI_Unit_Ability_Activated> Unit_Assist_Attack_Militia </SFXEvent_GUI_Unit_Ability_Activated>
<Supports_Autofire>True</Supports_Autofire>
</Unit_Ability>

<!-- Secondary ability -->
<Unit_Ability>
<Type>DRAIN_LIFE</Type>
<Recharge_Seconds>20.0</Recharge_Seconds>
<GUI_Activated_Ability_Name> Tawa_Drain_Life </GUI_Activated_Ability_Name>
<Supports_Autofire>True</Supports_Autofire>
</Unit_Ability>

</Unit_Abilities_Data>

<Abilities SubObjectList="Yes">

<Force_Confuse_Ability Name="Tawa_Confuse">
<Activation_Style> User_Input </Activation_Style>
<!-- We need to be within this distance of the clicked target to consider activating Stun -->
<Activation_Min_Range>0.0</Activation_Min_Range>
<Activation_Max_Range>182.0</Activation_Max_Range>
<Confuse_Time_In_Secs>8.0</Confuse_Time_In_Secs>
<Confuse_Range>132.0</Confuse_Range>
<!-- How long does it take for the shockwave to spread from the hero to the max range? -->
<Confuse_Travel_Time_In_Secs>1.2</Confuse_Travel_Time_In_Secs>
<Confuse_Effect> Confuse_Particle_Effect </Confuse_Effect>
<!-- We only consider the following unit types "valid targets": -->
<Applicable_Unit_Categories>Infantry</Applicable_Unit_Categories>
<Applicable_Unit_Types>Rancor, Cuddles_The_Rancor, Night_Sister, MZ8_Pulse_Cannon_Tank, MZ8_Pulse_Cannon_Tank_Captured, MAL_Rocket_Vehicle, MAL_Captured, MPTL, MPTL_Captured, T2B_Tank, T2B_Tank_Captured, AT_ST_Walker, AT_ST_Walker_Captured, AT_AA_Walker, AT_AA_Walker_Captured, TIE_Crawler, TIE_Crawler_Captured, M1_Repulsor_Tank, M1_Repulsor_Tank_Captured</Applicable_Unit_Types>
<SFXEvent_Activate>Unit_Attack_Jawa</SFXEvent_Activate>
<Owner_Particle_Effect>Jedi_Mind_Trick_Effect</Owner_Particle_Effect>
<!--<Owner_Particle_Effect>Confuse_Ability_Particles </Owner_Particle_Effect>-->
<Owner_Particle_Bone_Name />
<Owner_Light_Effect_Type>Color_Flash</Owner_Light_Effect_Type>
<Owner_Light_Effect_Color>2.0, 2.0, 2.0</Owner_Light_Effect_Color>
<Owner_Light_Effect_Color2 />
<Owner_Light_Effect_Duration>0.5</Owner_Light_Effect_Duration>
<Owner_Light_Effect_Pulse_Count />
</Force_Confuse_Ability>

<!-- Force Lightning must come after Force Whirlwind, otherwise Force Whirlwind would never activate. -->
<Drain_Life_Ability Name="Tawa_Drain_Life">
<Activation_Style> User_Input </Activation_Style>
<Applicable_Unit_Categories>Infantry | Vehicle | LandHero</Applicable_Unit_Categories>
<Applicable_Unit_Types />

<Excluded_Unit_Types>
Droid_R2D2,
Droid_C3P0,
MPTL_Spotter,
IG-88,
Dark_Trooper_PhaseI,
Dark_Trooper_PhaseII,
Dark_Trooper_PhaseIII,
Demolition_Bomb,
Proximity_Mine
</Excluded_Unit_Types>

<Duration_In_Seconds>5</Duration_In_Seconds>
<Damage_Per_Second>30</Damage_Per_Second>
<Drain_Effect_Name>Drain_Life_Effect</Drain_Effect_Name>
<Drain_Source_Bone_Name>B_HAND_L</Drain_Source_Bone_Name>
<Drain_Target_Bone_Name>B_PELVIS</Drain_Target_Bone_Name>
<Drain_Radius> 100.0 </Drain_Radius>
<SFXEvent_Activate>Unit_Attack_Rebel_Infiltrator </SFXEvent_Activate>
<SFXEvent_Target_Affected>Unit_Force_Lightning</SFXEvent_Target_Affected>
<Should_Heal>Yes</Should_Heal>
</Drain_Life_Ability>

<Force_Healing_Ability Name="Tawa_Self_Heal">
<Activation_Style>Ground_Automatic</Activation_Style>
<Heal_Range>5.0</Heal_Range>
<Heal_Amount> 0.0 </Heal_Amount>
<Heal_Percent> 0.03 </Heal_Percent>
<Heal_Interval_In_Secs>2.0</Heal_Interval_In_Secs>
<Single_Target_Heal>Yes</Single_Target_Heal>
<Heal_Range_Blob_Material>Reinforcement_Point_Radi us_Overlay</Heal_Range_Blob_Material>

<Applicable_Unit_Categories />
<Applicable_Unit_Types>Jawa_Tawa</Applicable_Unit_Types>
<Excluded_Unit_Types />

<SFXEvent_Target_Affected>Unit_Force_Healing_Pulse </SFXEvent_Target_Affected>
<Target_Particle_Effect />
<Target_Particle_Bone_Name>B_HEAD</Target_Particle_Bone_Name>
<Target_Light_Effect_Type>Color_Flash</Target_Light_Effect_Type>
<Target_Light_Effect_Color>1.2, 2.0, 1.2</Target_Light_Effect_Color>
<Target_Light_Effect_Color2 />
<Target_Light_Effect_Duration>0.6</Target_Light_Effect_Duration>
<Target_Light_Effect_Pulse_Count>1</Target_Light_Effect_Pulse_Count>
<Owner_Light_Effect_Type>Color_Flash</Owner_Light_Effect_Type>
<Owner_Light_Effect_Color>1.2, 2.0, 1.2</Owner_Light_Effect_Color>
<Owner_Light_Effect_Color2 />
<Owner_Light_Effect_Duration>0.6</Owner_Light_Effect_Duration>
<Owner_Light_Effect_Pulse_Count>1</Owner_Light_Effect_Pulse_Count>
</Force_Healing_Ability>

</Abilities>
</HeroUnit>

<HeroCompany Name="Jawa_Tawa_Team">
<Text_ID>TEXT_HERO_JAWA_TAWA</Text_ID>
<Icon_Name>I_BUTTON_JEDI_JAWA_TAWA.tga</Icon_Name>
<Is_Dummy>Yes</Is_Dummy>
<Damage>100</Damage>
<Affiliation>Underworld</Affiliation>
<Build_Time_Seconds>0</Build_Time_Seconds>
<Combat_Power_Value>0</Combat_Power_Value>
<Tech_Level>1</Tech_Level>
<Required_Timeline>0</Required_Timeline>
<Required_Ground_Base_Level>0</Required_Ground_Base_Level>
<Required_Star_Base_Level>0</Required_Star_Base_Level>
<Required_Special_Structures></Required_Special_Structures>
<Required_Planets></Required_Planets>
<Behavior>DUMMY_GROUND_COMPANY</Behavior>
<Company_Transport_Unit>The_Peacebringer</Company_Transport_Unit>
<Company_Units>Jawa_Tawa</Company_Units>
<Is_Named_Hero>Yes</Is_Named_Hero>
<Is_Force_Sensitive>Yes</Is_Force_Sensitive>
<Available_In_Skirmish>yes</Available_In_Skirmish>
<Can_Be_Only_One>true</Can_Be_Only_One>
<Score_Cost_Credits> 25000 </Score_Cost_Credits>
<SFXEvent_Build_Started>EHD_Request_Assistance</SFXEvent_Build_Started>
<SFXEvent_Build_Cancelled>EHD_Request_Canceled</SFXEvent_Build_Cancelled>
<SFXEvent_Build_Complete>Unit_Complete_Rebel_Infil trator</SFXEvent_Build_Complete>
<SFXEvent_Hero_Respawned>Unit_Select_Rebel_Infiltr ator</SFXEvent_Hero_Respawned>
<SFXEvent_Fleet_Move>Unit_Fleet_Move_Rebel_Infiltr ator</SFXEvent_Fleet_Move>

<Unit_Abilities_Data SubObjectList="Yes">
<!-- Primary ability -->
<Unit_Ability>
<Type>DRAIN_LIFE</Type>
<Recharge_Seconds>20.0</Recharge_Seconds>
<GUI_Activated_Ability_Name> Tawa_Drain_Life </GUI_Activated_Ability_Name> <!-- GUI Command Bar support -->
</Unit_Ability>

<Unit_Ability>
<Type>FORCE_CONFUSE</Type>
<Recharge_Seconds>15.0</Recharge_Seconds>
<GUI_Activated_Ability_Name> Tawa_Confuse </GUI_Activated_Ability_Name> <!-- GUI Command Bar support -->
<Effective_Radius> 500.0 </Effective_Radius>
<SFXEvent_GUI_Unit_Ability_Activated> Unit_Confuse_Silri </SFXEvent_GUI_Unit_Ability_Activated>
<Supports_Autofire>True</Supports_Autofire>
</Unit_Ability>
</Unit_Abilities_Data>

<!--<MULTIPLAYER SKIRMISH VALUES BEGIN>-->
<Tactical_Build_Cost_Multiplayer>1860</Tactical_Build_Cost_Multiplayer>
<Tactical_Build_Time_Seconds>8.5</Tactical_Build_Time_Seconds>
<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>-->

<Encyclopedia_Text>TEXT_TOOLTIP_JAWATAWA_COMPANY </Encyclopedia_Text>
<Encyclopedia_Unit_Class> TEXT_ENCYCLOPEDIA_CLASS_KYRAT_JEDI </Encyclopedia_Unit_Class>
<CategoryMask>LandHero</CategoryMask>
<Ranking_In_Category> 1 </Ranking_In_Category>
<Population_Value>1</Population_Value>
</HeroCompany>

Last edited by NeverEndingJawa; July 11th, 2009 at 11:52 AM. Reason: AGAIN I POST THE UNIT'S PROJECTILE DATA...
NeverEndingJawa is offline   Reply With Quote
Old July 11th, 2009   #9
Star Trek Supremacy
 
Vjeko1701's Avatar
 
Join Date: May 20th, 2008
Location: Krapina, Croatia
Status: Making Star Trek Supremacy, attending college.
527 posts, 1 likes.
Rep Power: 17
Vjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybodyVjeko1701 is known by everybody
Send a message via Yahoo to Vjeko1701
Default Re: How do you add ground, space, and hero units to single player story mode?(FOC)

Do the thing I said in
Story_Campaign_Underworld.XML
Vjeko1701 is offline   Reply With Quote
Old July 11th, 2009   #10
I want to be like the Admins
 
Join Date: February 27th, 2009
Status: Available
205 posts, 0 likes.
Rep Power: 0
JC9542 is a n00b
Default Re: How do you add ground, space, and hero units to single player story mode?(FOC)

the campaigns and each GC map has its own set of AI and event files so if you want a hero to appear you need to look for that setting's event file and add your event to it.
JC9542 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
can some make the underworld space units on ground donaldstout SW:EaW Modding, Mapping and Editing 2 February 19th, 2007 08:54 PM
How would I add a space transport to a hero (nebulon) turbotails23 SW:EaW Modding, Mapping and Editing 11 November 13th, 2006 10:20 AM
Playing single player maps and story mode in multiplayer Alberto Q4 Modding, Mapping and Editing 3 May 19th, 2006 08:34 PM
Possible to add hostile units to single player maps that no one controls? famine31 DoW Modding and Editing 2 August 20th, 2005 01:05 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind