-
Notifications
You must be signed in to change notification settings - Fork 737
Manpad - Add stinger locking #10830
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
base: master
Are you sure you want to change the base?
Manpad - Add stinger locking #10830
Conversation
|
||
if (!hasInterface) exitWith {}; | ||
|
||
// Add keybind - todo: move to missile_guidance-common-binds? |
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.
i like this idea. javelin, spike, and now this will have the lock key bound but all unique binds; i think its beneficial to have some common ones
private _lockFeedback = 0; | ||
if (isNull _lockCanidate) then { | ||
// find any target within seeker range | ||
private _potentialTargets = _source nearEntities ["Air", _seekerMaxRange]; |
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.
flares won't be locked with this, idk if thats desired. it may make more sense to break out the target logic into its own function and call that
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.
I was wondering if this should more closely just copy the ir_seeker code
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.
i think it should; i'd want to break the logic into it's own function just because its a but unweidly and if it changes in the future it'd be a pain to update twice
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.
Copilot reviewed 2 out of 15 changed files in this pull request and generated no comments.
Files not reviewed (13)
- addons/compat_cup_weapons/compat_cup_missileguidance/config.cpp: Language not supported
- addons/missile_manpad/CfgEventHandlers.hpp: Language not supported
- addons/missile_manpad/CfgSounds.hpp: Language not supported
- addons/missile_manpad/CfgWeapons.hpp: Language not supported
- addons/missile_manpad/XEH_PREP.hpp: Language not supported
- addons/missile_manpad/XEH_postInit.sqf: Language not supported
- addons/missile_manpad/XEH_preInit.sqf: Language not supported
- addons/missile_manpad/XEH_preStart.sqf: Language not supported
- addons/missile_manpad/config.cpp: Language not supported
- addons/missile_manpad/functions/fnc_eachFrame.sqf: Language not supported
- addons/missile_manpad/functions/fnc_weaponChanged.sqf: Language not supported
- addons/missile_manpad/script_component.hpp: Language not supported
- addons/missileguidance/dev/mock_ammo.hpp: Language not supported
the fuck is the point of the bot if it doesn't support 99% of the files 😭 |
|
note: this can be expanded to Sidewinder soon whenever this goes stable (https://feedback.bistudio.com/T190789) |
Co-authored-by: Jouni Järvinen <[email protected]>
stinger.mp4