{
    "name": "cs_galil",
    "type": "Gun",
    "maxAmmoCapacity": 35,
    "compatibleAmmo": ["ammocreative", "ammo556"],
    "damage": 5.0,
    "rpm": 725,
    "fireModes": [
      "SINGLE", "AUTOMATIC"],
    "fireSound": "m4a1",
    "animationType": "rifle",
    "defaultAttachments": [],
    "compatibleAttachments": [
    ],
    "compatibleAttachmentGroups": [
      "ar_suppressors",
	  "underbarrel",
      "cs_galil_skins"
    ],
  
    "gunRecoilInitialAmplitude": 0.8,
    "shakeRecoilAmplitude": 0.35,
    "shakeRecoilSpeed": 2.0,
    "viewRecoilAmplitude": 1.8,
  
    "drawAnimations": [
      {
        "name": "animation.model.draw",
        "duration": 1070
      }
    ],
    "inspectAnimations": [
      {
        "name": "animation.model.inspect",
        "duration": 5480
      }
    ],
  
    "phasedReloads": [
      {
        "phase": "RELOADING",
        "condition": {
          "allOf": [
            { "onEmptyReload": true },
            { "unselectedFireMode": "grenade_launcher" }
          ]
        },
        "duration": 2360,
        "animation": "animation.model.reloadempty"
      },
      {
        "phase": "RELOADING",
        "condition": {
          "allOf": [
            { "onEmptyReload": false },
            { "unselectedFireMode": "grenade_launcher" }
          ]
        },
        "duration": 1830,
        "animation": "animation.model.reload"
      },
      {
        "phase": "RELOADING",
        "condition": {
          "allOf": [
            { "selectedFireMode": "grenade_launcher" }
          ]
        },
        "duration": 1580,
        "animation": "animation.model.launcherreload"
      }
    ],
  
    "effects": [
      {
        "phase": "hit_scan_acquired",
        "name": "tracer"
      }
    ],
  
    "features": [
      {
        "type": "MuzzleFlash",
        "effects": [
          { "phase": "firing", "name": "muzzle_flash" }
        ],
        "condition": {
          "allOf": [
            { "isUsingDefaultMuzzle": true },
            { "doesNotHaveAttachmentGroup": "ar_suppressors" }
          ]
        }
      },
      {
        "type": "Aiming",
        "zoom": 0.25,
        "condition": {
          "allOf": [
            { "doesNotHaveAttachmentGroup": "m16_sightsandscopes" }
          ]
        }
      },	  
      {
        "type": "PartVisibility",
        "parts": [
          {
            "name": "rail",
            "visible": true,
            "condition": { "allOf": [ { "hasAttachmentGroup": "m16_sightsandscopes" } ] }
          },
          {
            "name": "ironsight",
            "visible": false,
            "condition": { "allOf": [ { "hasAttachmentGroup": "m16_sightsandscopes" } ] }
          },
          {
            "name": "ironsight2",
            "visible": true,
            "condition": { "allOf": [ { "hasAttachmentGroup": "m16_sightsandscopes" } ] }
          },
          {
            "name": "foregrip",
            "visible": false,
            "condition": { "allOf": [ { "hasAttachmentGroup": "underbarrel" } ] }
          },
		  {
            "name": "tacforegrip",
            "visible": true,
            "condition": { "allOf": [ { "hasAttachmentGroup": "underbarrel" } ] }
          }
        ]
      },
      {
        "type": "Sound",
        "fireSound": "ak74_silenced",
        "fireSoundVolume": 1,
        "condition": {
          "allOf": [
            { "hasAttachmentGroup": "ar_suppressors" }
          ]
        }
      }
    ],
  
    "glowingParts": []
  }
  