{
    "name": "cs_cr21",
    "type": "Gun",
    "maxAmmoCapacity": 30,
    "compatibleAmmo": ["ammocreative", "ammo556"],
    "damage": 5.0,
    "rpm": 725,
    "adsSpeed": 450,
    "fireModes": ["SINGLE", "AUTOMATIC"],
    "fireSound": "g41",
    "animationType": "rifle",
    "defaultAttachments": [],
    "compatibleAttachments": [],
    "compatibleAttachmentGroups": [
      "ar_sightsandscopes",
      "ar_muzzle",
	  "cs_cr21_skins"
    ],
    "gunRecoilInitialAmplitude": 0.8,
    "shakeRecoilAmplitude": 0.35,
    "shakeRecoilSpeed": 2.0,
    "viewRecoilAmplitude": 1.5,
	"drawAnimations": [
		{ "name": "animation.model.draw", "duration": 775 }
	],
	"inspectAnimations": [
		{ "name": "animation.model.inspect", "duration": 4525  }
	],
	"fireAnimations": [
        {
            "name": "animation.model.fire",
            "condition": "random"
        },
		{
            "name": "animation.model.fire2",
            "condition": "random"
        }
    ],	
    "phasedReloads": [
      {
        "phase": "RELOADING",
        "condition": { "allOf":[ { "onEmptyReload": true } ] },
        "duration": 2885,
        "animation": "animation.model.reloadempty"
      },
      {
        "phase": "RELOADING",
        "condition": { "allOf":[ { "onEmptyReload": false } ] },
        "duration": 2335,
        "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.7,
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"m16_sightsandscopes" } ] }
      },
      {
        "type": "PartVisibility",
        "parts": [
          { "name":"sight","visible":false, "condition":{ "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] } },
          { "name":"rail","visible":true,     "condition":{ "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] } }	  		  
        ]
      },
		{
			"type": "Pip",
			"overlayTexture": "textures/gui/cs_cr21_pip.png",
			"maskTexture": "textures/gui/cs_cr21_mask.png",			
			"parallax": true,
			"zoom": 0.55,
			"condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"snipers_sights" } ] }
		},			  
      {
        "type": "Sound",
        "fireSound": "g41_silenced",
        "fireSoundVolume": 1,
        "condition": { "allOf":[ { "hasAttachmentGroup":"ar_suppressors" } ] }
      }
    ],
    "glowingParts": []
  }
