{
  "name": "cs_mg338",
  "type": "Gun",
  "maxAmmoCapacity": 100,
  "compatibleAmmo": ["ammocreative", "cs_ammo338normamagnum"],
  "damage": 12.0,
  "rpm": 550,
  "fireModes": ["AUTOMATIC"],
  "fireSound": "cs_mg338",
  "animationType": "rifle",
  "prepareFireCooldownDuration": 100,
    "compatibleAttachments": [
      "cantedrail",
	  "rf_suppressor"
    ],
    "compatibleAttachmentGroups": [
      "ar_sightsandscopes",
      "cs_mg338_skins"
    ],  
  "gunRecoilInitialAmplitude": 1.1,
  "shakeRecoilAmplitude": 0.8,
  "shakeRecoilSpeed": 1.0,
  "viewRecoilAmplitude": 1.5,
  "drawAnimations": [
    { "name": "animation.model.draw", "duration": 835, "condition": "ammoCount > 0" },
    { "name": "animation.model.drawempty", "duration": 835, "condition": "ammoCount == 0" }	
  ],
	"fireAnimations": [
        {
            "name": "animation.model.fire",
            "condition": "random"
        },
		{
            "name": "animation.model.fire2",
            "condition": "random"
        }
    ],  
  "inspectAnimations": [
    { "name": "animation.model.inspect", "duration": 4725, "condition": "ammoCount > 0"  },
    { "name": "animation.model.inspectempty", "duration": 4725, "condition": "ammoCount == 0" }	
  ],
  "idleAnimations": [
    { "name": "animation.model.idle", "duration": 1, "condition": "ammoCount > 0"  },
    { "name": "animation.model.idleempty", "duration": 1, "condition": "ammoCount == 0" }	
  ],  
  "phasedReloads": [
    {
      "phase": "RELOADING",
      "condition": { "onEmptyReload": true },
      "duration": 5955,
      "animation": "animation.model.reloadempty"
    },
    {
      "phase": "RELOADING",
      "condition": { "onEmptyReload": false },
      "duration": 4755,
      "animation": "animation.model.reload"
    }
  ],
    "effects": [
      {
        "phase": "hit_scan_acquired",
        "name": "tracer"
      }
    ],
  "features": [
    {
		"type": "Description",
		"text": "Suggested by: Me-Gusta"
	},
	{
            "type": "MuzzleFlash",
            "effects": [
                {
                    "phase": "firing",
                    "name": "muzzle_flash_big_ex"
                }
            ],
            "condition": {
                "allOf": [
                    {
                        "isUsingDefaultMuzzle": true
                    },
                    {
                        "doesNotHaveAttachment": "rf_suppressor"
                    }
                ]
            }
        },
    {
      "type": "Aiming",
      "zoom": 0.25,
      "condition": { "allOf": [{ "doesNotHaveAttachmentGroup": "ar_sightsandscopes" }] }
    },	
    {
      "type": "PartVisibility",
      "parts": [
        {
          "name": "sights",
          "visible": false,
          "condition": { "allOf": [{ "hasAttachmentGroup": "m16_sightsandscopes" }] }
        }
      ]
    },
    {
      "type": "Sound",
      "fireSound": "l96a1_silenced",
      "fireSoundVolume": 1.0,
      "condition": { "allOf": [{ "hasAttachment": "rf_suppressor" }] }
    }
  ],
  "glowingParts": []
}