How can I make heros have different ships in space? -1 reply

Please wait...

Soveriegn

My EMPIRE!!

50 XP

14th October 2007

0 Uploads

307 Posts

0 Threads

#1 13 years ago

Can somebody help me with a problem I have? Can somebody tell me how to have a hero like boba fett have a different ship that slave one?:help:




shadow0

The One brings the worst!

50 XP

3rd January 2007

0 Uploads

1,244 Posts

0 Threads

#2 13 years ago

yea i was wondering the same thing =(




Guest

I didn't make it!

0 XP

 
#3 13 years ago

Open herocompanies.xml and look for boba_fett_team. there you change Slave_I to whatever you want




revan986

I post to get attention

50 XP

14th October 2007

0 Uploads

69 Posts

0 Threads

#4 13 years ago

You also need to make sure that the new unit you want him to use has TRANSPORT in it's or the game will crash.




shadow0

The One brings the worst!

50 XP

3rd January 2007

0 Uploads

1,244 Posts

0 Threads

#5 13 years ago

and how can i give that new unit Transport in its behavior?




revan986

I post to get attention

50 XP

14th October 2007

0 Uploads

69 Posts

0 Threads

#6 13 years ago

Just find in it's code, and add ", TRANSPORT". So if it was SELECTABLE, DUMMY_STARSHIP it should be SELECTABLE, DUMMY_STARSHIP, TRANSPORT




Soveriegn

My EMPIRE!!

50 XP

14th October 2007

0 Uploads

307 Posts

0 Threads

#7 13 years ago

Thats what i did but Boba Fett wouldn't appear when I played in Galactic Conquest. What did I do wrong?




revan986

I post to get attention

50 XP

14th October 2007

0 Uploads

69 Posts

0 Threads

#8 13 years ago

Also, I'm not sure if this is your problem, but make sure to add Shuttle_Tyderium_Landing to the code also. Not sure if that's your problem though.




Soveriegn

My EMPIRE!!

50 XP

14th October 2007

0 Uploads

307 Posts

0 Threads

#9 13 years ago

Thats not the problem its just if you change boba fett to a different ship than slave 1 he doesent appear in GC and when you try to make him spawn in Skirmish he makes the game crash. Can somebody show me how to make boba fett have a acclamator instead of Slave 1?




revan986

I post to get attention

50 XP

14th October 2007

0 Uploads

69 Posts

0 Threads

#10 13 years ago

While I have no idea why you'd want to trade the Slave I for an Acclamator, try replacing his Herocompanies.xml entry with this:

TEXT_HERO_BOBA_FETT_TEAM i_button_boba_fett.tga Yes 80 Empire 0 0 1 4 0 0 DUMMY_GROUND_COMPANY Acclamator_Assault_Ship_Fett Boba_Fett Yes Yes yes true

EHD_Request_Assistance EHD_Request_Canceled Unit_Respawn_Boba_Fett Unit_Respawn_Boba_Fett Unit_Fleet_Move_Boba_Fett

FLAME_THROWER 28.0 Boba_Fett_Flame_Thrower JET_PACK 45.0

-1.0 10000 TEXT_TOOLTIP_BOBA_FETT TEXT_ENCYCLOPEDIA_CLASS_BOUNTY_HUNTER LandHero | SpaceHero 3 1

And add this to spaceunitsfrigates.xml:

TEXT_UNIT_ACCLAMATOR Corellian_Corvette Marauder_Missile_Cruiser Crusader_Gunship Calamari_Cruiser Skipray_Blastboat Y-wing 1 EV_ACCLAMATOR.ALO 350 -30 0.9995 0.85

6 0.2 2.2 0.5 Space Frigate -110.0 0.2 20 .04 .04 1.5 Yes 1.5 0.1

Armor_Acclamator Shield_Frigate 30 2400 600 2000 62 3000 400

Empire 0 0 0 2 frigate 3 yes no 0 10 8 1 2500 50 2500 30 Yes 8 DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED, TRANSPORT ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, SPAWN_SQUADRON, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA

Yes Large_Explosion_Space_Empire

Damage_Normal, Acclamator_Death_Clone 1200.0

Large_Damage_Space 1400.0 TIE_Fighter_Squadron, 1 TIE_Bomber_Squadron, 1 5 TIE_Fighter_Squadron, 2 HP_Acclamator_Weapon_FL, HP_Acclamator_Weapon_FR, HP_Acclamator_Weapon_FC, HP_Acclamator_Weapon_BL, HP_Acclamator_Weapon_BR, HP_Acclamator_Weapon_BC, HP_Acclamator_Engines, HP_Acclamator_Fighter_Bay

Frigate | AntiCorvette i_button_acclimator_cruiser.tga EV_Acclamator.ALO 1100 0 0 0 45 yes True

EHD_Build_Vehicle EHD_Unit_Canceled Unit_Complete_Acclamator Unit_Acclamator_Moving_Engine_Loop Unit_Select_Acclamator Unit_Move_Acclamator Unit_Fleet_Move_Acclamator Unit_Attack_Acclamator Unit_Guard_Acclamator Unit_Stop_Acclamator Unit_Barrage_Acclamator Unit_Asteroids_Acclamator Unit_Nebula_Acclamator SFX_Asteroid_Detonation EHD_Bombard_Select_Target EHD_Bombard_Incoming

HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Acclamator HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Acclamator HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Acclamator HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Acclamator HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Acclamator HARD_POINT_ENGINE, Unit_HP_ENGINES_Acclamator HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Acclamator

HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Acclamator HARD_POINT_WEAPON_MISSILE, Unit_Lost_Missile_Acclamator HARD_POINT_WEAPON_TORPEDO, Unit_Lost_Torpedo_Acclamator HARD_POINT_WEAPON_ION_CANNON, HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Acclamator HARD_POINT_ENGINE, Unit_Lost_Engines_Acclamator HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Acclamator HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY,

Unit_Acclamator_Idle_Engine_Loop Unit_Acclamator_Moving_Engine_Loop Unit_Acclamator_Cinematic_Engine_Loop

Unit_Cruiser_Death_SFX

Yes Yes 1.0 1.0

1000.0 0.0 400.0 5.0 Frigate Shuttle_Tyderium_Landing

1500 power_to_weapons 20 WEAPON_DELAY_MULTIPLIER, 0.5f SHIELD_REGEN_MULTIPLIER, -3f ENERGY_REGEN_MULTIPLIER, 1.0f SPEED_MULTIPLIER, 0.5f 60 Unit_Barrage_Acclamator TEXT_TOOLTIP_ACCLAMATOR TEXT_ENCYCLOPEDIA_CLASS_FRIGATE 1800

2350 18 Tactical_Units 3

That should be right, assuming you're on FoC. In normal EaW I think there may be some differences.