Gun - Protoxy22/ModularWarfare GitHub Wiki
Template Gun
{ "internalName": "ak47", "displayName": "AK47", "modelName": "mw.ModelAK47", "weaponType": "ar", "gunDamage": 7.3, "roundsPerMin": 600, "gunDamageHeadshotBonus": 3, "recoilPitch": 2.3, "recoilYaw": 2.1, "randomRecoilPitch": 0.2, "bulletSpread": 0.4, "randomRecoilYaw": 0.1, "allowSprintFiring": true, "acceptedAttachments": { "barrel": [ "ar_supressor", "ar_supressor_loud", "ar_supressor_camo", "ar_supressor_snow" ], "barrel_bottle": [ "ar_bottle_supressor" ] }, "modelSkins": [ { "internalName": "ak47", "skinAsset": "ak47", "displayName": "Default" }, { "internalName": "arkaniaz.ak47.snow", "skinAsset": "arkaniaz.ak47.snow", "displayName": "Snow" }, { "internalName": "arkaniaz.ak47.birch", "skinAsset": "arkaniaz.ak47.birch", "displayName": "Birch" }, { "internalName": "arkaniaz.ak47.jungle", "skinAsset": "arkaniaz.ak47.jungle", "displayName": "Jungle" } ], "fireModes": ["full", "semi"], "acceptedAmmo": ["ak4720rndammo", "ak4740rndammo"], "weaponSoundMap": { "weaponFire": [ { "soundEvent": "weaponFire", "soundName": "AK47Shoot", "soundNameDistant": "AK47ShootDistant", "soundRange": 50, "soundMaxRange": 250, "soundFadeMultiplier": 1 } ], "weaponReload": [ { "soundEvent": "weaponReload", "soundName": "ak47reload" } ], "weaponFireSuppressed": [ { "soundEvent": "weaponFireSuppressed", "soundName": "ar.shoot.sup", "soundRange": 30, "soundMaxRange": 30, "soundFadeMultiplier": 1 } ], "weaponFireSuppressedBottle": [ { "soundEvent": "weaponFireSuppressedBottle", "soundName": "supressedfirebottle", "soundRange": 50, "soundMaxRange": 50, "soundFadeMultiplier": 1 } ] } }