Hunting Rifle: Difference between revisions

From PZwiki
Hunting Rifle
No edit summary
Line 1: Line 1:
{{Notice|Improve}}
{{Testing|build=[[Build 41]]}}
{{languages}}
{{Languages|Hunting Rifle}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 37|incver=13}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=39}}
{{Weapons
{{Infobox weapon
|image = HuntingRifle.png
|display_name=MSR788 Rifle
|weapontype = Ranged
|name_colour=Weapon
|ammo = .308 ammo
|name_text_colour=Weapon
|weight = 3
|image=HuntingRifle.png
<!--GENERAL-->
|category=Weapon
|weight=3
|equipped=Two-handed
|condition_max=10
<!--CHARACTERISTICS-->
|ammo_type=[[.308 Ammo]]
|clip_size=3
|sound_radius=150
|recoil_delay=100
|reload_time=25
|aiming_time=40
<!--DAMAGE-->
|type=Gunshot
|min_range=0.61
|max_range=10
|hit_chance=25
|min_damage=1.2
|max_damage=2
|push_back=0.3
|knockdown=2
<!--TECHNICAL DETAILS-->
|class_name=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 '''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 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.

Revision as of 14:38, 16 July 2020

Profession engineer.png
This is a testing feature.
This article is about an item or mechanic that is currently in testing and not part of the stable version of the game.
The Game WorldItemsWeaponsFirearmsHunting 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 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: 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