Skip to content
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

Slight cluster missile rework #33

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

Alexandre425
Copy link
Contributor

Slightly reworked cluster missiles so that the bomblets are properly modeled. It assumes 7 are packed in parallel per layer, with up to 4 layers, resulting in a maximum of 28 bomblets. The bomblet caliber and length is changed to reflect this. For any questions refer to https://en.wikipedia.org/wiki/Circle_packing_in_a_circle

The random spread is also significantly simplified by using a uniform angle distribution, randomizing only the distance from the center. It results in almost the same spread, only slightly more uniform:

image

Removed the relationship between bomblet spread and global inaccuracy, as it seemed a bit nonsensical (you essentially want the bomblets to be "inaccurate").

Physics-wise, it also makes more sense, with the bomblets gaining a velocity perpendicular to the deployer which is independent of it's original velocity. They now inherit the original velocity plus the separation velocity, instead of changing vector's the direction.

@Alexandre425 Alexandre425 marked this pull request as draft April 9, 2021 14:42
@Alexandre425
Copy link
Contributor Author

Currently the bomblets for some bombs are very long and thin compared to conventional ones. Due to the way HEAT is coded, this gives them very light but extremely fast penetrators, with too high of a penetration.

I plan on reworking HEAT so the generated warheads make a bit more sense, and then I'll reopen this once I have tested and balanced it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant