{
    "name": "cs_a545",
    "type": "Gun",
    "maxAmmoCapacity": 30,
    "compatibleAmmo": ["ammo545","ammocreative"],
    "damage": 6,
    "rpm": 800,
    "fireModes": ["SINGLE", "AUTOMATIC", "BURST"],
    "fireSound": "cs_a545",
    "animationType": "rifle",
    "compatibleAttachments": [
        "cantedrail",
        "gp25"
    ],
    "compatibleAttachmentGroups": [
        "ar_sightsandscopes",
        "ar_suppressors",
        "cs_a545_skins"
    ],
    "gunRecoilInitialAmplitude" : 0.5,
    "shakeRecoilAmplitude" : 0.5,
    "shakeRecoilSpeed" : 1,
    "viewRecoilAmplitude" : 1.5,
    "phasedReloads": [
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": true },
                    { "unselectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 2425,
            "animation": "animation.model.reloadempty"
        },
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": false },
                    { "unselectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 1875,
            "animation": "animation.model.reload"
        },
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": true },
                    { "selectedFireMode": "grenade_launcher" }
                ]
            },
            "duration": 2285,
            "animation": "animation.model.launcherreload"
        }
    ],
    "drawAnimations": [
        {
            "name": "animation.model.draw",
            "duration": 775
        }
    ],
    "idleAnimations": [
        {
            "name": "animation.model.idle",
            "duration": 10
        }
    ],	
    "inspectAnimations": [
        {
            "name": "animation.model.inspect",
            "duration": 5555
        }
    ],
    "effects": [
        {
            "phase": "hit_scan_acquired",
            "name": "tracer"
        },
        {
            "phase": "firing",
            "name": "muzzle_flash"
        }
    ],
    "features": [
        {
            "type": "Aiming",
            "zoom": 0.25,
            "condition": {
                "allOf": [
                    { "doesNotHaveAttachmentGroup": "ar_sightsandscopes"},
                    { "unselectedFireMode": "grenade_launcher"}
                ]
            }
        },		
		{
        "type": "MuzzleFlash",
        "effects": [ { "phase": "firing", "name": "muzzle_flash" } ],
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"ar_suppressors" } ] }
		},
        {
            "type": "Sound",
            "fireSound": "ak12_silenced",
            "fireSoundVolume": 1,
            "condition": {
                "allOf": [
                    { "hasAttachmentGroup": "ar_suppressors"}
                ]
            }
        },
        {
            "type": "PartVisibility",
            "parts": [
                {
                    "name": "launcher",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachment": "gp25"}]
                    }
                }
            ],
            "glowingParts": []
        }
    ]
}