Hunting Rifle

From PZwiki
Jump to: navigation, search
Engineer.png
This article/section is about an item or mechanic that is currently in testing and not part of the stable version of the game.
This feature can be accessed via the testing branch for Build 41.
Language policy Language: English
MSR788 Rifle
MSR788 Rifle
General
Category Weapon
Weight
Heavy Load
3
Equipped Two-handed
Condition max. 10
Characteristics
Ammo type .308 Ammo
Clip size 3
Noise radius 150 tiles
Recoil delay 100
Reload time 25
Aiming time 40
Damage
Type Gunshot
Range 0.61–10 tiles
Damage 1.2–2
Accuracy 25
Knockback 0.3
Knockdown 2
Technical details
Base ID Base.Huntingrifle


The Hunting rifle is a long range bolt-action rifle. It uses a clip with a capacity of 5 rounds .308 Ammo. The weapon has a large range, a long recoil delay, high critical chance and deals high damage compared to other weapons, but it takes some practise (aiming skill). The weapon is very loud and will attract nearby zombies in a large area.

The rifle is also closely related to the varmint rifle, which has higher maximum damage, higher hit chance and lower recoil delay, but has lower minimum damage, lower critical chance and is a lot louder.

You can also modify the weapon with 8 types of modifications.

The hunting rifle along with the varmint rifle can be found in the gun shop (above Twiggy's) in West Point.


Reloading

Reloading difficulty can be set to either Easy, Normal, or Hardcore.

Easy mode

In-game description: Reloading handguns refills the weapon provided there is ammunition available.

Normal mode

In-game description: Reloading handguns ejects or inserts a magazine. The magazine must be reloaded separately.

Hardcore mode

In-game description: Reloading handguns ejects or inserts a magazine. The magazine must be reloaded separately. Weapons must be racked before firing to ensure a round is chambered.

Modifications

There are 8 types of modifications which can be added to the rifle:

  • Iron sights Iron Sights
  • 2x Scope 2x Scope
  • 4x Scope 4x Scope
  • 8x Scope 8x Scope
  • Sling Sling
  • Ammo strap Ammo Strap
  • Recoil pad Recoil Pad
  • Fiberglass stock Fiberglass Stock

They can all be added to the rifle using a screwdriver.

Code

From newitems.txt (Project Zomboid directory/media/scripts/)

Retrieved
Version 41.39
item HuntingRifle
 {
 ImpactSound = null,
 MaxRange = 10,
 WeaponSprite = HuntingRifle,
 SoundVolume = 200,
 MinAngle = 0.95,
 Type = Weapon,
 MinimumSwingTime = 0.5,
 ToHitModifier = 1.5,
 NPCSoundBoost = 1.5,
 KnockBackOnNoDeath = TRUE,
 Ranged = TRUE,
 SwingAmountBeforeImpact = 0,
 ProjectileCount = 1,
 ConditionLowerChanceOneIn = 60,
 Weight = 3,
 SplatNumber = 3,
 PushBackMod = 0.3,
 MaxDamage = 2,
 SubCategory = Firearm,
 ConditionMax = 10,
 ShareDamage = FALSE,
 MaxHitCount = 1,
 IsAimedFirearm = TRUE,
 DoorDamage = 20,
 UseEndurance = FALSE,
 SwingAnim = Rifle,
 DisplayName = MSR788 Rifle,
 MinRange = 0.61,
 SwingTime = 0.5,
 MultipleHitConditionAffected = FALSE,
 SwingSound = FirearmHunterShot,
 SoundRadius = 150,
 MinDamage = 1.2,
 SplatSize = 3,
 KnockdownMod = 2,
 SplatBloodOnNoDeath = TRUE,
 Icon = RifleHunting,
 RunAnim = Run_Weapon2,
 IdleAnim = Idle_Weapon2,
 CriticalChance = 30,
 CritDmgMultiplier = 10,
 AimingPerkCritModifier = 15,
 HitChance = 25,
 AimingPerkHitChanceModifier = 15,
 AimingPerkMinAngleModifier = 0.01,
 AimingPerkRangeModifier = 3,
 RecoilDelay = 100,
 PiercingBullets = TRUE,
 SoundGain = 2,
 ReloadTime = 25,
 AimingTime = 40,
 RequiresEquippedBothHands = TRUE,
 BreakSound = BreakMetalItem,
 MetalValue = 45,
 TwoHandWeapon = TRUE,
 AmmoBox = 308Box,
 MaxAmmo = 3,
 InsertAmmoSound = BulletInRifle,
 EjectAmmoSound = Stormy9mmClipEject,
 RackSound = BulletOutVarmint,
 AmmoType = Base.308Bullets,
 WeaponReloadType = boltaction,
 ModelWeaponPart = x2Scope HuntingRifleScope,
 ModelWeaponPart = x4Scope HuntingRifleScope,
 ModelWeaponPart = x8Scope HuntingRifleScope,
 RackAfterShoot = TRUE,
 MagazineType = Base.308Clip,
 JamGunChance = 5,
 AttachmentType = Rifle,
 }

History

Build
28 Added to the game.
41 Renamed to MSR788 Rifle

See also

.308 Ammo

Varmint Rifle


Weapons vde
Blunt Bare HandsBaseball BatCrowbarFishing RodFishing Rod Without LineFishing Rod (crafted)Frying PanGolfclubHammerHockey StickPlankPoolcueRolling PinSledgehammerShovelSpiked Baseball BatSpiked PlankStone HammerWooden Spear
Bladed Butter KnifeForkHunting KnifeIce PickKitchen KnifeLetter OpenerPenPencilScissorsScrewdriverSpoon
Axes AxeRaw Axe
Firearms Hunting RiflePistolSawn Off ShotgunShotgunVarmint Rifle
Throwables Aerosol BombAlarm ClockFlame TrapMolotov CocktailNoise MakerPipe BombSmoke Bomb
Ammo Shotgun Shells9mm Rounds.223 Ammo.308 Ammo
Weapon Parts ItemsAmmo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope