Skip to content

Missile Guidance - Fix SACLOS on sub-turrets#10939

Merged
PabstMirror merged 1 commit intomasterfrom
saclosSubTurrets
Jun 23, 2025
Merged

Missile Guidance - Fix SACLOS on sub-turrets#10939
PabstMirror merged 1 commit intomasterfrom
saclosSubTurrets

Conversation

@PabstMirror
Copy link
Copy Markdown
Contributor

e.g. GM BMP-1P
the saclos is fired from a sub-turret from the main [0,0]
so we need to take into account the animation of both turrets

CBA_fnc_turretDir seems to be ok for this
IIRC it isn't as accurate as using the raw anim, but seems to do a reasonably good job

@PabstMirror PabstMirror added this to the 3.20.0 milestone May 31, 2025
@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label May 31, 2025
@TheCandianVendingMachine
Copy link
Copy Markdown
Contributor

good lord thank you for figuring this out. does this regress existing weapons? how does it work in multiplayer when non-local/moving the vehicle?

@PabstMirror
Copy link
Copy Markdown
Contributor Author

tested on 2-client mp and it worked fine

Copy link
Copy Markdown
Member

@LinkIsGrim LinkIsGrim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PabstMirror PabstMirror merged commit 64faee6 into master Jun 23, 2025
3 checks passed
@PabstMirror PabstMirror deleted the saclosSubTurrets branch June 23, 2025 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug-fix Release Notes: **FIXED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants