-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advanced car damage: Body damage Instakills the engine (and sometimes turrets) #10222
Comments
Turn it off if it's such a problem - Advanced Car Damage is experimental after all. |
Imean, thats the point of making a issue/bug report is it not? |
Doing more and more testing. (on 3.18.0 this time) |
Welp, kind narrowed it down. |
If you manage to come up with a robust patch, I'd be interested in seeing it if you don't mind. |
Update: the real cause seems to be body hits counting as structure/hull hits on cars. But this case assume a structure/hull hit is an internal part, and not a flimsy car body. May have to make other tweaks to get my fix to play nice and behave as expected. Maybe when i got it ironed out and in use for a bit ill make a pull request if this isnt any closer to getting fixed properly. |
Mods
Following is what was laoded during testing before this post. This has occured for over a year not, on different muliplayer servers with different mods.
Description
With Advanced car damage enabled. Damage to the vehicle body can cause the egnine to suddenly take FULL damage. Sometimes also does the same to turret(s) on the vehicle. Some hits to the engine itself also seems to fully detsroy the engine. In vanilla It occurs with the APEX Dagors, and the KARTS gokart.
With mods its common with many light vehicles across many mods tested. First noticed with the RHS uparmored humvees not being so 'uparmored'.
Steps to reproduce:
Place a dagor or gokart, shoot the body, avoid the engine. (amount of rounds to trigger bug may vary)
Expected behavior:
I expect only the body to be damaged, and not the engine effectivly imploding due to cosmetic bodypanel damage from a handfull of rounds. Dont know why turrets are made of glass either.
Where did the issue occur?
(all of the above)
Log Files:
https://pastebin.com/3PR5B8vk
Additional context:
Helped (me) narrow down the issue by using the following code on the target vehicle. Id see the body take damage and it seemed 50/50, when the body took dmaage the engine also took damage. Apon checking it was always FULL damage to the engine. Hits to the engine sometimes also fed back 2 hits to the engine, assuming the second one was what instakilled it.
this addEventHandler ["Dammaged", {
_damagedPart = _this select 4;
systemChat _damagedPart;
}];
This seems small with only effecting these 2 vics, but once othe rmods are involved(cup, rhs, ffaa, anything that adds light vics as far as ive noticed its like half the cars added) Its pretty common and missionbreaking.
Screenshots:
https://youtu.be/cSOz39w_fWM
The text was updated successfully, but these errors were encountered: