{
  "name" : "cs_aps",
  "type": "Gun",
  "maxAmmoCapacity" : 26,
  "compatibleAttachments": [
	"cs_aps_muzzlebrake"
  ],
  "compatibleAttachmentGroups": [
  ],  
  "compatibleAmmo" : ["ammocreative","cs_ammo566"],
  "damage" : 6.5,
  "rpm" : 600,
  "fireModes" : ["SINGLE", "AUTOMATIC"],
  "fireSound" : "cs_aps",
  "gunRecoilInitialAmplitude" : 0.8,
  "shakeRecoilAmplitude" : 0.7,
  "shakeRecoilSpeed" : 2,
  "viewRecoilAmplitude" : 1.5,
  "effects": [
    {
               "phase": "hit_scan_acquired",
               "name": "tracer"
    },
    {
               "phase": "firing",
               "name": "muzzle_flash"
    }
  ],
  "phasedReloads": [
    {
      "phase": "RELOADING",
      "condition": "reloadIterationIndex == 0",
      "duration": 2255,
      "animation": "animation.model.reloadempty"
    },
    {
      "phase": "RELOADING",
      "condition": "reloadIterationIndex > 0",
      "duration": 2255,
      "animation": "animation.model.reload"
    }
  ],
  "drawAnimations": [
      {
          "name": "animation.model.draw",
          "duration": 775,
          "condition": "ammoCount > 0"
      },
      {
          "name": "animation.model.drawempty",
          "duration": 775,
          "condition": "ammoCount == 0"
      }
  ],
  "idleAnimations": [
      {
          "name": "animation.model.idle",
          "duration": 10,
          "condition": "ammoCount > 0"
      },
      {
          "name": "animation.model.idleempty",
          "duration": 10,
          "condition": "ammoCount == 0"
      }
  ], 
  "inspectAnimations": [
      {
          "name": "animation.model.inspect",
          "duration": 3835,
          "condition": "ammoCount > 0"
      },
      {
          "name": "animation.model.inspectempty",
          "duration": 3835,
          "condition": "ammoCount == 0"
      }
  ],
	"fireAnimations": [
        {
            "name": "animation.model.fire",
            "condition": "random"
        },
		{
            "name": "animation.model.fire2",
            "condition": "random"
        }
    ],	  
  "features": [
	{
			"type": "Sound",
			"fireSound": "cs_aps_silenced",
			"fireSoundVolume": 2,
			"condition": {
			"hasAttachment": "cs_aps_muzzlebrake"
			}
	},
		{
		"type": "MuzzleFlash",
		"effects": [
			{
			"phase": "firing",
			"name": "muzzle_flash"
			}
			],
			"condition": { "allOf":[ { "doesNotHaveAttachment":"cs_aps_muzzlebrake" } ] }
	}
  ]
}