Last active
November 11, 2023 01:55
-
-
Save jeffday/aa0aba6d8a5323903581bc65aff744db to your computer and use it in GitHub Desktop.
EDO_WEAPONS compatibility with new vanilla M14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class CfgPatches | |
| { | |
| class M14Compatibility | |
| { | |
| requiredVersion = 0.1; | |
| requiredAddons[] = { | |
| "DZ_Data", | |
| "DZ_Weapons_Firearms", | |
| "BO_M1A", | |
| "BO_Mk14" | |
| }; | |
| ammo[] = {}; | |
| }; | |
| }; | |
| class CfgMods | |
| { | |
| class M14Compatibility | |
| { | |
| dir = "M14Compatibility"; | |
| picture = ""; | |
| action = ""; | |
| hideName = 1; | |
| hidePicture = 1; | |
| name = "M14Compatibility"; | |
| author = "acanthogammarus"; | |
| authorID = "0"; | |
| version = "1.0"; | |
| extra = 0; | |
| type = "mod"; | |
| inputs = ""; | |
| dependencies[]= | |
| { | |
| "Game", | |
| "World", | |
| "Mission" | |
| }; | |
| class defs | |
| { | |
| class missionScriptModule | |
| { | |
| value=""; | |
| files[]= {"M14Compatibility\Scripts\5_Mission"}; | |
| }; | |
| class worldScriptModule | |
| { | |
| value = ""; | |
| files[] = {"M14Compatibility\Scripts\4_World"}; | |
| }; | |
| class gameScriptModule | |
| { | |
| value = ""; | |
| files[] = {"M14Compatibility\Scripts\3_Game"}; | |
| }; | |
| }; | |
| }; | |
| }; | |
| class Mode_Safe; | |
| class Mode_SemiAuto; | |
| class Mode_Burst; | |
| class Mode_FullAuto; | |
| class cfgWeapons | |
| { | |
| class M14_Base; | |
| class M14: M14_Base | |
| { | |
| attachments[]+= | |
| { | |
| "weaponMuzzle308", | |
| }; | |
| magazines[]+= | |
| { | |
| "BO_Mag_M14_10rnd", | |
| "BO_Mag_M14_20rnd" | |
| }; | |
| } | |
| class BO_M1A_Base: Rifle_Base | |
| { | |
| magazines[]+= | |
| { | |
| "Mag_M14_10Rnd", | |
| "Mag_M14_20Rnd" | |
| }; | |
| } | |
| class BO_Mk14_Base: Rifle_Base | |
| { | |
| magazines[]+= | |
| { | |
| "Mag_M14_10Rnd", | |
| "Mag_M14_20Rnd" | |
| }; | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment