Damage Linked Turrets??!! -1 reply

Please wait...

Starkiller2356

SW Force Unleashed 2!!

50 XP

16th April 2010

0 Uploads

281 Posts

0 Threads

#1 9 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

27,515 XP

20th November 2007

0 Uploads

2,554 Posts

1 Threads

#2 9 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 9 years ago

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

Yes Yes

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




D3matt

I take what n0e says way too seriously

27,515 XP

20th November 2007

0 Uploads

2,554 Posts

1 Threads

#4 9 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 9 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_LASER Yes Yes TEXT_WEAPON_TURRET 700.0 Medium_Explosion_Space_Empire Unit_Hardpoint_Turbo_Laser_Death dreadnaught-class_heavy_cruiser_hdtl_00.alo Attach_00 40.0 MuzzleA_00 MuzzleA_01 No 90.0 90.0 True True Yes 0.0, 0.0, 0.0 0.0, 0.0, 0.0 5.0 180.0 90.0 Turret_00 Barrel_00 Proj_Ship_Turbolaser_Green_Dual 1.5 2.5 5 0.4 2000.0 Unit_Turbo_Fire Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_TURRET 700.0 Medium_Explosion_Space_Empire Unit_Hardpoint_Turbo_Laser_Death dreadnaught-class_heavy_cruiser_hdtl_01.alo Attach_01 40.0 MuzzleA_02 MuzzleA_03 No 90.0 90.0 True True Yes 0.0, 0.0, 0.0 0.0, 0.0, 0.0 5.0 180.0 90.0 Turret_01 Barrel_01 Proj_Ship_Turbolaser_Green_Dual 1.5 2.5 5 0.4 2000.0 Unit_Turbo_Fire Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_TURRET 700.0 Medium_Explosion_Space_Empire Unit_Hardpoint_Turbo_Laser_Death dreadnaught-class_heavy_cruiser_hdtl_02.alo Attach_02 40.0 MuzzleA_04 MuzzleA_05 No 90.0 90.0 True True Yes 0.0, 0.0, 0.0 0.0, 0.0, 0.0 5.0 180.0 90.0 Turret_02 Barrel_02 Proj_Ship_Turbolaser_Green_Dual 1.5 2.5 5 0.4 2000.0 Unit_Turbo_Fire Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_TURRET 700.0 Medium_Explosion_Space_Empire Unit_Hardpoint_Turbo_Laser_Death dreadnaught-class_heavy_cruiser_hdtl_03.alo Attach_03 40.0 MuzzleA_06 MuzzleA_07 No 90.0 90.0 True True Yes 0.0, 0.0, 0.0 0.0, 0.0, 0.0 5.0 180.0 45.0 Turret_03 Barrel_03 Proj_Ship_Turbolaser_Green_Dual 1.5 2.5 5 0.4 2000.0 Unit_Turbo_Fire Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_TURBOLASER 800.0 Large_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death Damage_Assault_Frigate 40 MuzzleC_05 MuzzleC_05 MuzzleC_05 MuzzleC_05 170.0 90.0 Proj_Ship_Turbolaser_Green 3.0 4.0 4 0.2 1600.0 Unit_Turbo_Fire HP_F-L_BLAST HP_F-L_EMITDAMAGE Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_TURBOLASER 800.0 Large_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death Damage_Assault_Frigate 40 MuzzleC_04 MuzzleC_04 MuzzleC_04 MuzzleC_04 170.0 90.0 Proj_Ship_Turbolaser_Green 3.0 4.0 4 0.2 1600.0 Unit_Turbo_Fire HP_F-L_BLAST HP_F-L_EMITDAMAGE Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_TURBOLASER 800.0 Large_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death Damage_Assault_Frigate 40 MuzzleC_02 MuzzleC_02 MuzzleC_02 MuzzleC_02 170.0 90.0 Proj_Ship_Turbolaser_Green 3.0 4.0 4 0.2 1600.0 Unit_Turbo_Fire HP_F-L_BLAST HP_F-L_EMITDAMAGE Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_TURBOLASER 800.0 Large_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death Damage_Assault_Frigate 40 MuzzleC_03 MuzzleC_03 MuzzleC_03 MuzzleC_03 170.0 90.0 Proj_Ship_Turbolaser_Green 3.0 4.0 4 0.2 1600.0 Unit_Turbo_Fire HP_F-L_BLAST HP_F-L_EMITDAMAGE Fighter,70.0 Bomber, 70.0 Transport, 70.0 Corvette, 1.0 Frigate, 15.0 Capital, 30.0 Super, 1.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_LASERCANNON 500.0 Medium_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death 20 MuzzleB_00 MuzzleB_00 MuzzleB_00 MuzzleB_00 170.0 90.0 Proj_Ship_Large_Laser_Cannon_Green 3.0 4.0 4 0.2 1600.0 Unit_Pirate_Ship_Laser_Fire HP_F-L_BLAST HP_F-L_EMITDAMAGE Fighter,2.0 Bomber, 2.0 Transport, 2.0 Corvette, 15.0 Frigate, 30.0 Capital, 75.0 Super, 90.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_LASERCANNON 500.0 Medium_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death 20 MuzzleB_01 MuzzleB_01 MuzzleB_01 MuzzleB_01 170.0 90.0 Proj_Ship_Large_Laser_Cannon_Green 3.0 4.0 4 0.2 1600.0 Unit_Pirate_Ship_Laser_Fire HP_F-L_BLAST HP_F-L_EMITDAMAGE Fighter,2.0 Bomber, 2.0 Transport, 2.0 Corvette, 15.0 Frigate, 30.0 Capital, 75.0 Super, 90.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_LASERCANNON 700.0 Medium_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death 20 MuzzleB_02 MuzzleB_02 MuzzleB_02 MuzzleB_02 170.0 90.0 Proj_Ship_Large_Laser_Cannon_Green 3.0 4.0 4 0.2 1600.0 Unit_Pirate_Ship_Laser_Fire HP_F-L_BLAST HP_F-L_EMITDAMAGE Fighter,2.0 Bomber, 2.0 Transport, 2.0 Corvette, 15.0 Frigate, 30.0 Capital, 75.0 Super, 90.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_LASERCANNON 700.0 Medium_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death 20 MuzzleB_03 MuzzleB_03 MuzzleB_03 MuzzleB_03 170.0 90.0 Proj_Ship_Large_Laser_Cannon_Green 3.0 4.0 4 0.2 1600.0 Unit_Pirate_Ship_Laser_Fire HP_E_EMITDAMAGE Fighter,2.0 Bomber, 2.0 Transport, 2.0 Corvette, 15.0 Frigate, 30.0 Capital, 75.0 Super, 90.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_LASERCANNON 700.0 Medium_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death 20 MuzzleB_04 MuzzleB_04 MuzzleB_04 MuzzleB_04 170.0 90.0 Proj_Ship_Large_Laser_Cannon_Green 3.0 4.0 4 0.2 1600.0 Unit_Pirate_Ship_Laser_Fire HP_E_EMITDAMAGE Fighter,2.0 Bomber, 2.0 Transport, 2.0 Corvette, 15.0 Frigate, 30.0 Capital, 75.0 Super, 90.0 HARD_POINT_WEAPON_LASER Yes Yes TEXT_WEAPON_LASERCANNON 700.0 Medium_Explosion_Space Unit_Hardpoint_Turbo_Laser_Death 20 MuzzleB_05 MuzzleB_05 MuzzleB_05 MuzzleB_05 170.0 90.0 Proj_Ship_Large_Laser_Cannon_Green 3.0 4.0 4 0.2 1600.0 Unit_Pirate_Ship_Laser_Fire HP_E_EMITDAMAGE Fighter,2.0 Bomber, 2.0 Transport, 2.0 Corvette, 15.0 Frigate, 30.0 Capital, 75.0 Super, 90.0 HARD_POINT_ENGINE Yes Yes TEXT_ENGINE_HARDPOINT 400.0 Large_Explosion_Space_Empire Unit_Hardpoint_Engines_Death engines engines HP_E_EMITDAMAGE




D3matt

I take what n0e says way too seriously

27,515 XP

20th November 2007

0 Uploads

2,554 Posts

1 Threads

#6 9 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 9 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.ALO 350 -30 0.9995 1.0 4 6 0.2 2.1 0.3 Space Capital -90.0 0.2 10 .03 .03 1.5 Yes 1.5 0.1

Armor_Victory_Class Shield_Frigate 80 2900 4000 2500 30 3000 500

Empire 2 0 0 4 Capital 4 yes no 0 15 12 1 2700 50 4560 25 Yes Yes Yes 1000 8 DUMMY_STARSHIP, SELECTABLE, POWERED, SHIELDED

Rebel_X-Wing_Squadron, 1 3 Rebel_X-Wing_Squadron, 1 SPAWN_SQUADRON, ABILITY_COUNTDOWN, SIMPLE_SPACE_LOCOMOTOR, TARGETING, REVEAL, HIDE_WHEN_FOGGED, UNIT_AI, ASTEROID_FIELD_DAMAGE, DAMAGE_TRACKING, ION_STUN_EFFECT, NEBULA

Yes

Large_Damage_Space 1200.0 1800.0 Large_Explosion_Space_Empire

1000

Damage_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.TGA rep_dreadnought.ALO 1100 0 0 0 45 yes True

0, 0, 0, 255

RHD_Build_Vehicle RHD_Unit_Canceled Unit_Select_EDREAD Unit_Nebulon_Moving_Engine_Loop Unit_Select_EDREAD Unit_Move_EDREAD Unit_Move_EDREAD Unit_Attack_EDREAD Unit_Guard_EDREAD Unit_Stop_Assault_Frigate Unit_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 Yes 1.0 1.0 i_radar_capital_ship.tga

1000.0 0.0 400.0 5.0 Frigate

5

TEXT_TOOLTIP_DREADNOUGHT TEXT_ENCYCLOPEDIA_CLASS_FRIGATE 2250

5400 30 Tactical_Units -1 -1

TEXT_UNIT_DREADNOUGHT rep_dreadnought_d.ALO rep_dreadnought_d.ALO Unit_Star_Destroyer_Death_SFX Large_Explosion_Space_Empire 1.1s -90.0 1.2 0.1 0.03 1 0.1 0 Rebel frigate true




D3matt

I take what n0e says way too seriously

27,515 XP

20th November 2007

0 Uploads

2,554 Posts

1 Threads

#8 9 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 9 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

27,515 XP

20th November 2007

0 Uploads

2,554 Posts

1 Threads

#10 9 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.