-
Notifications
You must be signed in to change notification settings - Fork 739
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
XM157 (NGSW-FC Smart Scope) Framework #8897
Conversation
private _gravity = [-sin (_bank) * cos(_scopeBaseAngle + _inclinationAngle) * -GRAVITY, | ||
sin(_scopeBaseAngle + _inclinationAngle) * -GRAVITY, | ||
cos (_bank) * cos(_scopeBaseAngle + _inclinationAngle) * -GRAVITY]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private _gravity = [-sin (_bank) * cos(_scopeBaseAngle + _inclinationAngle) * -GRAVITY, | |
sin(_scopeBaseAngle + _inclinationAngle) * -GRAVITY, | |
cos (_bank) * cos(_scopeBaseAngle + _inclinationAngle) * -GRAVITY]; | |
private _angleGravity = (_scopeBaseAngle + _inclinationAngle) * -GRAVITY; | |
private _gravity = [-sin (_bank) * cos (_angleGravity), | |
sin (_angleGravity), | |
cos (_bank) * cos (_angleGravity)]; |
(_angleGravity
might be an unimaginative or even a misleading name, though.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't want GRAVITY
in that term
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this func base very closely on https://github.com/acemod/ACE3/blob/master/addons/atragmx/functions/fnc_calculate_solution.sqf#L61
tbh I'm not really sure why that modifies gravity instead of initial velocity, but I trust ulteq's work so I'd like to keep this func as close to that as possible
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
demo of menu https://www.youtube.com/watch?v=qYJwUBlGFsc I know they talked about being able to draw any reticle because it's a lcd screen, |
looks like CUP modifies EtelkaMonospaceProBold for some reason??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* XM157 (NGSW-FC Smart Scope) * Update addons/common/functions/fnc_rscObjectHelper.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Update addons/xm157/functions/fnc_weaponInfo_draw.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Headers * Handle prone-deploy weapon bank * Disable Reticle picker for now * some localizations * Change font looks like CUP modifies EtelkaMonospaceProBold for some reason?? * Create xm157-framework.md * Formating Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
* XM157 (NGSW-FC Smart Scope) * Update addons/common/functions/fnc_rscObjectHelper.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Update addons/xm157/functions/fnc_weaponInfo_draw.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Headers * Handle prone-deploy weapon bank * Disable Reticle picker for now * some localizations * Change font looks like CUP modifies EtelkaMonospaceProBold for some reason?? * Create xm157-framework.md * Formating Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Adds XM157 NGSW Fire Control Optic
Scope with integrated rangefinder and ballistic computer
Sorta using cba scripted optics, but a lot of it redone for ctrlObject so I can do proper rotation
Demo: https://www.youtube.com/watch?v=mgtT4ZBFJvU
ToDo:
3d Model???
POI marking and sharing (sounds a lot like ace_finger, can share targets via short-range wireless)
This thing isn't released so some assumptions are made as to how it works.
Some References: