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

Enoch/Contact weapons/mags need JAM #1190

Open
Drofseh opened this issue Jul 27, 2019 · 15 comments
Open

Enoch/Contact weapons/mags need JAM #1190

Drofseh opened this issue Jul 27, 2019 · 15 comments
Assignees
Labels
Milestone

Comments

@Drofseh
Copy link
Contributor

Drofseh commented Jul 27, 2019

Arma 3 Version: 1.94

Mods:

- CBA_A3

Description:
Enoch and Contact weapons need to be given CBA magwell configs.
This is just a reminder to myself to do CBA magwells for the new weapons/mags

@commy2
Copy link
Contributor

commy2 commented Jul 28, 2019

Enoch

["75Rnd_762x39_Mag_F","Magazine","Bullet"],
["75Rnd_762x39_Mag_Tracer_F","Magazine","Bullet"],
["30rnd_762x39_AK12_Lush_Mag_F","Magazine","Bullet"],
["30rnd_762x39_AK12_Lush_Mag_Tracer_F","Magazine","Bullet"],
["30rnd_762x39_AK12_Arid_Mag_F","Magazine","Bullet"],
["30rnd_762x39_AK12_Arid_Mag_Tracer_F","Magazine","Bullet"],
["75rnd_762x39_AK12_Mag_F","Magazine","Bullet"],
["75rnd_762x39_AK12_Mag_Tracer_F","Magazine","Bullet"],
["75rnd_762x39_AK12_Lush_Mag_F","Magazine","Bullet"],
["75rnd_762x39_AK12_Lush_Mag_Tracer_F","Magazine","Bullet"],
["75rnd_762x39_AK12_Arid_Mag_F","Magazine","Bullet"],
["75rnd_762x39_AK12_Arid_Mag_Tracer_F","Magazine","Bullet"],
["10Rnd_Mk14_762x51_Mag","Magazine","Bullet"],
["30Rnd_65x39_caseless_msbs_mag","Magazine","Bullet"],
["30Rnd_65x39_caseless_msbs_mag_Tracer","Magazine","Bullet"],
["2Rnd_12Gauge_Pellets","Magazine","Bullet"],
["2Rnd_12Gauge_Slug","Magazine","Artillery"],
["6Rnd_12Gauge_Pellets","Magazine","Bullet"],
["6Rnd_12Gauge_Slug","Magazine","Artillery"],

Contact

["30Rnd_556x45_Stanag_Blank","Magazine","Artillery"],
["30Rnd_65x39_caseless_blank_mag","Magazine","Artillery"],
["100Rnd_65x39_caseless_blank_mag","Magazine","Artillery"],
["30Rnd_65x39_caseless_msbs_blank_mag","Magazine","Artillery"],
["200Rnd_65x39_cased_box_blank","Magazine","Artillery"],
["30Rnd_65x39_caseless_green_blank_mag","Magazine","Artillery"]

GM

["gm_1Rnd_2650mm_potato_dm11","Magazine","Rocket"],
["gm_1Rnd_84x245mm_heat_t_DM12_carlgustaf","Magazine","Rocket"],
["gm_1Rnd_84x245mm_heat_t_DM12a1_carlgustaf","Magazine","Rocket"],
["gm_1Rnd_84x245mm_heat_t_DM22_carlgustaf","Magazine","Rocket"],
["gm_1Rnd_84x245mm_heat_t_DM32_carlgustaf","Magazine","Rocket"],
["gm_1Rnd_84x245mm_ILLUM_DM16_carlgustaf","Magazine","Rocket"],
["gm_1Rnd_44x537mm_heat_dm32_pzf44_2","Magazine","Rocket"],
["gm_1Rnd_40mm_heat_pg7v_rpg7","Magazine","Rocket"],
["gm_120Rnd_762x51mm_B_T_DM21_mg3_grn","Magazine","Bullet"],
["gm_120Rnd_762x51mm_B_T_DM21A1_mg3_grn","Magazine","Bullet"],
["gm_120Rnd_762x51mm_B_T_DM21A2_mg3_grn","Magazine","Bullet"],
["gm_100Rnd_762x54mmR_B_T_7t2_pk_grn","Magazine","Bullet"],
["gm_100Rnd_762x54mmR_API_7bz3_pk_grn","Magazine","Bullet"],
["gm_100Rnd_762x54mm_B_T_t46_pk_grn","Magazine","Bullet"],
["gm_100Rnd_762x54mm_API_b32_pk_grn","Magazine","Bullet"],
["gm_32Rnd_9x19mm_B_DM51_mp2_blk","Magazine","Bullet"],
["gm_32Rnd_9x19mm_B_DM11_mp2_blk","Magazine","Bullet"],
["gm_8Rnd_9x19mm_B_DM11_p1_blk","Magazine","Bullet"],
["gm_8Rnd_9x19mm_B_DM51_p1_blk","Magazine","Bullet"],
["gm_8Rnd_9x18mm_B_pst_pm_blk","Magazine","Bullet"],
["gm_30Rnd_762x39mm_B_57N231_ak47_blk","Magazine","Bullet"],
["gm_30Rnd_762x39mm_B_T_57N231P_ak47_blk","Magazine","Bullet"],
["gm_30Rnd_762x39mm_AP_7N23_ak47_blk","Magazine","Bullet"],
["gm_30Rnd_762x39mm_B_M43_ak47_blk","Magazine","Bullet"],
["gm_30Rnd_762x39mm_B_T_M43_ak47_blk","Magazine","Bullet"],
["gm_75Rnd_762x39mm_B_57N231_ak47_blk","Magazine","Bullet"],
["gm_75Rnd_762x39mm_B_T_57N231P_ak47_blk","Magazine","Bullet"],
["gm_75Rnd_762x39mm_AP_7N23_ak47_blk","Magazine","Bullet"],
["gm_75Rnd_762x39mm_B_M43_ak47_blk","Magazine","Bullet"],
["gm_75Rnd_762x39mm_B_T_M43_ak47_blk","Magazine","Bullet"],
["gm_30Rnd_545x39mm_B_7N6_ak74_prp","Magazine","Bullet"],
["gm_30Rnd_545x39mm_B_T_7T3_ak74_prp","Magazine","Bullet"],
["gm_30Rnd_545x39mm_B_7N6_ak74_org","Magazine","Bullet"],
["gm_30Rnd_545x39mm_B_T_7T3_ak74_org","Magazine","Bullet"],
["gm_45Rnd_545x39mm_B_7N6_ak74_prp","Magazine","Bullet"],
["gm_45Rnd_545x39mm_B_T_7T3_ak74_prp","Magazine","Bullet"],
["gm_45Rnd_545x39mm_B_7N6_ak74_org","Magazine","Bullet"],
["gm_45Rnd_545x39mm_B_T_7T3_ak74_org","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_T_DM21_g3_blk","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_T_DM21A1_g3_blk","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_T_DM21A2_g3_blk","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_DM111_g3_blk","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_DM41_g3_blk","Magazine","Bullet"],
["gm_20Rnd_762x51mm_AP_DM151_g3_blk","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_T_DM21_g3_des","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_T_DM21A1_g3_des","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_T_DM21A2_g3_des","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_DM111_g3_des","Magazine","Bullet"],
["gm_20Rnd_762x51mm_B_DM41_g3_des","Magazine","Bullet"],
["gm_20Rnd_762x51mm_AP_DM151_g3_des","Magazine","Bullet"],
["gm_1rnd_67mm_heat_dm22a1_g3","Magazine","Shell"],

@commy2
Copy link
Contributor

commy2 commented Jul 28, 2019

Enoch

["arifle_AK12U_F","Weapon","AssaultRifle"],
["arifle_AK12U_lush_F","Weapon","AssaultRifle"],
["arifle_AK12U_arid_F","Weapon","AssaultRifle"],
["arifle_AK12U_lush_holo_snds_pointer_F","Weapon","AssaultRifle"],
["arifle_AK12U_lush_snds_pointer_F","Weapon","AssaultRifle"],
["arifle_AK12U_lush_holo_F","Weapon","AssaultRifle"],
["arifle_AK12U_lush_holo_pointer_F","Weapon","AssaultRifle"],
["arifle_AK12U_lush_holo_fl_F","Weapon","AssaultRifle"],
["arifle_RPK12_F","Weapon","AssaultRifle"],
["arifle_RPK12_lush_F","Weapon","AssaultRifle"],
["arifle_RPK12_arid_F","Weapon","AssaultRifle"],
["arifle_RPK12_lush_arco_snds_pointer_F","Weapon","AssaultRifle"],
["arifle_RPK12_lush_holo_snds_pointer_F","Weapon","AssaultRifle"],
["arifle_RPK12_lush_arco_pointer_F","Weapon","AssaultRifle"],
["arifle_MSBS65_F","Weapon","AssaultRifle"],
["arifle_MSBS65_Mark_F","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_F","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_F","Weapon","AssaultRifle"],
["arifle_MSBS65_black_F","Weapon","AssaultRifle"],
["arifle_MSBS65_Mark_black_F","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_black_F","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_black_F","Weapon","AssaultRifle"],
["arifle_MSBS65_sand_F","Weapon","AssaultRifle"],
["arifle_MSBS65_Mark_sand_F","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_sand_F","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_sand_F","Weapon","AssaultRifle"],
["arifle_MSBS65_camo_F","Weapon","AssaultRifle"],
["arifle_MSBS65_Mark_camo_F","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_camo_F","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_camo_F","Weapon","AssaultRifle"],
["arifle_MSBS65_ico_F","Weapon","AssaultRifle"],
["arifle_MSBS65_aco_F","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_ico_F","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_ico_F","Weapon","AssaultRifle"],
["arifle_MSBS65_black_ico_F","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_black_ico_F","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_black_ico_F","Weapon","AssaultRifle"],
["arifle_MSBS65_black_aco_F","Weapon","AssaultRifle"],
["arifle_MSBS65_black_aco_FL_F","Weapon","AssaultRifle"],
["arifle_MSBS65_ico_pointer_f","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_ico_pointer_f","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_ico_pointer_f","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_snds_ico_pointer_F","Weapon","AssaultRifle"],
["arifle_MSBS65_black_ico_pointer_f","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_black_ico_pointer_f","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_black_ico_pointer_f","Weapon","AssaultRifle"],
["arifle_MSBS65_Mark_SOS_LP_BI_F","Weapon","AssaultRifle"],
["sgun_HunterShotgun_01_F","Weapon","Shotgun"],
["sgun_HunterShotgun_01_sawedoff_F","Weapon","Shotgun"],

["optic_ico_01_f","Item","AccessorySights"],
["optic_ico_01_black_f","Item","AccessorySights"],
["optic_ico_01_sand_f","Item","AccessorySights"],
["optic_ico_01_camo_f","Item","AccessorySights"],
["bipod_02_F_lush","Item","AccessoryBipod"],
["bipod_02_F_arid","Item","AccessoryBipod"],
["muzzle_snds_B_lush_F","Item","AccessoryMuzzle"],
["muzzle_snds_B_arid_F","Item","AccessoryMuzzle"],
["optic_Holosight_lush_F","Item","AccessorySights"],
["optic_Holosight_arid_F","Item","AccessorySights"],
["optic_Arco_lush_F","Item","AccessorySights"],
["optic_Arco_arid_F","Item","AccessorySights"],
["optic_Arco_AK_blk_F","Item","AccessorySights"],
["optic_Arco_AK_lush_F","Item","AccessorySights"],
["optic_Arco_AK_arid_F","Item","AccessorySights"],
["optic_DMS_weathered_F","Item","AccessorySights"],
["optic_DMS_weathered_Kir_F","Item","AccessorySights"],
["optic_MRD_black","Item","AccessorySights"],

["Item_AntidoteKit_01_F","Item","AccessoryPointer"],
["Item_DeconKit_01_F","Item","AccessoryPointer"],

Contact

["arifle_MSBS65_ico_pointer_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_ico_pointer_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_ico_pointer_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_black_ico_pointer_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_black_ico_pointer_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_black_ico_pointer_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_Mark_SOS_LP_BI_EMP_F","Weapon","AssaultRifle"],
["arifle_MSBS65_Mark_SOS_FL_BI_EMP_F","Weapon","AssaultRifle"],
["arifle_MSBS65_Black_FL_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_ico_FL_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_ico_FL_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_ico_FL_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_black_ico_FL_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_GL_black_ico_FL_EMP_f","Weapon","AssaultRifle"],
["arifle_MSBS65_UBS_black_ico_FL_EMP_f","Weapon","AssaultRifle"],
["LMG_Mk200_black_FL_EMP_F","Weapon","MachineGun"],
["hgun_esd_01_base_F","Weapon","Handgun"],
["hgun_esd_01_F","Weapon","Handgun"],
["hgun_esd_01_dummy_F","Weapon","Handgun"],
["hgun_esd_01_antenna_01_F","Weapon","Handgun"],
["hgun_esd_01_antenna_02_F","Weapon","Handgun"],
["hgun_esd_01_antenna_03_F","Weapon","Handgun"],

["muzzle_tma_65","Item","AccessoryMuzzle"],
["muzzle_antenna_test_01","Item","AccessoryMuzzle"],
["muzzle_antenna_01_f","Item","AccessoryMuzzle"],
["muzzle_antenna_02_f","Item","AccessoryMuzzle"],
["muzzle_antenna_03_f","Item","AccessoryMuzzle"]

["acc_esd_01_flashlight","Item","AccessoryPointer"],
["acc_esd_01_flashlight_broken","Item","AccessoryPointer"],

["ChemicalDetector_01_base_F","Item","AccessoryBipod"],
["ChemicalDetector_01_olive_F","Item","AccessoryBipod"],
["ChemicalDetector_01_black_F","Item","AccessoryBipod"],
["ChemicalDetector_01_tan_F","Item","AccessoryBipod"],

@Drofseh
Copy link
Contributor Author

Drofseh commented Jul 28, 2019

Does anyone know if the stuff that is contact specific needs to be in an optional addon?

@commy2
Copy link
Contributor

commy2 commented Jul 28, 2019

I know that the game errors if you try to add an attachment to an attachment class that does not exist in CfgWeapons.
Idk if this is true for Magazine Well classes.
Worst case you handle it like:
https://github.com/CBATeam/CBA_A3/blob/master/addons/xeh/CfgVehicles.hpp#L346-L363

@dedmen
Copy link
Contributor

dedmen commented Jul 29, 2019

Idk if this is true for Magazine Well classes.

yes it is.

Worst case you handle it like:

really can you? Never seen scope in magwell classes. But I guess it's worth a try.

@commy2
Copy link
Contributor

commy2 commented Jul 29, 2019

I don't mean scope in magwell classes. I mean scope in magazines referenced by the magwell classes.

All BI magwell classes are Enoch, but some mags are (probably) Contact only (blue training mags?). So to not make the game complain about non existing magazines, we may have to create dummy classes.

Rules for these dummy classes are:

  • that the inheritance tree has to be traced back to a class that guarnteed exists (to avoid UBC and creating instead of referencing classes, which would lead to empty classes with missing entries and thus error pop ups), and
  • that the scope is set to the actual scope in Contact instead of the inherited value, but also not public, as that would create duplicate entries in the Editor and Arsenal of the inherited classes when not using Contact. To ensure that the 1 + parseNumber conditional scope has to be used whenever Contact adds a protected class that inherits from a public class.

@dedmen
Copy link
Contributor

dedmen commented Jul 29, 2019

Have you checked how often your scope code is evaluated? That might cause some performance problems if it's compiled/executed too often

@commy2
Copy link
Contributor

commy2 commented Jul 29, 2019

Haven't checked and I can't see this costing much performance at all. Would be interesting to check anyway though.

@commy2
Copy link
Contributor

commy2 commented Sep 9, 2019

Anything missing heres still?

@Drofseh
Copy link
Contributor Author

Drofseh commented Sep 9, 2019

I haven't had any time to work on this at all.

@greensnack2
Copy link

Anything missing heres still?

Also the sand 5.56 mags for the spar 16/ HK 416. It gets weirder as the sand colored one can still use them, but no other 5.56 gun when niarms is loaded.

@commy2 commy2 added this to the 3.14 milestone Dec 21, 2019
@commy2 commy2 self-assigned this Dec 21, 2019
@commy2 commy2 added the Task label Dec 21, 2019
@commy2
Copy link
Contributor

commy2 commented Jan 19, 2020

I tried ingame and I can load the "30Rnd_556x45_Stanag_Sand" into "arifle_SPAR_01_khk_F" just fine.

@Drofseh you still alive?

@commy2 commy2 modified the milestones: 3.13.1, 3.14 Jan 19, 2020
@Drofseh
Copy link
Contributor Author

Drofseh commented Jan 19, 2020

I am alive-ish, but if you want to take up the torch I don't mind!

@commy2
Copy link
Contributor

commy2 commented Jan 19, 2020

Hell no.

@Drofseh
Copy link
Contributor Author

Drofseh commented Apr 5, 2020

I don't think I'm ever going to get around to this.
I just don't care about vanilla equipment enough to spend time on it.
If anyone else has been thinking about taking up the torch please do so.

@PabstMirror PabstMirror modified the milestones: 3.15.3, Ongoing Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants