Damage Linked Turrets??!! -1 reply

Please wait...

Starkiller2356

SW Force Unleashed 2!!

50 XP

16th April 2010

0 Uploads

281 Posts

0 Threads

#1 8 years ago

First of all yeah I know I have posted just about every question there is in the book, but I am a beginner and have to learn somehow I guess. Well lately I have been fixing bugs in the mod for FOC called Rise of the Mandalorians. Great mod :). I also noticed a very large bug in the gameplay that is related to the Dreadnought Heavy Cruiser. I have found that whenever the enemy targets the Turret hardpoints (either of the 4) or the Turbolaser hardpoints (either of the 2) all the rest of the hardpoints lose health at the same rate as the turbolaser or the turret hardpoint including the engines. I don't know what is causing this but can someone please help me?? Thank you




D3matt

I take what n0e says way too seriously

50 XP

20th November 2007

0 Uploads

2,552 Posts

0 Threads

#2 8 years ago

I'm seen this before, but I can't quite put my finger on what causes it. I think it's something to do with the destructible/targetable settings for the hardpoints and the "destroy when hardpoints destroyed" setting on the unit.




Starkiller2356

SW Force Unleashed 2!!

50 XP

16th April 2010

0 Uploads

281 Posts

0 Threads

#3 8 years ago

I started looking for what you said might of caused that and couldn't find anything related other than the lines

YesYes

Do you want me to post the hardpoints files coding to see? Thanks




D3matt

I take what n0e says way too seriously

50 XP

20th November 2007

0 Uploads

2,552 Posts

0 Threads

#4 8 years ago

Sure, why not. Did it work before you started bugfixing?




Starkiller2356

SW Force Unleashed 2!!

50 XP

16th April 2010

0 Uploads

281 Posts

0 Threads

#5 8 years ago

No it didn't because I remember downloading the mod 3 times when I first found out that bug trying to find if it was just a corrupted file or what not and it had that bug on each one. Here's the coding in the Hardpoints file for ROTM for the dreadnought (Not too long right;)) Thanks again for your help

HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURRET700.0Medium_Explosion_Space_EmpireUnit_Hardpoint_Turbo_Laser_Deathdreadnaught-class_heavy_cruiser_hdtl_00.aloAttach_0040.0MuzzleA_00MuzzleA_01No90.090.0TrueTrueYes0.0, 0.0, 0.00.0, 0.0, 0.05.0180.090.0Turret_00Barrel_00Proj_Ship_Turbolaser_Green_Dual1.52.550.42000.0Unit_Turbo_FireFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURRET700.0Medium_Explosion_Space_EmpireUnit_Hardpoint_Turbo_Laser_Deathdreadnaught-class_heavy_cruiser_hdtl_01.aloAttach_0140.0MuzzleA_02MuzzleA_03No90.090.0TrueTrueYes0.0, 0.0, 0.00.0, 0.0, 0.05.0180.090.0Turret_01Barrel_01Proj_Ship_Turbolaser_Green_Dual1.52.550.42000.0Unit_Turbo_FireFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURRET700.0Medium_Explosion_Space_EmpireUnit_Hardpoint_Turbo_Laser_Deathdreadnaught-class_heavy_cruiser_hdtl_02.aloAttach_0240.0MuzzleA_04MuzzleA_05No90.090.0TrueTrueYes0.0, 0.0, 0.00.0, 0.0, 0.05.0180.090.0Turret_02Barrel_02Proj_Ship_Turbolaser_Green_Dual1.52.550.42000.0Unit_Turbo_FireFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURRET700.0Medium_Explosion_Space_EmpireUnit_Hardpoint_Turbo_Laser_Deathdreadnaught-class_heavy_cruiser_hdtl_03.aloAttach_0340.0MuzzleA_06MuzzleA_07No90.090.0TrueTrueYes0.0, 0.0, 0.00.0, 0.0, 0.05.0180.045.0Turret_03Barrel_03Proj_Ship_Turbolaser_Green_Dual1.52.550.42000.0Unit_Turbo_FireFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURBOLASER800.0Large_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_DeathDamage_Assault_Frigate40MuzzleC_05MuzzleC_05MuzzleC_05MuzzleC_05170.090.0Proj_Ship_Turbolaser_Green3.04.040.21600.0Unit_Turbo_FireHP_F-L_BLASTHP_F-L_EMITDAMAGEFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURBOLASER800.0Large_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_DeathDamage_Assault_Frigate40MuzzleC_04MuzzleC_04MuzzleC_04MuzzleC_04170.090.0Proj_Ship_Turbolaser_Green3.04.040.21600.0Unit_Turbo_FireHP_F-L_BLASTHP_F-L_EMITDAMAGEFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURBOLASER800.0Large_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_DeathDamage_Assault_Frigate40MuzzleC_02MuzzleC_02MuzzleC_02MuzzleC_02170.090.0Proj_Ship_Turbolaser_Green3.04.040.21600.0Unit_Turbo_FireHP_F-L_BLASTHP_F-L_EMITDAMAGEFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_TURBOLASER800.0Large_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_DeathDamage_Assault_Frigate40MuzzleC_03MuzzleC_03MuzzleC_03MuzzleC_03170.090.0Proj_Ship_Turbolaser_Green3.04.040.21600.0Unit_Turbo_FireHP_F-L_BLASTHP_F-L_EMITDAMAGEFighter,70.0Bomber, 70.0Transport, 70.0Corvette, 1.0Frigate, 15.0Capital, 30.0Super, 1.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_LASERCANNON500.0Medium_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_Death20MuzzleB_00MuzzleB_00MuzzleB_00MuzzleB_00170.090.0Proj_Ship_Large_Laser_Cannon_Green3.04.040.21600.0Unit_Pirate_Ship_Laser_FireHP_F-L_BLASTHP_F-L_EMITDAMAGEFighter,2.0Bomber, 2.0Transport, 2.0Corvette, 15.0Frigate, 30.0Capital, 75.0Super, 90.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_LASERCANNON500.0Medium_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_Death20MuzzleB_01MuzzleB_01MuzzleB_01MuzzleB_01170.090.0Proj_Ship_Large_Laser_Cannon_Green3.04.040.21600.0Unit_Pirate_Ship_Laser_FireHP_F-L_BLASTHP_F-L_EMITDAMAGEFighter,2.0Bomber, 2.0Transport, 2.0Corvette, 15.0Frigate, 30.0Capital, 75.0Super, 90.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_LASERCANNON700.0Medium_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_Death20MuzzleB_02MuzzleB_02MuzzleB_02MuzzleB_02170.090.0Proj_Ship_Large_Laser_Cannon_Green3.04.040.21600.0Unit_Pirate_Ship_Laser_FireHP_F-L_BLASTHP_F-L_EMITDAMAGEFighter,2.0Bomber, 2.0Transport, 2.0Corvette, 15.0Frigate, 30.0Capital, 75.0Super, 90.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_LASERCANNON700.0Medium_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_Death20MuzzleB_03MuzzleB_03MuzzleB_03MuzzleB_03170.090.0Proj_Ship_Large_Laser_Cannon_Green3.04.040.21600.0Unit_Pirate_Ship_Laser_FireHP_E_EMITDAMAGEFighter,2.0Bomber, 2.0Transport, 2.0Corvette, 15.0Frigate, 30.0Capital, 75.0Super, 90.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_LASERCANNON700.0Medium_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_Death20MuzzleB_04MuzzleB_04MuzzleB_04MuzzleB_04170.090.0Proj_Ship_Large_Laser_Cannon_Green3.04.040.21600.0Unit_Pirate_Ship_Laser_FireHP_E_EMITDAMAGEFighter,2.0Bomber, 2.0Transport, 2.0Corvette, 15.0Frigate, 30.0Capital, 75.0Super, 90.0HARD_POINT_WEAPON_LASERYesYesTEXT_WEAPON_LASERCANNON700.0Medium_Explosion_SpaceUnit_Hardpoint_Turbo_Laser_Death20MuzzleB_05MuzzleB_05MuzzleB_05MuzzleB_05170.090.0Proj_Ship_Large_Laser_Cannon_Green3.04.040.21600.0Unit_Pirate_Ship_Laser_FireHP_E_EMITDAMAGEFighter,2.0Bomber, 2.0Transport, 2.0Corvette, 15.0Frigate, 30.0Capital, 75.0Super, 90.0HARD_POINT_ENGINEYesYesTEXT_ENGINE_HARDPOINT400.0Large_Explosion_Space_EmpireUnit_Hardpoint_Engines_DeathenginesenginesHP_E_EMITDAMAGE




D3matt

I take what n0e says way too seriously

50 XP

20th November 2007

0 Uploads

2,552 Posts

0 Threads

#6 8 years ago

Check if the collision meshes being used actually exist, if they don't exist I'd image that could cause problems. Otherwise, a cursory glance seems nothing unusually. Post the unit XML.




Starkiller2356

SW Force Unleashed 2!!

50 XP

16th April 2010

0 Uploads

281 Posts

0 Threads

#7 8 years ago

I checked all the collision meshes and they all exist on the model. Here's the unit xml. Thanks

<?xml version="1.0"?>

TEXT_UNIT_DREADNOUGHT Tartan_Patrol_Cruiser Crusader_Gunship TIE_Bomber Star_Destroyer Vengeance_Frigate 0 dreadnaught-class_heavy_cruiser.ALO350-300.99951.0460.22.10.3 Space Capital -90.00.210 .03 .03 1.5Yes1.50.1 Armor_Victory_Class Shield_Frigate80290040002500303000500Empire2004Capital4yesno015121270050456025YesYesYes10008DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDEDRebel_X-Wing_Squadron, 13Rebel_X-Wing_Squadron, 1SPAWN_SQUADRON, ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA YesLarge_Damage_Space1200.01800.0Large_Explosion_Space_Empire1000Damage_Normal, Dreadnought_Death_Clone HP_Dreadnaught-class_Heavy_Cruiser_Heavy_Turbolaser_Cannon_01_G, HP_Dreadnaught-class_Heavy_Cruiser_Heavy_Turbolaser_Cannon_02_G, HP_Dreadnaught-class_Heavy_Cruiser_Heavy_Turbolaser_Cannon_03_G, HP_Dreadnaught-class_Heavy_Cruiser_Heavy_Turbolaser_Cannon_04_G, HP_Dreadnaught-class_Heavy_Cruiser_Heavy_Turbolaser_Cannon_05_G, HP_Dreadnaught-class_Heavy_Cruiser_Heavy_Turbolaser_Cannon_06_G, HP_Dreadnaught-class_Heavy_Cruiser_Quad_Laser_Cannon_01_G, HP_Dreadnaught-class_Heavy_Cruiser_Quad_Laser_Cannon_02_G, HP_Dreadnaught_Engines Capital | AntiFrigate I_BUTTON_DREADNOUGHT.TGArep_dreadnought.ALO11000 0 045yesTrue 0, 0, 0, 255 RHD_Build_VehicleRHD_Unit_CanceledUnit_Select_EDREADUnit_Nebulon_Moving_Engine_LoopUnit_Select_EDREADUnit_Move_EDREADUnit_Move_EDREADUnit_Attack_EDREADUnit_Guard_EDREADUnit_Stop_Assault_FrigateUnit_Barrage_Assault_Frigate Unit_Asteroids_Assault_Frigate Unit_Nebula_Assault_Frigate SFX_Asteroid_Detonation RHD_Bombard_Select_Target RHD_Bombard_Incoming Unit_Low_EDREAD Unit_Health_Critical_EDREAD HARD_POINT_WEAPON_LASER, Unit_HP_LASER_Assault_Frigate HARD_POINT_WEAPON_MISSILE, Unit_HP_MISSILE_Assault_Frigate HARD_POINT_WEAPON_TORPEDO, Unit_HP_TORP_Assault_Frigate HARD_POINT_WEAPON_ION_CANNON, Unit_HP_ION_Assault_Frigate HARD_POINT_SHIELD_GENERATOR, Unit_HP_SHIELDS_Assault_Frigate HARD_POINT_ENGINE, Unit_HP_ENGINES_Assault_Frigate HARD_POINT_GRAVITY_WELL, Unit_HP_GRAV_Assault_Frigate HARD_POINT_WEAPON_LASER, Unit_Lost_Laser_Assault_Frigate HARD_POINT_WEAPON_MISSILE, HARD_POINT_WEAPON_TORPEDO, HARD_POINT_WEAPON_ION_CANNON, HARD_POINT_SHIELD_GENERATOR, Unit_Lost_Shields_Assault_Frigate HARD_POINT_ENGINE, Unit_Lost_Engines_Assault_Frigate HARD_POINT_GRAVITY_WELL, HARD_POINT_FIGHTER_BAY, Unit_Lost_Bay_Acclamator HARD_POINT_TRACTOR_BEAM, HARD_POINT_ENABLE_SPECIAL_ABILITY, Unit_Nebulon_Idle_Engine_Loop Unit_Nebulon_Moving_Engine_Loop Unit_Nebulon_Cinematic_Engine_Loop Unit_Cruiser_Death_SFX Yes Yes1.01.0i_radar_capital_ship.tga1000.00.0400.05.0Frigate5 TEXT_TOOLTIP_DREADNOUGHT TEXT_ENCYCLOPEDIA_CLASS_FRIGATE 2250540030Tactical_Units-1-1TEXT_UNIT_DREADNOUGHTrep_dreadnought_d.ALOrep_dreadnought_d.ALOUnit_Star_Destroyer_Death_SFXLarge_Explosion_Space_Empire1.1s-90.01.20.10.0310.10Rebelfrigatetrue




D3matt

I take what n0e says way too seriously

50 XP

20th November 2007

0 Uploads

2,552 Posts

0 Threads

#8 8 years ago

Hmmm... When it's taking damage, are the hardpoints easy to kill as if it was only 1 hardpoint being shot, or does it take as much damage as all the hardpoints combined, do you think?




Starkiller2356

SW Force Unleashed 2!!

50 XP

16th April 2010

0 Uploads

281 Posts

0 Threads

#9 8 years ago

The hardpoints are easy to kill as if it was only 1 hardpoint being shot. I can't figure out what is causing this and have spent many hours studying the code for errors or things related to that bug. Thanks




D3matt

I take what n0e says way too seriously

50 XP

20th November 2007

0 Uploads

2,552 Posts

0 Threads

#10 8 years ago

I've got no idea then. The only thing I can think of is to try completely recoding it from scratch and see if it's a problem with the model itself.