DyzCarSystem icon indicating copy to clipboard operation
DyzCarSystem copied to clipboard

Vehicle Damage Progress

Open rukusgaming opened this issue 4 years ago • 14 comments

The vehicle damage pink bar does not go down to 0 when the car is dead

rukusgaming avatar Mar 04 '21 10:03 rukusgaming

Hi, @rukusgaming! Thank for open this issues.

I will try to check and test it.

l3lackMegas avatar Mar 04 '21 18:03 l3lackMegas

Okay, I think the problem should be solved.

l3lackMegas avatar Mar 04 '21 18:03 l3lackMegas

Ok thank you

On Thu, Mar 4, 2021, 12:22 PM l3lackMegas [email protected] wrote:

Okay, I think the problem should be solved.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Dyztiny-Project/DyzCarSystem/issues/2#issuecomment-790827121, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVWLV35VODKS62T2KOED4DTB7FVPANCNFSM4YS7H5LQ .

rukusgaming avatar Mar 04 '21 19:03 rukusgaming

Please explain "car dead" means vehicle health or engine health?

l3lackMegas avatar Mar 07 '21 11:03 l3lackMegas

When the car is dead and vehicle health =0 the pink bar is still up at 90%+

rukusgaming avatar Mar 07 '21 12:03 rukusgaming

well engine health

rukusgaming avatar Mar 07 '21 12:03 rukusgaming

@rukusgaming are you try new release version?

FlukRocker avatar Mar 07 '21 15:03 FlukRocker

Yep downloaded and installed before I opened the new log.

On Sun, Mar 7, 2021 at 9:22 AM FlukRocker [email protected] wrote:

@rukusgaming https://github.com/rukusgaming are you try new release version?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Dyztiny-Project/DyzCarSystem/issues/2#issuecomment-792295869, or unsubscribe https://github.com/notifications/unsubscribe-auth/APVWLV72GLRBFHDG6QHDUR3TCOK3VANCNFSM4YS7H5LQ .

rukusgaming avatar Mar 07 '21 15:03 rukusgaming

I had the same issue with the damage. I managed to fix by commenting out line 26: -- SetVehicleEngineHealth(currVeh, (EntityHealth + 0.00) * 1.5);

and changing line to 48

carHealth = (GetVehicleEngineHealth(currVeh)/ GetEntityMaxHealth(currVeh)) * 100,

probably a better way of fixing it but this works for me. Great Script!

cyborgassassin avatar Mar 12 '21 15:03 cyborgassassin

I tried commenting out line 26 as suggested by @cyborgassassin, Thank!

I have a some question. Have you use the RealisticVehicleFailure in your server? Because our scripts are not compatible with RealisticVehicleFailure.

Anyway, Please report me if It's work or not. Thank!

l3lackMegas avatar Mar 12 '21 16:03 l3lackMegas

I used RealisticVehicleFailure and with my changes it works prefect.

https://i.imgur.com/782DbaK.png

cyborgassassin avatar Mar 12 '21 16:03 cyborgassassin

Great! So, I'll be working on the compatibility with RealisticVehicleFailure and release new version when it's ready.

Thank you for contributing to this repo.

l3lackMegas avatar Mar 12 '21 17:03 l3lackMegas

Great! So, I'll be working on the compatibility with RealisticVehicleFailure and release new version when it's ready.

Thank you for contributing to this repo.

Any update on this?

JohnnyS avatar Sep 03 '21 00:09 JohnnyS

@l3lackMegas Does this tie into my issue in #10

JohnnyS avatar Sep 03 '21 00:09 JohnnyS