module Base
{
	imports    
    {
		Base
	}
	item CJ_AK74M
    {
        
        DisplayName	                        =	Rifle AK-74M,
        Icon	                            =	AK74M,
        WeaponSprite	                    =	AK74M,
        Weight	                            =	1.9,
        AmmoType                            =   Base.CJ545,
        AmmoBox                             =   CJ545Box,
        MagazineType                        =   MagAK74M,
        MaxAmmo                             =   30,
        RecoilDelay	                        =	3,
        ReloadTime                          =   25,
        AimingTime                          =   20,
        MinRange	                        =	0.67,
        MaxRange	                        =	34,
        MinAngle	                        =	0.965,
        DoorDamage	                        =	3,
        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	                        = 150,
        SwingSound	                        = o_AK_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                     = 1x_scope_ru 1x_scope_ru 1xru 1xru,
        ModelWeaponPart                     = 1x_scope_ru_2 1x_scope_ru_2 1xru 1xru,
        ModelWeaponPart                     = 2x_scope_ru 2x_scope_ru 1xru 1xru,
        ModelWeaponPart                     = 4x_scope_ru 4x_scope_ru 1xru 1xru,
        ModelWeaponPart                     = 4x_scope_ru_2 4x_scope_ru_2 1xru 1xru,
        ModelWeaponPart                     = 4x_scope_ru_3 4x_scope_ru_3 1xru 1xru,
        ModelWeaponPart                     = suppressor_ru_5_45 suppressor_ru_5_45 muzzle_on muzzle_on,
    }
	model AK74M
	{
		mesh                                = weapons/firearm/AK74M,
		texture                             = weapons/firearm/AK74M,
		scale                               = 0.01,

		attachment muzzle
		{
		offset                              = 0.0000 -0.0250 -0.4350,
		rotate                              = -180.0000 0.0000 0.0000,
		}

		attachment 1xru
		{
		offset                              = 0.0000 -0.0430 -0.0520,
		rotate                              = -90.0000 0.0000 0.0000,
		}

		attachment muzzle_on
		{
		offset                              = 0.0000 -0.0280 -0.4210,
		rotate                              = 90.0000 0.0000 0.0000,
		}

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