{
    "name": "cs_scout",
    "type": "Gun",
    "maxAmmoCapacity": 5,
    "compatibleAmmo": ["ammocreative", "ammo762x51"],
    "damage": 10.00,
    "rpm": 56,
    "fireModes": ["SINGLE"],
    "fireSound": "glock17",
    "animationType": "rifle",
    "compatibleAttachments": [
        "cantedrail",
		"cs_scout_extended_mag"
    ],
    "compatibleAttachmentGroups": [
        "ar_suppressors"
    ],
    "gunRecoilInitialAmplitude" : 0.5,
    "shakeRecoilAmplitude" : 0.35,
    "shakeRecoilSpeed" : 2,
    "viewRecoilAmplitude" : 0.7,
    "phasedReloads": [
    {
      "phase": "RELOADING",
      "condition": {
        "allOf": [
          { "onEmptyReload": true }
        ]
      },
      "duration": 3050,
      "animation": "animation.model.reloadempty"
    },
    {
      "phase": "RELOADING",
      "condition": {
        "allOf": [
          { "onEmptyReload": false }
        ]
      },
      "duration": 2330,
      "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": "snipers_sights"},
                    { "unselectedFireMode": "laser_cannon"},
                    { "unselectedFireMode": "shotgun"}
                ]
            }
        },			
    {
      "type": "PartVisibility",
      "parts": [
        {
          "name": "extended_mag",
          "visible": true,
          "condition": {
            "allOf": [
				{"hasAttachment": "cs_scout_extended_mag"}
				]
          }
        },
		{
          "name": "magazine",
          "visible": false,
          "condition": {
            "allOf": [
				{"hasAttachmentGroup": "cs_scout_extended_mag"}
				]
          }
        }
      ]
    },
        {
            "type": "Sound",
            "fireSound": "vector_silenced",
            "fireSoundVolume": 1,
            "condition": {
                "allOf": [
                    { "hasAttachmentGroup": "ar_suppressors"},
                    { "unselectedFireMode": "grenade_launcher"},
                    { "unselectedFireMode": "laser_cannon"},
                    { "unselectedFireMode": "shotgun"}
                ]
            }
        },
		{
			"type": "Pip",
			"overlayTexture": "textures/gui/cs_scope_pip.png",
			"parallax": true,
			"zoom": 0.88,
			"condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"snipers_sights" } ] }
		},			
        {
            "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"}]
}