Coding Help -1 reply

Please wait...

Clone_Commando

Killing is all I'm good at.

50 XP

20th July 2006

0 Uploads

315 Posts

0 Threads

#1 12 years ago

I have been trying to add the CIS Lucrehulk how do I install this, it seems a lot more complicated then doing ground units, and advice for a newbie?:)




Kelathin

JoJ mod leader

50 XP

2nd July 2006

0 Uploads

1,267 Posts

0 Threads

#2 12 years ago

space units are FAR easier too code, well that's imo




_thedon

I'm too cool to Post

50 XP

8th September 2006

0 Uploads

10 Posts

0 Threads

#3 12 years ago

The easiest way to do to it is go into Spaceunitscapitol.xml (in Data/XML) and copy the calamari cruiser entry and paste it too the bottom of the file but before

Then Just edit all the details if u have downloaded the models and animations then they should be in Models folder. So you need to add the right file names in the right places including the hardpoint breakoff animations if you have some. Give it the correct attributes that you want. If you are unsure about the effects of some attributes just leave them be and you can edit them when you gain a bit more understanding. You will need a .TGA file which is just a tiny picture used on the build list. This has to be added with a .MTD editor to MT_COMMANDBAR.MTD and MT_COMMANDBAR.TGA (in Data/Art/Textures).

Next is the starbases.xml as the unit has to be added into the build list at the tech level you wish. Just find the empire(or rebel) starbase level 1 build list and then scroll down to where you want to add it in.

You may also need to add strings to the MasterTextFile_English (in Data/Text). Like descriptions and names and such like. Using a .DAT editor.

This is just a basic gloss over what you need to do. Someone may be able to give you a more detailed version.

Hope this helps a bit. Good Luck.




Clone_Commando

Killing is all I'm good at.

50 XP

20th July 2006

0 Uploads

315 Posts

0 Threads

#4 12 years ago

TEXT_UNIT_CIS_LUCREHULK_BATTLESHIP Corellian_Corvette Nebulon_B_Frigate Calamari_Cruiser Y-wing B-wing 1 cis_lucrehulk.ALO35002900-501.360.9990.24Yestrue Armor_Star_Destroyer Shield_Capital1.40.3 Space Capital -330.00.15 .02 .02 0.1Yes10.3Empire99005MonCalimari, Kuat, Fondor, Sullust708000400040001208000800capitalyesEmpire4080008000120Yes8 SELECTABLE, DUMMY_STARSHIP ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, HIDE_WHEN_FOGGED, REVEAL, TARGETING, UNIT_AI, ASTEROID_FIELD_DAMAGE, SPAWN_SQUADRON, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA Yescis_lucrehulk_d_Die_00.alaLarge_Damage_Spacecis_lucrehulk_d.ALO1200.02000.0 cis_lucrehulk_HP_F-L.ALO, cis_lucrehulk_HP_F-R.ALO, cis_lucrehulk_HP_B-L.ALO, cis_lucrehulk_HP_B-R.ALO, cis_lucrehulk_HP_E.ALO, cis_lucrehulk_HP_HNGR.ALO, cis_lucrehulk_HP_SHD.ALO Unit_Select_Star_DestroyerUnit_Move_Star_DestroyerUnit_Fleet_Move_Star_DestroyerUnit_Attack_Star_DestroyerUnit_Guard_Star_DestroyerUnit_Move_Opposite_Star_DestroyerUnit_Barrage_Star_DestroyerUnit_Stop_Star_Destroyer Unit_Asteroids_Star_Destroyer Unit_Nebula_Star_Destroyer SFX_Asteroid_Detonation HARD_POINT_WEAPON_LASER, cis_lucrehulk_HP_E.ALO HARD_POINT_WEAPON_MISSILE, cis_lucrehulk_HP_F-L.ALO HARD_POINT_WEAPON_TORPEDO, cis_lucrehulk_HP_F-R.ALO HARD_POINT_WEAPON_ION_CANNON, cis_lucrehulk_HP_B-L.ALO HARD_POINT_SHIELD_GENERATOR, cis_lucrehulk_HP_SHD.ALO HARD_POINT_ENGINE, cis_lucrehulk_HP_HNGR.ALO Unit_Star_Destroyer_Idle_Engine_Loop HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Star_Destroyer HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Star_Destroyer HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Star_Destroyer HARD_POINT_ENGINE, Unit_Lost_Engines_Star_Destroyer HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Star_Destroyer HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, cis_lucrehulk_d_Die_00.alaEHD_Build_VehicleEHD_Unit_CanceledUnit_Complete_Star_Destroyer Unit_Star_Destroyer_Idle_Engine_Loop Unit_Star_Destroyer_Moving_Engine_Loop Unit_Star_Destroyer_Cinematic_Engine_Loop Capital | AntiFrigate I_BUTTON_LUCREHULK.TGAcis_lucrehulk.ALO23000 0 045yes Yes True1000.00.0400.05.0CapitalYesi_radar_capital_ship_empire.tga1.01.0 TEXT_TOOLTIP_STAR_DESTROYER TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS TEXT_ENCYCLOPEDIA_CLASS_CAPITAL 8000600060Tactical_UnitsX-Wing_Squadron, 3X-Wing_Squadron, 3Y-Wing_Squadron, 1Y-Wing_Squadron, 35TEXT_UNIT_MC80B Victory_Destroyer Acclamator_Assault_Ship Tartan_Patrol_Cruiser Star_Destroyer TIE_Bomber 1 RV_MONCALCRUISER2.ALO750-500.9951.0600.24trueYes520.5 Space Capital -310.0 .04 .04 Armor_Calamari_Cruiser Shield_Capital0.2250.2Yes10.3Damage_Normal, Calamari_Cruiser2_Death_CloneRebelNoNo99005MonCalimari, Kuat, Fondor, Sullust4800240024002008000800capital5Rebel405000600070Yes360 SELECTABLE, DUMMY_STARSHIP SPAWN_SQUADRON, ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, POWERED, SHIELDED, TARGETING, HIDE_WHEN_FOGGED, REVEAL, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA YesLarge_Explosion_SpaceLarge_Damage_Space 255, 255, 255, 255 1200.02000.0 Capital | AntiFrigate HP_Calamari_Cruiser2_Weapon_FL, HP_Calamari_Cruiser2_Weapon_FR, HP_Calamari_Cruiser2_Weapon_BL, HP_Calamari_Cruiser2_Weapon_BR, HP_Calamari_Cruiser2_Hanger_L, HP_Calamari_Cruiser2_Hanger_R, HP_Calamari_Cruiser2_Engines i_button_MC80B.tgaRV_moncalcruiser2.ALO16500 0 045yesTrueRHD_Build_VehicleRHD_Unit_CanceledUnit_Complete_CalamariUnit_Calamari_Moving_Engine_LoopUnit_Select_CalamariUnit_Move_CalamariUnit_Fleet_Move_CalamariUnit_Attack_CalamariUnit_Guard_CalamariUnit_Stop_CalamariUnit_Barrage_Calamari Unit_Asteroids_Calamari Unit_Nebula_Calamari SFX_Asteroid_Detonation HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Calamari HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Calamari HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Calamari HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Calamari HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Calamari HARD_POINT_ENGINE, Unit_HP_ENGINES_Calamari HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Calamari HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, Unit_Lost_Ion_Calamari HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Calamari HARD_POINT_ENGINE, Unit_Lost_Engines_Calamari HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Rebel_Space_Station HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Calamari_Idle_Engine_Loop Unit_Calamari_Moving_Engine_Loop Unit_Calamari_Cinematic_Engine_Loop Unit_Calamari_Death_SFXyes Yes Yes1.01.0i_radar_capital_ship.tga1000.00.0400.05.0CapitalDEFENDWEAPON_DELAY_MULTIPLIER, 1.0fSHIELD_REGEN_MULTIPLIER, 1.0fSHIELD_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_MULTIPLIER, 3.0fSPEED_MULTIPLIER, 0.8f4015Unit_Defend_Calamari TEXT_TOOLTIP_MC80B TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS TEXT_ENCYCLOPEDIA_CLASS_CAPITAL 5000 500040Tactical_Units4 This is what I did, what do I have to do now, my ship looks like this: http://img66.imageshack.us/my.php?image=problmsfm2.jpg




Guest

I didn't make it!

0 XP

 
#5 12 years ago

Because you haven't coded hardpoints dude. You must open a model in .Alo Viewer and code hardpoints by seeing bones names. For example if bone name is: "Bone_Shot" then in hardpoint code you must put Attachment_Bone to Bone_Shot, Colision_Mesh same, etc. Just look at other hardpoints code.