-
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
Fragmentation/Explosion Damage rises with number of nearby men #10322
Comments
Should be fixed by the Frag rewrite. |
Please try again with current master (should be available @https://steamcommunity.com/sharedfiles/filedetails/?id=1882627645 soon, or just get it from https://github.com/acemod/ACE3/actions/runs/10907795420/artifacts/1943909823) and see if the issue persists. |
Cant get the current master to run in the editor. Not sure about the reason, but I will post an update if there is an version I can get running and test everything. |
Don't think it will be with the current master version, and maybe reduced by #9728. There are some limitations to the way ACE approaches the frag simulation. Specifically that spawning all the fragments for a specific explosion would not work for the engine. Instead ACE frag generates up to 50 fragments it believes would hit. It fills the difference if there are fewer than 50 with random fragments. While the simulation takes into account the number of fragments being spit out at certain angle, there should be significant overhead to limit the quantity for sufficiently small solid angles to prevent the issue. If I find time, I'll take a look into it being more precise with tracking azimuth and elevation to avoid conflicts and see if there's a method that has a reasonable performance impact and not O(n^2) computations. |
There are methods to breaking a sphere into a certain number of quasi-uniform solid angles, but still looking for a way to handle simple enumeration/formulaic creation of angles. I may settle on a predefined LUT or something similiar, but I'll save that for #9728 if I can't find a better way to do it either dynamically or by equation. |
Mods (complete and add to the following information):
2.16
3.17.1
3.17.1
Description:
The number of injuries caused by an explosion rises with the number of nearby men.
Steps to reproduce:
Expected behavior:
Injuries caused by should be independant of the number of men behind the player.
Where did the issue occur?
Log Files:
Nothing to see in the logs
https://pastebin.com/7iUJVTV7
Additional context:
During the Tests, the number of Large Avulsions, Large Velocity Wounds and Minor Bruises was fairly constant, the number of other injuries rose with the number of men. The rise might be connected to the fact, that a certain number of fragments is created per man and these can hit other nearby men aswell.
Screenshots:
Setup for testing:
Table of Injuries during testing:
The text was updated successfully, but these errors were encountered: