{
    "name": "cs_mpx",
    "type": "Gun",
    "maxAmmoCapacity": 30,
    "compatibleAmmo": ["ammocreative", "ammo9mm"],
    "damage": 3.5,
    "rpm": 850,
    "fireModes": ["SINGLE", "AUTOMATIC"],
    "fireSound": "ar57",
    "compatibleAttachments": [
      "cantedrail",
	  "cs_mpx_basepad"
    ],
    "compatibleAttachmentGroups": [
      "ar_sightsandscopes",
      "smg_muzzle",
	  "underbarrel",
      "cs_mpx_skins"
    ],
    "gunRecoilInitialAmplitude": 0.6,
    "shakeRecoilAmplitude": 0.35,
    "shakeRecoilSpeed": 2.0,
    "viewRecoilAmplitude": 1.2,
    "drawAnimations": [
      { "name": "animation.model.draw",    "duration": 675 }
    ],
    "inspectAnimations": [
      { "name": "animation.model.inspect", "duration": 3775 }
    ],
    "idleAnimations": [
      { "name": "animation.model.idle",    "duration": 10 }
    ],
    "phasedReloads": [
      {
        "phase": "RELOADING",
        "condition": { "allOf":[ { "onEmptyReload": true }, { "unselectedFireMode":"grenade_launcher" } ] },
        "duration": 2155,
        "animation": "animation.model.reloadempty"
      },
      {
        "phase": "RELOADING",
        "condition": { "allOf":[ { "onEmptyReload": false }, { "unselectedFireMode":"grenade_launcher" } ] },
        "duration": 1675,
        "animation": "animation.model.reload"
      }
    ],
  
    "effects": [
      { "phase": "hit_scan_acquired", "name": "tracer" }
    ],
  
    "features": [
	  {
		  "type": "Description",
		  "text": "Suggested amd Made by: not4nomaly"
	  },	
      {
        "type": "MuzzleFlash",
        "effects": [ { "phase": "firing", "name": "muzzle_flash" } ],
        "condition": { "allOf":[ { "doesNotHaveAttachment":"smg_suppressor" } ] }
      },
      {
        "type": "Aiming",
        "zoom": 0.25,
        "condition": { "allOf":[ { "doesNotHaveAttachmentGroup":"ar_sightsandscopes" } ] }
      },
      {
        "type": "PartVisibility",
        "parts": [
          {
            "name": "rail",
            "visible": true,
            "condition": { "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] }
          },
          {
            "name": "rearsight",
            "visible": false,
            "condition": { "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] }
          },		
          {
            "name": "rearsightflipped",
            "visible": true,
            "condition": { "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] }
          },
          {
            "name": "foresight",
            "visible": false,
            "condition": { "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] }
          },
          {
            "name": "foresightflipped",
            "visible": true,
            "condition": { "allOf":[ { "hasAttachmentGroup":"m16_sightsandscopes" } ] }
          }
        ]
      },
      {
        "type": "Sound",
        "fireSound": "cs_mpx_silenced",
        "fireSoundVolume": 1,
        "condition": { "allOf":[ { "hasAttachment":"smg_suppressor" } ] }
      }
    ],
  
    "glowingParts": []
  }