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 13 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 13 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 13 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 13 years ago

TEXT_UNIT_CIS_LUCREHULK_BATTLESHIP Corellian_Corvette Nebulon_B_Frigate Calamari_Cruiser Y-wing B-wing 1 cis_lucrehulk.ALO 3 500 2 900 -50 1.36 0.999 0.24 Yes true Armor_Star_Destroyer Shield_Capital 1.4 0.3 Space Capital -330.0 0.1 5 .02 .02 0.1 Yes 1 0.3 Empire 99 0 0 5 MonCalimari, Kuat, Fondor, Sullust 70 8000 4000 4000120 8000 800 capital yesEmpire 40 8000 8000 120 Yes 8 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 Yes cis_lucrehulk_d_Die_00.ala Large_Damage_Space cis_lucrehulk_d.ALO 1200.0 2000.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_Destroyer Unit_Move_Star_Destroyer Unit_Fleet_Move_Star_Destroyer Unit_Attack_Star_Destroyer Unit_Guard_Star_Destroyer Unit_Move_Opposite_Star_Destroyer Unit_Barrage_Star_Destroyer Unit_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.ala EHD_Build_Vehicle EHD_Unit_Canceled Unit_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.TGA cis_lucrehulk.ALO 2300 0 0 0 45 yes Yes True 1000.0 0.0 400.0 5.0 Capital Yes i_radar_capital_ship_empire.tga 1.0 1.0 TEXT_TOOLTIP_STAR_DESTROYER TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS TEXT_ENCYCLOPEDIA_CLASS_CAPITAL 80006000 60 Tactical_Units X-Wing_Squadron, 3 X-Wing_Squadron, 3 Y-Wing_Squadron, 1 Y-Wing_Squadron, 3 5 TEXT_UNIT_MC80B Victory_Destroyer Acclamator_Assault_Ship Tartan_Patrol_Cruiser Star_Destroyer TIE_Bomber 1 RV_MONCALCRUISER2.ALO 750 -50 0.995 1.0 60 0.24 true Yes 5 2 0.5 Space Capital -310.0 .04 .04 Armor_Calamari_Cruiser Shield_Capital 0.2 25 0.2 Yes 1 0.3 Damage_Normal, Calamari_Cruiser2_Death_Clone Rebel No No 99 0 0 5 MonCalimari, Kuat, Fondor, Sullust 4800 2400 2400 200 8000 800 capital 5 Rebel 40 5000 6000 70 Yes 360 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 Yes Large_Explosion_Space Large_Damage_Space 255, 255, 255, 255 1200.0 2000.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.tga RV_moncalcruiser2.ALO 1650 0 0 0 45 yes True RHD_Build_Vehicle RHD_Unit_Canceled Unit_Complete_Calamari Unit_Calamari_Moving_Engine_Loop Unit_Select_Calamari Unit_Move_Calamari Unit_Fleet_Move_Calamari Unit_Attack_Calamari Unit_Guard_Calamari Unit_Stop_Calamari Unit_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_SFX yes Yes Yes 1.0 1.0 i_radar_capital_ship.tga 1000.0 0.0 400.0 5.0 Capital DEFEND WEAPON_DELAY_MULTIPLIER, 1.0f SHIELD_REGEN_MULTIPLIER, 1.0f SHIELD_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_INTERVAL_MULTIPLIER, 0.10fENERGY_REGEN_MULTIPLIER, 3.0f SPEED_MULTIPLIER, 0.8f 40 15 Unit_Defend_Calamari TEXT_TOOLTIP_MC80B TEXT_TOOLTIP_REQUIRED_PLANETS_CAPITAL_SHIPS TEXT_ENCYCLOPEDIA_CLASS_CAPITAL 5000 5000 40 Tactical_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 13 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.