module Base
{

    item MCX_Rattler
    {
        DisplayCategory = Weapon,
        ImpactSound	=	null,
        MaxRange	=	11,
        WeaponSprite	=	MCX_RATTLER,
        SoundVolume	=	35,
        MinAngle	=	0.965,
        Type	=	Weapon,
        MinimumSwingTime	=	0.5,
        ToHitModifier	=	1.5,
        NPCSoundBoost	=	1.5,
        KnockBackOnNoDeath	=	TRUE,
        Ranged	=	TRUE,
        SwingAmountBeforeImpact	=	0,
        ProjectileCount	=	1,
        ConditionLowerChanceOneIn	=	60,
        Weight	=	3.7,
        SplatNumber	=	3,
        PushBackMod	=	0.3,
        SubCategory	=	Firearm,
        ConditionMax	=	10,
        ShareDamage	=	FALSE,
        MaxHitCount	=	2,
        PiercingBullets = TRUE,
        IsAimedFirearm	=	TRUE,
        DoorDamage	=	20,
        UseEndurance	=	FALSE,
        SwingAnim	=	Rifle,
        DisplayName	=	SIG MCX Rattler,
        MinRange	=	0.61,
        SwingTime	=	0.5,
        MultipleHitConditionAffected	=	FALSE,
	BringToBearSound = M16BringToBear,
      SwingSound	=	RattlerShoot,
        HitSound = BulletHitBody,
		ClickSound = M16Jam,
        SoundRadius	=	50,
        MinDamage	=	0.9,
        MaxDamage	=	1.5,
        SplatSize	=	3,
        KnockdownMod	=	4,
        SplatBloodOnNoDeath	=	TRUE,
        Icon	=	Rattler,
        RunAnim	=	Run_Weapon2,
        IdleAnim	=	Idle_Weapon2,
        CriticalChance = 27,
        CritDmgMultiplier = 10,
        AimingPerkCritModifier = 12,
        HitChance = 24,
        AimingPerkHitChanceModifier = 7,
        AimingPerkMinAngleModifier = 0.01,
        AimingPerkRangeModifier = 3,
        RecoilDelay = 0,
        SoundGain = 2,
        ReloadTime = 25,
        AimingTime = 20,
        RequiresEquippedBothHands = TRUE,
        BreakSound = M16Break,
        TwoHandWeapon = TRUE,
        MetalValue = 45,
        AmmoBox = 556Box,
        MaxAmmo = 30,
		EquipSound = M16Equip,
		UnequipSound = M16UnEquip,
        InsertAmmoSound = M16InsertAmmo,
        EjectAmmoSound = M16EjectAmmo,
		InsertAmmoStartSound = M16InsertAmmoStart,
		InsertAmmoStopSound = M16InsertAmmoStop,
		EjectAmmoStartSound = M16EjectAmmoStart,
		EjectAmmoStopSound = M16EjectAmmoStop,
        ShellFallSound = M16CartridgeFall,
        RackSound = M16Rack,
        MagazineType = Base.556Clip,
        AmmoType = Base.556Bullets,
        WeaponReloadType = boltaction,
        JamGunChance = 1.5,
        AttachmentType = Rifle,
        FireMode = Auto,
        FireModePossibilities = Auto/Single,
        StopPower = 2,
	
    }
	model MCX_RATTLER
	{
		mesh = weapons/firearm/MCX_RATTLER,
		texture = weapons/firearm/MCX_RATTLER_tex,
	}

	fixing Fix MCX_Rattler
    {
       Require : MCX_Rattler,

       Fixer : MCX_Rattler; Aiming=5,
    }



	recipe Fix Rattler
	{

	Base.AssaultRifle/Base.MCX_Rattler,
	Base.AssaultRifle/Base.MCX_Rattler,
	CanBeDoneFromFloor:true,
	Result:Base.MCX_Rattler,
	SkillRequired:Aiming=5,
	Sound:Hammering,
	Time:50.0,
	Category:Carpentry,
	}




	sound RattlerShoot
	{
		category = Item,
		maxInstancesPerEmitter = 2,
		clip
		{
		file = media/sound/Rattler.ogg,  
		}
	}
	sound Silenced
	{
		category = Item,
		maxInstancesPerEmitter = 2,
		clip
		{
		file = media/sound/Silenced.ogg,  
		}
	}

}	