Any one know how to add Heroes and basic units to Story Mode in Foc? I have tryed but it never get in.
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 :
\\\\eg. spawn_Grievous STORY_TRIGGER SPAWN_HERO HERO_TEAM_NAME\\\\[COLOR=black] eg. grievous_team[/COLOR] Hypori Universal_Story_Start
in STORY_SANDBOX_27_UNDERWORLD.xml
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.
5 TEXT_INDIG_JAWA_GUNNER TEXT_ENCYCLOPEDIA_CLASS_INFANTRY TEXT_TOOLTIP_JAWA_GUNNER NI_JAWA.ALO 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
I_BUTTON_JAWA_GUNNER.tga SELECTABLE SURFACE_FX,LAND_TEAM_INFANTRY_LOCOMOTOR,IDLE,WEAPON, STUNNABLE,REVEAL,HIDE_WHEN_FOGGED, AMBIENT_SFX, ABILITY_COUNTDOWN Generic_Footprint, Infantry_Terrain_Modifier Yes No Yes yes 0 3.0f 1.0 5 0 0 0.8 20.0 10.0 no 1.2f no 0.1
True
1 10.0 3.5 2.0 2.0 Land Infantry 1.0 10 .1 .1 .1 2 Standard
1.5 Rebel 0 No 10 Armor_Infantry 3 35 3 10.0, 10.0 Generic_Shadow B_Chest Proj_Hand_Blaster_Jawa 2.0 3 0.2
Infantry, 2.0 Vehicle, 8.0 Air, 70.0 Structure, 8.0 150.0 1.0 150.0 7.0 Unit_Select_Jawa Unit_Move_Jawa Unit_Attack_Jawa Unit_Guard_Jawa Unit_Assist_Move_Jawa Unit_Attack_Jawa
Unit_Storm_Trooper_Fire Unit_Jawa_Death
Ambient_Jawa_Random_Chatter 3 5
200.0 80.0 200.0 AntiInfantry 5
Infantry Infantry No Infantry
Damage_Disruptor_Hand, Infantry_Short_Disruptor_Death_Clone_00 Damage_Disruptor_Hand, Infantry_Short_Disruptor_Death_Clone_01 Damage_Infection, Infantry_Short_Melt_Death_Clone_00
1x1 Yes Yes 0.25 0.0 True false SPRINT 8.0 35.0 SPEED_MULTIPLIER, 1.5f TAKE_DAMAGE_MULTIPLIER, 0.5f Unit_Assist_Move_Jawa
TEXT_INDIG_JAWA_GUNNER TEXT_TOOLTIP_JAWAGUNNER_COMPANY TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_INFANTRY I_BUTTON_JAWA_GUNNER.tga Yes 65 60 Rebel R_Ground_Barracks 0 Tatoonie 0 0 DUMMY_GROUND_COMPANY 1 yes infantry Gallofree_Transport 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 No 15 1 5 Jawa_Gunner_Team
165 3.4 Tactical_Units SPRINT 12.0 35.0 SPEED_MULTIPLIER, 2.0f TAKE_DAMAGE_MULTIPLIER, 0.75f
0.05 1
TEXT_INDIG_JAWA_GUNNER TEXT_ENCYCLOPEDIA_CLASS_INFANTRY TEXT_TOOLTIP_JAWAGUNNER_COMPANY TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY I_BUTTON_JAWA_GUNNER.tga No TEAM,SELECTABLE,UNIT_AI REVEAL, LAND_TEAM_CONTAINER_LOCOMOTOR, TEAM_TARGETING, GARRISON_UNIT 90.0 Infantry 50 1 12.0 Land Infantry .4 Infantry 1x1 true 4.0 Dartboard .1 .1 Yes 80 200
50.0 80.0 150.0 120.0 200.0 Infantry Infantry 15
SPRINT 8.0 35.0 SPEED_MULTIPLIER, 1.5f TAKE_DAMAGE_MULTIPLIER, 0.5f
You're missing some fields. It definitely needs a It should have too though there's probably a default value for that if you don't specify. These probably wouldn't hurt either
Yes No No
Erase the "Is_Buildable" line or change it to yes
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.
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.
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!!!
Yes Yes TEXT_HERO_JAWA_TAWA TEXT_TOOLTIP_JAWA_TAWA TEXT_TOOLTIP_UNIT_CAPTURE_ABILITY TEXT_ENCYCLOPEDIA_CLASS_KYRAT_JEDI Ti_Tawa.ALO I_BUTTON_JEDI_JAWA_TAWA.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, SHIELDED Palpatine Infantry Generic_Footprint, Infantry_Terrain_Modifier Yes No Yes yes 1.2 2 20.0 6.5 2.0 2.0 Land Infantry .5 10 .1 .1 .25 10.0 1 27 3.0f Selection_Underworld_Hero Highlight_Underworld_Hero 1.0 1.45 Walk Underworld Underworld No Coruscant 75
Armor_Hero 100 800 645 200 20 Proj_Portable_Comet_Cannon 1.50 8 0.2
Infantry, 2.0 Vehicle, 8.0 Air, 70.0 Structure, 8.0 200.0 1.0 200.0 7.0 Unit_Select_Militia Unit_Move_Militia Unit_Move_Militia Unit_Attack_Militia Unit_Guard_Militia Unit_Assist_Move_Militia Unit_Assist_Attack_Militia Unit_Move_Jawa Unit_Attack_Jawa Unit_Rebel_Soldier_3_Death Unit_Destroyer_Droid_Fire
No yes LandHero 1 Infantry 1x1 3 5.0, 5.0 Generic_Shadow B_Chest Yes Yes No True 600
100.0 200.0 300.0 5.0 AntiInfantry 200.0
1000.0 No No
25000 flase
0.25 0.0
100.0 Yes
FORCE_CONFUSE 15.0 Tawa_Confuse 500.0 Unit_Assist_Attack_Militia True DRAIN_LIFE 20.0 Tawa_Drain_Life True
User_Input 0.0 182.0 8.0 132.0 1.2 Confuse_Particle_Effect Infantry 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 Unit_Attack_Jawa Jedi_Mind_Trick_Effect Color_Flash 2.0, 2.0, 2.0 0.5
User_Input Infantry | Vehicle | LandHero Droid_R2D2, Droid_C3P0, MPTL_Spotter, IG-88, Dark_Trooper_PhaseI, Dark_Trooper_PhaseII, Dark_Trooper_PhaseIII, Demolition_Bomb, Proximity_Mine 5 30 Drain_Life_Effect B_HAND_L B_PELVIS 100.0 Unit_Attack_Rebel_Infiltrator Unit_Force_Lightning Yes
Ground_Automatic 5.0 0.0 0.03 2.0 Yes Reinforcement_Point_Radius_Overlay
Jawa_Tawa Unit_Force_Healing_Pulse B_HEAD Color_Flash 1.2, 2.0, 1.2 0.6 1 Color_Flash 1.2, 2.0, 1.2 0.6 1
TEXT_HERO_JAWA_TAWA I_BUTTON_JEDI_JAWA_TAWA.tga Yes 100 Underworld 0 0 1 0 0 0 DUMMY_GROUND_COMPANY The_Peacebringer Jawa_Tawa Yes Yes yes true 25000 EHD_Request_Assistance EHD_Request_Canceled Unit_Complete_Rebel_Infiltrator Unit_Select_Rebel_Infiltrator Unit_Fleet_Move_Rebel_Infiltrator
DRAIN_LIFE 20.0 Tawa_Drain_Life
FORCE_CONFUSE 15.0 Tawa_Confuse 500.0 Unit_Confuse_Silri True
1860 8.5 Tactical_Units 1 -1 TEXT_TOOLTIP_JAWATAWA_COMPANY TEXT_ENCYCLOPEDIA_CLASS_KYRAT_JEDI LandHero 1 1
Do the thing I said in Story_Campaign_Underworld.XML
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.