-
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
Add Weapon Attachments interaction #7706
Conversation
addons/interaction/functions/fnc_getWeaponAttachmentsActions.sqf
Outdated
Show resolved
Hide resolved
addons/interaction/functions/fnc_getWeaponAttachmentsActions.sqf
Outdated
Show resolved
Hide resolved
addons/interaction/functions/fnc_modifyWeaponAttachmentsAction.sqf
Outdated
Show resolved
Hide resolved
addons/interaction/functions/fnc_getWeaponAttachmentsActions.sqf
Outdated
Show resolved
Hide resolved
Any reason this isn't under "Equipment"? There are many things that different components add to the root menu already and this doesn't seem to be anything that has to be done in a quick manner. We need another main interaction point on the weapon on the bottom right. |
Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
addons/interaction/functions/fnc_getWeaponAttachmentsActions.sqf
Outdated
Show resolved
Hide resolved
ready for review |
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.
Works well for primary, secondary, and handgun weapons. Just some minor cleanup.
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.
Works well. Very minor suggestions to use isNotEqualTo
in some places.
When merged this pull request will:
No inventory space
string fromattach
,chemlights
andhearing
components tocommon
;fnc_cbaSettings_convertHelper
;interaction
settings to sqf.This PR ports @mharis001 Attachment Switching mod with some fixes/additions. It adds ability to take weapon attachment off/on or switch it to another one.
To avoid translation string creating and visual separatingtake off
fromswitch to
actions I used existing stringTake it off
and red attachment icon instead of its picture. From all of my tests it looks the best. Of course it can be discussed.String
No inventory space
has different translation in each component. Only English, German, Polish and Hungarian are the same. If you see some mistakes in other languages suggest correct versions.This PR requires CBATeam/CBA_A3#1330.