Skip to content
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 Magazine Well support for MAAWS #1072

Merged
merged 1 commit into from
Feb 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions addons/jam/CfgMagazineWells.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ class CfgMagazineWells {

// AT and AA Launchers, ordered lexicographically
class CBA_Bazooka {}; // M1, M1A1 Bazooka
class CBA_Carl_Gustaf { // MAAWS, RAWS
Copy link
Contributor Author

@Dahlgren Dahlgren Feb 18, 2019

Choose a reason for hiding this comment

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

The launcher's real name is "Carl Gustaf Recoilles Rifle", not sure what we should use as class?

https://en.wikipedia.org/wiki/Carl_Gustaf_recoilless_rifle

Perhaps MAAWS is more common?

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 Carl Gustaf.

MAAWS is a US specific term that none of these other countries use.
https://en.wikipedia.org/wiki/Carl_Gustaf_recoilless_rifle#Users

BI_rounds[] = {
"MRAWS_HEAT_F",
"MRAWS_HE_F"
};
};
class CBA_Panzerschreck {}; // Panzerschreck RPzB 54
class CBA_PIAT {}; // PIAT

Expand Down
4 changes: 4 additions & 0 deletions addons/jam/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ class CfgWeapons {
magazineWell[] = {"CBA_762x54R_LINKS"};
};

class launch_MRAWS_base_F: Launcher_Base_F {
magazineWell[] = {"CBA_Carl_Gustaf"};
};

class launch_RPG7_F: Launcher_Base_F {
magazineWell[] = {"CBA_RPG7"};
};
Expand Down