{
    "name": "cs_c7a2",
    "type": "Gun",
    "maxAmmoCapacity": 30,
    "compatibleAmmo": ["ammo556","ammocreative"],
    "damage": 5,
    "rpm": 820,
    "fireModes": ["SINGLE", "AUTOMATIC"],
    "fireSound": "m4a1",
    "animationType": "rifle",
    "compatibleAttachments": [
        "cantedrail"
    ],
    "compatibleAttachmentGroups": [
        "underbarrel",
        "underbarrel_2",
		"ar_sightsandscopes",
		"ar_muzzle",
        "cs_c7a2_skins"
    ],
    "gunRecoilInitialAmplitude" : 0.9,
    "shakeRecoilAmplitude" : 0.5,
    "shakeRecoilSpeed" : 2,
    "viewRecoilAmplitude" : 1.6,
    "phasedReloads": [
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": true }
                ]
            },
            "duration": 2175,
            "animation": "animation.model.reloadempty"
        },
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": false }
                ]
            },
            "duration": 1955,
            "animation": "animation.model.reload"
        }
    ],
    "drawAnimations": [
        {
            "name": "animation.model.draw",
            "duration": 775
        }
    ],
    "inspectAnimations": [
        {
            "name": "animation.model.inspect",
            "duration": 3835
        }
    ],
    "idleAnimations": [
        {
            "name": "animation.model.idle",
            "duration": 10
        }
    ],	
    "effects": [
        {
            "phase": "hit_scan_acquired",
            "name": "tracer"
        },
        {
            "phase": "firing",
            "name": "muzzle_flash_small"
        }
    ],
    "features": [
		{
			"type": "Description",
			"text": "Suggested by: pie.twink"
		},	
        {
            "type": "Aiming",
            "zoom": 0.55,
            "condition": {
                "allOf": [
                    { "doesNotHaveAttachmentGroup": "ar_sightsandscopes"}
                ]
            }
        },
		{
			"type": "PiP",
			"overlayTexture": "textures/gui/cs_c7a2_pip.png",
			"parallax": true,
			"zoom": 0.8
		},		
        {
            "type": "Sound",
            "fireSound": "m4a1_silenced",
            "fireSoundVolume": 1,
            "condition": {
                "hasAttachmentGroup": "ar_suppressors"
            }
        },
        {
            "type": "PartVisibility",
            "parts": [
                {
                    "name": "underrail",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "underbarrel"}]
                    }
                },
                {
                    "name": "sight",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                    }
                }
            ]
        },
        {
            "type": "MuzzleFlash",
            "effects": [
                {
                    "phase": "firing",
                    "name": "muzzle_flash_small"
                }
            ],
            "condition": {
                "allOf": [
                    {
                        "doesNotHaveAttachmentGroup": "ar_suppressors"
                    }
                ]
            }
        }
    ],
    "glowingParts": [{"name": "glowy_new6"}]
}