Skip to content

Casings - Add support for dropped magazines (40mm shell casings) - #9839

Open
PabstMirror wants to merge 17 commits into
masterfrom
40mmBrass
Open

Casings - Add support for dropped magazines (40mm shell casings)#9839
PabstMirror wants to merge 17 commits into
masterfrom
40mmBrass

Conversation

@PabstMirror

Copy link
Copy Markdown
Contributor

@PabstMirror PabstMirror changed the title Casings - Add support for dropped magazines (40mm shells) Casings - Add support for dropped magazines (40mm shell casings) Mar 19, 2024
Comment thread addons/common/functions/fnc_addPlayerEH.sqf Outdated
@PabstMirror
PabstMirror marked this pull request as ready for review September 12, 2024 22:21
@PabstMirror PabstMirror added this to the Ongoing milestone Sep 12, 2024
@PabstMirror PabstMirror added the kind/enhancement Release Notes: **IMPROVED:** label Sep 12, 2024
switch (true) do {
// Should cover most 40x36
case (_mag in compatibleMagazines ["arifle_Mk20_GL_F", "EGLM"]): { "A3\Weapons_F\MagazineProxies\mag_40x36_HE_1rnd.p3d" };
default { getText (configFile >> "CfgMagazines" >> _mag >> QGVAR(model)) };

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe pull from magProxy and override with this if available?

Comment thread addons/casings/functions/fnc_createMagazine.sqf Outdated
Comment thread addons/casings/functions/fnc_createCasing.sqf
Comment thread addons/casings/functions/fnc_createCasing.sqf Outdated
@LinkIsGrim

Copy link
Copy Markdown
Member

Problem with mag proxies: they're "dropped" upright. Probably should setVectorDirAndUp so they're on their side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Release Notes: **IMPROVED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants