Hunting Rifle: Difference between revisions

From PZwiki
Hunting Rifle
mNo edit summary
No edit summary
Line 1: Line 1:
{{Languages|Hunting Rifle}}
{{Languages|Hunting Rifle}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=39}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=39}}
{{About|[[Build 40]]|[[Build 41]]|MSR788 Rifle}}</noinclude>
{{Infobox weapon
{{Infobox weapon
|display_name=MSR788 Rifle
|display_name=MSR788 Rifle

Revision as of 16:08, 13 January 2022

The Game WorldItemsWeaponsFirearmsHunting Rifle
PlushSpiffo.pngThis article is about Build 40. For Build 41, see MSR788 Rifle.
MSR788 Rifle
MSR788 Rifle
General
Category Weapon
Encumbrance
Heavy Load
3
Equipped Two-handed
Condition max. 10
Skill Gunshot
Characteristics
Ammo type .308 Round
Magazine 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 Round. 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 smaller caliber varmint rifle, which has lower maximum & minimum damage and lower critical chance, but has lower recoil delay and higher hit chance.

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: Build 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 Round

MSR700 Rifle

Template:Navbox/Weapons