{
    "name": "cs_rm277",
    "type": "Gun",
    "maxAmmoCapacity": 20,
    "compatibleAmmo": ["ammocreative", "ammo68"],
    "damage": 7,
    "rpm": 725,
    "fireModes": ["SINGLE", "AUTOMATIC"],
    "fireSound": "xm7_unsilenced",
    "animationType": "rifle",
    "compatibleAttachments": [
        "cantedrail",
		"cs_rm277_suppressor",
		"ar_muzzlebrake",
		"cs_rm277_mag"
    ],
    "defaultAttachments": [
		"cs_rm277_suppressor"
    ],	
    "compatibleAttachmentGroups": [
        "ar_sightsandscopes",
		"underbarrel",
        "cs_rm277_skins"
    ],
    "gunRecoilInitialAmplitude": 1,
    "gunRecoilPitchMultiplier": 1.1,
    "shakeRecoilAmplitude": 0.45,
    "shakeRecoilSpeed": 2.0,
    "viewRecoilAmplitude": 1.8,
    "phasedReloads": [
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": true }
                ]
            },
            "duration": 3035,
            "animation": "animation.model.reloadempty"
        },
        {
            "phase": "RELOADING",
            "condition": {
                "allOf": [
                    { "onEmptyReload": false }
                ]
            },
            "duration": 2185,
            "animation": "animation.model.reload"
        }
    ],
    "drawAnimations": [
        {
            "name": "animation.model.draw",
            "duration": 785
        }
    ],
    "inspectAnimations": [
        {
            "name": "animation.model.inspect",
            "duration": 3835
        }
    ],
    "effects": [
        {
            "phase": "hit_scan_acquired",
            "name": "tracer"
        },
        {
            "phase": "firing",
            "name": "muzzle_flash_small"
        }
    ],
    "features": [
    {
		"type": "Description",
		"text": "Suggested by: maxinablender"
	},
    {
      "type": "Sound",
      "fireSound": "xm7",
      "fireSoundVolume": 1,
      "condition": { "allOf":[ { "hasAttachment":"cs_rm277_suppressor" } ] }
    },	
    {
      "type": "Aiming",
      "zoom": 0.25,
      "condition": {
          "allOf": [
              { "doesNotHaveAttachmentGroup": "ar_sightsandscopes"}
          ]
      }
    },
        {
            "type": "PartVisibility",
            "parts": [
                {
                    "name": "sights",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachmentGroup": "m16_sightsandscopes"}]
                    }
                },
                {
                    "name": "magazine",
                    "visible": false,
                    "condition": {
                        "allOf": [{"hasAttachment": "cs_rm277_mag"}]
                    }
                },
                {
                    "name": "magazine2",
                    "visible": true,
                    "condition": {
                        "allOf": [{"hasAttachment": "cs_rm277_mag"}]
                    }
                }
            ]
        },		
		{
		"type": "MuzzleFlash",
		"effects": [
			{
			"phase": "firing",
			"name": "muzzle_flash"
			}
			],
			"condition": { "allOf":[ { "doesNotHaveAttachment":"cs_rm277_suppressor" } ] }
	}
    ],
    "glowingParts": [{"name": "glowy_new6"}]
}