{
    "name": "cs_l85a2",
    "type": "Gun",
    "maxAmmoCapacity": 30,
    "compatibleAmmo": ["ammocreative", "ammo556"],
    "damage": 5.0,
    "rpm": 650,
    "adsSpeed": 450,
    "fireModes": ["SINGLE", "AUTOMATIC"],
    "fireSound": "g41",
    "animationType": "rifle",
    "defaultAttachments": [],
    "compatibleAttachments": [],
    "compatibleAttachmentGroups": [
      "ar_sightsandscopes",
      "ar_muzzle",
	  "cs_l85a2_skins",
	  "underbarrel"
    ],
    "gunRecoilInitialAmplitude": 0.8,
    "shakeRecoilAmplitude": 0.35,
    "shakeRecoilSpeed": 2.0,
    "viewRecoilAmplitude": 1.5,
	"drawAnimations": [
		{ "name": "animation.model.draw", "duration": 602, "condition": "ammoCount > 0" },
		{ "name": "animation.model.drawempty", "duration": 602, "condition": "ammoCount == 0" }	
	],
	"inspectAnimations": [
		{ "name": "animation.model.inspect", "duration": 5482, "condition": "ammoCount > 0"  },
		{ "name": "animation.model.inspectempty", "duration": 5482, "condition": "ammoCount == 0" }	
	],
	"idleAnimations": [
		{ "name": "animation.model.idle", "duration": 1, "condition": "ammoCount > 0"  },
		{ "name": "animation.model.idleempty", "duration": 1, "condition": "ammoCount == 0" }	
	], 
    "phasedReloads": [
      {
        "phase": "RELOADING",
        "condition": { "allOf":[ { "onEmptyReload": true } ] },
        "duration": 2925,
        "animation": "animation.model.reloadempty"
      },
      {
        "phase": "RELOADING",
        "condition": { "allOf":[ { "onEmptyReload": false } ] },
        "duration": 1770,
        "animation": "animation.model.reload"
      }
    ],
    "effects": [
      { "phase": "hit_scan_acquired", "name": "tracer" }
    ],
    "features": [
      {
        "type": "MuzzleFlash",
        "effects": [ { "phase": "firing", "name": "muzzle_flash" } ],
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"ar_suppressors" } ] }
      },
      {
        "type": "Aiming",
        "zoom": 0.2,
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"m16_sightsandscopes" } ] }
      },
      {
        "type": "PartVisibility",
        "parts": [
          { "name":"carryhandle","visible":false, "condition":{ "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] } },
          { "name":"rail","visible":true,     "condition":{ "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] } },
          { "name":"railed_guard","visible":true,     "condition":{ "allOf":[ { "hasAttachmentGroup":"underbarrel"} ] } },
          { "name":"handguard","visible":false,     "condition":{ "allOf":[ { "hasAttachmentGroup":"underbarrel" } ] } }		  		  
        ]
      },
      {
        "type": "Sound",
        "fireSound": "g41_silenced",
        "fireSoundVolume": 1,
        "condition": { "allOf":[ { "hasAttachmentGroup":"ar_suppressors" } ] }
      }
    ],
    "glowingParts": []
  }
