module Base
{
	imports    
    {
		Base
	}
	item AssaultRifle
    {
        
        DisplayName	                            =	Rifle M16,
        Icon	                                =	M16,
        WeaponSprite	                        =	M16,
        Weight	                                =	2.9,
        AmmoType                                =   Base.556Bullets,
        AmmoBox                                 =   556Box,
        MagazineType                            =   Base.556Clip,
        MaxAmmo                                 =   30,
        RecoilDelay	                            =	0,
        ReloadTime                              =   25,
        AimingTime                              =   20,
        MinRange	                            =	0.67,
        MaxRange	                            =	35,
        MinAngle	                            =	0.965,
        DoorDamage	                            =	10,
        MinDamage	                            =	1.2,
        MaxDamage	                            =	1.7,
        StopPower                               =   2,
        PiercingBullets                         =   true,
        KnockdownMod	                        =	4,
        PushBackMod	                            =	0.3,
        FireMode                                =   Auto,
        FireModePossibilities                   =   Auto/Single,

        
        CriticalChance                          = 30,
        AimingPerkCritModifier                  = 0,
        HitChance                               = 20,
        AimingPerkHitChanceModifier             = 12,
        AimingPerkMinAngleModifier              = 0.01,
        AimingPerkRangeModifier                 = 1,
        
        
        SoundVolume	                            = 200,
        SoundRadius	                            = 130,
        SwingSound	                            = o_M16_o,
        BreakSound                              = M16Break,
        InsertAmmoSound                         = M16InsertAmmo,
        EjectAmmoSound                          = M16EjectAmmo,
        RackSound                               = M16Rack,
        BringToBearSound                        = M16BringToBear,
        HitSound                                = BulletHitBody,
		ClickSound                              = M16Jam,
        EquipSound                              = M16Equip,
		UnequipSound                            = M16UnEquip,
        InsertAmmoStartSound                    = M16InsertAmmoStart,
		InsertAmmoStopSound                     = M16InsertAmmoStop,
		EjectAmmoStartSound                     = M16EjectAmmoStart,
		EjectAmmoStopSound                      = M16EjectAmmoStop,
        ShellFallSound                          = M16CartridgeFall,

        
        Type	                                =	Weapon,
        DisplayCategory	                        =	Weapon,
        SubCategory                             =	Firearm,
        IsAimedFirearm	                        =	TRUE,
        UseEndurance	                        =	FALSE,
        ConditionMax	                   	    =	50,
        JamGunChance                            =   0,
        Ranged	                                =	TRUE,
        MetalValue                              =   45,
        SwingTime	                            =	2.0,
        MinimumSwingTime	                    =	0.5,
        ToHitModifier	                        =	1.5,
        SwingAmountBeforeImpact	                =	0,
        MultipleHitConditionAffected	        =	FALSE,
        SplatSize	                            =	3,
        SplatNumber	                            =	3,
        SplatBloodOnNoDeath	                    =	TRUE,
        ImpactSound	                            =	null,
        NPCSoundBoost	                        =	1.5,
        SoundGain                               =   2,
        SwingAnim	                            =	Rifle,
        RunAnim	                                =	Run_Weapon2,
        IdleAnim	                            =	Idle_Weapon2,
        ShareDamage	                            =	FALSE,
        MaxHitCount	                            =	2,
        KnockBackOnNoDeath	                    =	TRUE,
        ProjectileCount	                        =	1,
        ConditionLowerChanceOneIn	            =	30,
        TwoHandWeapon                           =   TRUE,
        RequiresEquippedBothHands               =   TRUE,
        WeaponReloadType                        =   boltaction,
        AttachmentType                          =   Rifle,

        ModelWeaponPart 				    = 	suppressor_us_5_56 suppressor_us_5_56 muzzle_on muzzle_on,
    }
	model M16
	{
		mesh                                    = weapons/firearm/CJ_M16,
		texture                                 = weapons/firearm/CJ_M16,
		scale                                   = 0.01,

		attachment muzzle
		{
			offset = 0.0000 -0.0270 -0.4680,
			rotate = -180.0000 0.0000 0.0000,
		}

		attachment muzzle_on
		{
			offset = 0.0000 -0.0300 -0.4340,
			rotate = 0.0000 0.0000 0.0000,
		}

		attachment world
		{
			offset = 0.0000 0.0000 0.0000,
			rotate = 0.0000 0.0000 0.0000,
		}
	}
}
