module Base
{
	imports 
 {
 Base
 }
	item cj_type_81
 {
  
  DisplayName                   = Rifle Type 81,
  Icon                          = cj_icon_firearm_type_81,
  WeaponSprite                  = cj_sprite_type_81,
  Weight                        = 3.4,
  AmmoType                      = Base.CJ762,
  AmmoBox                       = CJ762Box,
  MagazineType                  = 762_39Clip30rnd_RU,
  MaxAmmo                       = 30,
  RecoilDelay                   = 4,
  ReloadTime                    = 25,
  AimingTime                    = 20,
  MinRange                      = 0.67,
  MaxRange                      = 35,
  MinAngle                      = 0.965,
  DoorDamage                    = 4,
  MinDamage                     = 1.5,
  MaxDamage                     = 2.0,
  StopPower                     = 2,
  PiercingBullets               = TRUE,
  KnockdownMod                  = 4,
  PushBackMod                   = 0.3,
  FireMode                      = Auto,
  FireModePossibilities         = Auto/Single,

  
  CriticalChance                = 30,
  AimingPerkCritModifier        = 0,
  HitChance                     = 60,
  AimingPerkHitChanceModifier   = 12,
  AimingPerkMinAngleModifier    = 0.01,
  AimingPerkRangeModifier       = 1,
  
  
  SoundVolume                   = 75,
  SoundRadius                   = 150,
  SwingSound                    = o_Type81_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                     = 0.14,
  MinimumSwingTime              = 0.14,
  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_ru_7_62 suppressor_ru_7_62 muzzle_on muzzle_on,
 }
	model cj_sprite_type_81
	{
		mesh                           = weapons/firearm/cj_mdl_type_81,
		texture                        = weapons/firearm/cj_texture_type_81,
		scale                          = 0.01,

		attachment muzzle
		{
			offset = 0.0000 0.4482 0.0328,
			rotate = -90.0000 0.0000 0.0000,
		}

		attachment muzzle_on
		{
			offset = 0.0000 0.3679 0.0330,
			rotate = -0.0000 0.0000 0.0000,
		}

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