{
  "name": "cs_sg552",
  "type": "Gun",
  "maxAmmoCapacity": 30,
  "compatibleAmmo": ["ammocreative", "ammo556"],
  "damage": 5,
  "rpm": 727,
  "adsSpeed": 550,
  "fireModes": ["SINGLE", "AUTOMATIC", "BURST"],
  "fireSound": "m4a1",
  "animationType": "rifle",
  "compatibleAttachments": [
  ],
  "defaultAttachments": [
  ],
  "compatibleAttachmentGroups": [
    "ar_muzzle",
	"ar_sightsandscopes",
	"underbarrel"
  ],
  "gunRecoilInitialAmplitude" : 0.9,
  "shakeRecoilAmplitude" : 0.4,
  "shakeRecoilSpeed" : 2.5,
  "viewRecoilAmplitude" : 1.8,
  "phasedReloads": [
    {
      "phase": "RELOADING",
      "condition": {
        "allOf": [
          { "onEmptyReload": true },
          { "unselectedFireMode": "grenade_launcher" },
          { "unselectedFireMode": "laser_cannon" },
          { "unselectedFireMode": "shotgun" }
        ]
      },
      "duration": 2425,
      "animation": "animation.model.reloadempty"
    },
    {
      "phase": "RELOADING",
      "condition": {
        "allOf": [
          { "onEmptyReload": false },
          { "unselectedFireMode": "grenade_launcher" },
          { "unselectedFireMode": "laser_cannon" },
          { "unselectedFireMode": "shotgun" }
        ]
      },
      "duration": 1755,
      "animation": "animation.model.reload"
    }
  ],
  "drawAnimations": [
    {
      "name": "animation.model.draw",
      "duration": 650
    }
  ],
  "inspectAnimations": [
    {
      "name": "animation.model.inspect",
      "duration": 5500
    }
  ],
  "effects": [
    {
      "phase": "hit_scan_acquired",
      "name": "tracer"
    },
    {
      "phase": "firing",
      "name": "muzzle_flash_small"
    }
  ],
  "features": [
    {
      "type": "Aiming",
      "zoom": 0.2,
      "condition": {
        "allOf": [
          { "doesNotHaveAttachmentGroup": "ar_sightsandscopes"},
          { "doesNotHaveAttachmentGroup": "m16_sightsandscopes"}
        ]
      }
    },
		{
			"type": "Description",
			"text": "A compact gas-operated selective-fire carbine offering excellent controllability and accuracy in close-to-medium ranges, trading some muzzle velocity for improved maneuverability."
		},		
    {
      "type": "Sound",
      "fireSound": "m4a1_silenced",
      "fireSoundVolume": 1,
      "condition": { "hasAttachmentGroup": "ar_suppressors"}
    },
    {
      "type": "PartVisibility",
      "parts": [
		{
          "name": "rail",
          "visible": false,
          "condition": {
            "allOf": [
				{"doesNotHaveAttachmentGroup": "ar_sightsandscopes"},
				{"doesNotHaveAttachment": "cantedrail"}
				]
          }
        },
		{
          "name": "underbarrel_rail",
          "visible": true,
          "condition": {
            "allOf": [
				{"hasAttachmentGroup": "underbarrel"}
				]
          }
        }
      ]
    },
    {
      "type": "MuzzleFlash",
      "effects": [
        {
          "phase": "firing",
          "name": "muzzle_flash_small"
        }
      ],
      "condition": {
        "allOf": [
          { "doesNotHaveAttachmentGroup": "ar_suppressors"},
          { "unselectedFireMode": "grenade_launcher"},
          { "unselectedFireMode": "laser_cannon"},
          { "unselectedFireMode": "shotgun"}
        ]
      }
    }
  ],
  "glowingParts": [{"name": "glowy_new6"}]
}