module Base
{
	imports 
 {
 Base
 }
	item cj_sg552_commando
 {
  
  DisplayName                   = Carbine SG 552 Commando,
  Icon                          = cj_icon_firearm_sg_552_commando,
  WeaponSprite                  = cj_sprite_sg552_commando,
  Weight                        = 3.1,
  AmmoType                      = Base.556Bullets,
  AmmoBox                       = 556Box,
  MagazineType                  = Base.556Clip,
  MaxAmmo                       = 30,
  RecoilDelay                   = 4,
  ReloadTime                    = 25,
  AimingTime                    = 20,
  MinRange                      = 0.67,
  MaxRange                      = 30,
  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                     = 50,
  AimingPerkHitChanceModifier   = 12,
  AimingPerkMinAngleModifier    = 0.01,
  AimingPerkRangeModifier       = 1,
  
  
  SoundVolume                   = 75,
  SoundRadius                   = 150,
  SwingSound                    = o_SG552_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.15,
  MinimumSwingTime              = 0.15,
  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               = 4x_scope_us 4x_scope_us upper_mount upper_mount,
  ModelWeaponPart               = 1x_scope_us_2 1x_scope_us_2 upper_mount upper_mount,
  ModelWeaponPart               = 1x_scope_us 1x_scope_us upper_mount upper_mount, 
  ModelWeaponPart               = 3x_scope_us 3x_scope_us upper_mount upper_mount,
  ModelWeaponPart               = 1x_scope_us_3 1x_scope_us_3 upper_mount upper_mount,
  ModelWeaponPart               = 4x_scope_us_2 4x_scope_us_2 upper_mount upper_mount,
  ModelWeaponPart               = 8x_scope_us 8x_scope_us upper_mount upper_mount,
  ModelWeaponPart               = 25x_scope_us 25x_scope_us upper_mount upper_mount,
  ModelWeaponPart               = suppressor_us_5_56 suppressor_us_5_56 muzzle_on muzzle_on,
 }
	model cj_sprite_sg552_commando
	{
		mesh                           = weapons/firearm/cj_mdl_sg552_commando,
		texture                        = weapons/firearm/cj_texture_sg552_commando,
		scale                          = 0.01,

		attachment muzzle
		{
			offset = 0.0000 0.2921 0.0305,
			rotate = -90.0000 0.0000 0.0000,
		}

		attachment muzzle_on
		{
			offset = 0.0000 0.2687 0.0307,
			rotate = 0.0000 0.0000 0.0000,
		}

		attachment upper_mount
		{
			offset = 0.0000 0.0577 0.0518,
			rotate = -0.0000 0.0000 0.0000,
		}

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