CSW - Add automatic firing of mortars#11035
Merged
PabstMirror merged 27 commits intomasterfrom Oct 5, 2025
Merged
Conversation
PabstMirror
reviewed
Aug 17, 2025
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
PabstMirror
reviewed
Aug 17, 2025
DartRuffian
reviewed
Aug 17, 2025
Contributor
DartRuffian
left a comment
There was a problem hiding this comment.
I was just poking around at stuff, noticed a couple things
Contributor
Author
rautamiekka
suggested changes
Aug 17, 2025
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
PabstMirror
reviewed
Sep 5, 2025
PabstMirror
reviewed
Sep 5, 2025
PabstMirror
reviewed
Sep 5, 2025
PabstMirror
reviewed
Sep 5, 2025
PabstMirror
reviewed
Sep 5, 2025
PabstMirror
reviewed
Sep 5, 2025
Contributor
Author
|
Added changes, did not test in game (low energy, but wanted to fix things) |
PabstMirror
approved these changes
Sep 12, 2025
PabstMirror
reviewed
Oct 5, 2025
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

When merged this pull request will:
CSW actions being moved was due to clutter on the main interaction page.
Main feature is automatic firing of mortar when rounds are loaded. This simulates a "hang, drop, fire" behaviour.
Handles both human-less and human-full turrets.
Due to Arma being Arma, when we spawn an agent to fire, the shell will go out the actual direction of the barrel. But for players, it's more shot towards the azimuth and elevation. I stole the code from
artillerytablesto find the azimuth/elevation, and automatically set the velocity on fire. A bit lame, but hey what can you do.Demonstration
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}.