{
  "name": "cs_svd",
  "type": "Gun",
  "maxAmmoCapacity": 10,
  "compatibleAmmo" : ["ammocreative","cs_ammo762x54r"],
  "damage": 15,  
  "rpm": 200,  
  "adsSpeed": 500,
  "fireSound": "gm6lynx",
  "fireModes" : ["SINGLE"],
  "animationType": "rifle",
  "defaultAttachments": [
  "cs_pso"
  ],  
  "compatibleAttachments": [
  "cantedrail",
  "cs_pso"
  ],
  "compatibleAttachmentGroups": [
  "rf_muzzle",
  "ar_sightsandscopes",
  "snipers_sights",  
  "underbarrel",
  "cs_svd_skins"
  ],  
  "advancedRecoil": {
        "enabled": true,
        "vertical": {
            "amplitude": 1.3,
            "recovery": 0.28,
            "smoothness": 0.08
        },
        "horizontal": {
            "amplitude": 0.6,
            "recovery": 0.35, 
            "smoothness": 0.1,
            "randomness": 0.2
        },
        "pattern": "pull_up"
  },  
  "gunRecoilInitialAmplitude": 1.3,
  "shakeRecoilAmplitude": 0.65,
  "shakeRecoilSpeed": 3.5,
  "viewRecoilAmplitude": 6.0,
  "phasedReloads": [
    {
      "phase": "RELOADING",
      "condition": "reloadIterationIndex > 0",
      "duration": 1975,
      "animation": "animation.model.reload"
    },
    {
      "phase": "RELOADING",
      "condition": "reloadIterationIndex == 0",
      "duration": 2335,
      "animation": "animation.model.reloadempty"
    }
  ],
  "inspectAnimations": [
    {
      "name": "animation.model.inspect",
      "duration": 5425,
      "condition": "ammoCount > 0"
    },
    {
      "name": "animation.model.inspectempty",
      "duration": 5425,
      "condition": "ammoCount == 0"
    }
  ],
  "idleAnimations": [
    {
      "name": "animation.model.idle",
      "duration": 100,
      "condition": "ammoCount > 0"
    },
    {
      "name": "animation.model.idleempty",
      "duration": 1,
      "condition": "ammoCount == 0"
    }
  ],
  "drawAnimations": [
    {
      "name": "animation.model.draw",
      "duration": 755,
      "condition": "ammoCount > 0"
    },
    {
      "name": "animation.model.drawempty",
      "duration": 755,
      "condition": "ammoCount == 0"
    }
  ],
	"fireAnimations": [
        {
            "name": "animation.model.fire",
            "condition": "random"
        },
		{
            "name": "animation.model.fire2",
            "condition": "random"
        }
    ],  
  "features": [
    {
      "type": "MuzzleFlash",
      "effects": [
        {
          "phase": "firing",
          "name": "muzzle_flash"
        }
      ],
      "condition": {
        "allOf": [
          {
            "isUsingDefaultMuzzle": true
          },
          {
            "doesNotHaveAttachmentGroup": "smg_suppressors"
          }
        ]
      }
    },
	{
        "type": "Aiming",
        "zoom": 0.3,
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"m16_sightsandscopes" }, { "doesNotHaveAttachment":"cs_pso" } ] }
    },	
	{
			"type": "Sound",
			"fireSound": "gm6lynx_silenced",
			"fireSoundVolume": 1,
			"condition": {
			"hasAttachmentGroup": "rf_muzzle"
			}
	},
	{
		"type": "MuzzleFlash",
		"effects": [
			{
			"phase": "firing",
			"name": "muzzle_flash"
			}
			],
			"condition": {
			"allOf": [
			{
			"isUsingDefaultMuzzle": true
			},
			{
			"doesNotHaveAttachmentGroup": "rf_muzzle"
			}
			]
		}
	},
    {
            "type": "PartVisibility",
            "parts": [
                {
                    "name": "scopemount",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                    }
                },
                {
                    "name": "handguard",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "underbarrel"}]
                    }
                },
                {
                    "name": "tactical_guard",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "underbarrel"}]
                    }
                }				
		]
	}
  ],
  "effects": [
    {
               "phase": "hit_scan_acquired",
               "name": "tracer"
    },
    {
               "phase": "firing",
               "name": "muzzle_flash"
    }
]
}