-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix GLA Terrorist passenger crash #208
Conversation
This is WIP. |
What is missing? |
Need to finish the other generals. |
Also currently the added deaths are handled by two SlowDeath modules. See ModuleTag_Death01. This will make the game chose one at random. |
Crash is still reproducible. |
c4753a9
to
cfd6c90
Compare
Potentially obsolete by change However, does this change still have use? Test if suicide in this branch behaves any better. |
If the bug is fixed, this PR is superseded. |
cfd6c90
to
ddc1067
Compare
I tested. I am unable to observe any difference in damage output of Original vs Hanfield change. Both Terror in Technical and Battle Bus incur big damage on blow up. Behaviour on China mines also looks identical. The only difference I can observe are the visuals during blow up, where in this change the terrorists and their particles are visible during the death of the vehicle, which looks visually much more impressive. If we care for this visual, then this change seems cool. Original Bang bus blow upOriginal Bang bus aftermathNew Bang bus blow upNew Bang bus aftermath |
ddc1067
to
9b36395
Compare
I will wrap up this change some time soon. Change is nice. |
502a447
to
d71a0bc
Compare
I now tweaked the change as much as I can and tested Terrorist killing, crushing and driving over mines. All looked good. Crushing Terrorist in Vehicle will just kill it without them exploding in both Original and Patch. Sometimes the Terrorist just evacuate and survive when driving over mines, but that also happens in both Original and Patch. I did not apply the changes to non Skirmish Factions, because with GC_Chem the setup would be a nightmare. |
So what exactly changed here? From my understanding, the CTD was already fixed by removing the bugged suicide weapon from the Tox Terrorist. |
The only thing I see changed here is what you can see in the images above. The terrorists and their effects are visible when their host vehicle dies. Other than that it appears to behaves the same. |
I see. So this is an entirely visual change. Pull request title should reflect that. |
Done. |
DestroyRidersWhoAreNotFreeToExit is added to vGLA Bus, but not the others. |
d71a0bc
to
1d38815
Compare
Maybe because the commit is not final? |
Oh right, I forgot. Will add them :) |
1d38815
to
f27fefa
Compare
After a bit more conversation on Discord about it, we figured proper fix for the original crash issue. This fix now no longer crashes the game with GLA Terrorists in specific scenarios. |
Terrorists crashed the game in two scenarios: 1. When Terrorists are inside of a Battle Bus and have less than 50% health, the game would crash as soon as the Battle Bus turned into a bunker. 2. When Terrorists are inside of a Technical, the game would crash whenever they get hit by a neutron shell. This commit fixes the crash in both instances.
f27fefa
to
41f2a57
Compare
I had to revert the changes to GC_Chem because the crashed the game on load. |
Maybe close. Not sure. |
Terrorists crashed the game in two scenarios. This commit fixes the crash in both instances.