{
  "name": "cs_sg550_sniper",
  "type": "Gun",
  "maxAmmoCapacity": 20,
  "compatibleAmmo": ["ammocreative", "ammo556"],
  "damage": 7.5,
  "rpm": 240,
  "adsSpeed": 550,
  "fireModes": ["SINGLE", "AUTOMATIC"],
  "fireSound": "m4a1",
  "animationType": "rifle",
  "compatibleAttachments": [
    "cantedrail",
	"rf_suppressor"
  ],
  "compatibleAttachmentGroups": [
	"snipers_sights",
	"ar_sightsandscopes"	
  ],
  "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.5,
      "condition": {
        "allOf": [
          { "doesNotHaveAttachmentGroup": "ar_sightsandscopes"},
          { "doesNotHaveAttachmentGroup": "m16_sightsandscopes"}
        ]
      }
    },
		{
			"type": "Description",
			"text": "A precision-configured variant of the SIG SG 550 with a heavier barrel and improved ergonomics—designed for designated-marksmanship and accurate medium-range fire while sacrificing some mobility and rate-of-fire versatility."
		},		
    {
      "type": "Sound",
      "fireSound": "m4a1_silenced",
      "fireSoundVolume": 1,
      "condition": { "hasAttachmentGroup": "rf_suppressors"}
    },
    {
      "type": "PartVisibility",
      "parts": [
          {
            "name": "rail",
            "visible": true,
            "condition": {
              "allOf": [
                { "hasAttachmentGroup": "m16_sightsandscopes" }
              ]
            }
          },
          {
            "name": "sight",
            "visible": false,
            "condition": {
              "allOf": [
                { "hasAttachmentGroup": "m16_sightsandscopes" }
              ]
            }
          }
        ]
    },
	 {
        "type": "Pip",
        "overlayTexture": "textures/gui/scope_pip.png",
        "parallax": true,
        "zoom": 0.88,
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"snipers_sights" } ] }
     },	
    {
      "type": "MuzzleFlash",
      "effects": [
        {
          "phase": "firing",
          "name": "muzzle_flash_small"
        }
      ],
      "condition": {
        "allOf": [
          { "doesNotHaveAttachment": "rf_suppressor"},
          { "unselectedFireMode": "grenade_launcher"},
          { "unselectedFireMode": "laser_cannon"},
          { "unselectedFireMode": "shotgun"}
        ]
      }
    }
  ],
  "glowingParts": [{"name": "glowy_new6"}]
}