Skip to content

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

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Manpad - Add stinger locking #10830

wants to merge 6 commits into from

Conversation

PabstMirror
Copy link
Contributor

stinger.mp4


if (!hasInterface) exitWith {};

// Add keybind - todo: move to missile_guidance-common-binds?
Copy link
Contributor

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];
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

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

@PabstMirror PabstMirror requested a review from Copilot April 4, 2025 17:13
Copy link

@Copilot Copilot AI left a 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

@TheCandianVendingMachine
Copy link
Contributor

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 😭

@PabstMirror
Copy link
Contributor Author

PabstMirror commented Apr 9, 2025

  • prob do explicit config because CWR has a javelin (AA/blowpipe-like) that inherits from cup_stinger

@TheCandianVendingMachine
Copy link
Contributor

note: this can be expanded to Sidewinder soon whenever this goes stable (https://feedback.bistudio.com/T190789)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Release Notes: **ADDED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants