JS-2000 Shotgun: Difference between revisions

From PZwiki
(Added model)
(Updated to build 41.52 + new crafting table + sections/re-writiing + condition info)
Line 1: Line 1:
{{Languages|Shotgun}}
{{Languages}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=39}}
{{header|The Game World|Items|Weapons|Firearms|version=Version 41|incver=52}}
{{Infobox weapon
{{Infobox weapon
|display_name=JS-2000 Shotgun
|display_name=JS-2000 Shotgun
Line 7: Line 7:
|image=Shotgun_Model.png
|image=Shotgun_Model.png
|image_width=200px
|image_width=200px
|alternate_image=SmallShotgun.png
|alternate_image=Shotgun2.png
|alternate_name=JS-2000 Shotgun
|alternate_image2=Shotgun.png
|alternate_name2=Sawed-off JS-2000 Shotgun
|alternate_link2=Sawed-off JS-2000 Shotgun
<!--GENERAL-->
<!--GENERAL-->
|category=Weapon
|category=Weapon
Line 31: Line 35:
<!--TECHNICAL DETAILS-->
<!--TECHNICAL DETAILS-->
|class_name=Base.Shotgun
|class_name=Base.Shotgun
}}
}}A '''JS-2000 shotgun''', previously just '''shotgun''', is a pump-action shotgun in [[Project Zomboid]].  
A noisy ranged [[weapon]], the '''shotgun''' is a powerful firearm that will attract [[zombie]]s from a large distance to the [[player]] when fired. It fires [[Shotgun Shells|shotgun shells]], which fire pellets in a spread pattern that with the potential to kill multiple targets in the direction of fire. The shotgun will generally kill zombies in one to two hits; the closer a target is to the player, the more damage is inflicted. [[Shotgun Shells|shotgun shells]] are required to use the shotgun, but do not have to be in the secondary slot and can remain in your inventory. Only one shotgun shell is fired at a time.


The shotgun is the ideal weapon for quickly killing a large group of zombies and blasting an escape route, but due to its noise, it is only advisable to use it in the most dire of situations. Its heavy weight also makes it impractical to carry everywhere you go, so the shotgun should be carried strategically as needed.
==Usage==
The JS-2000 uses [[Shotgun Shells|shotgun shells]] as its ammunition, which fire pellets in a spread pattern. These pellets have the potential to kill multiple targets in a single shot. Due to this spread, the JS-2000 shotgun will generally kill zombies in one or two hits, regardless of the [[player|player's]] [[skill]]. The closer the target is to the player, the more damage that will be inflicted. [[Shotgun Shells|Shotgun shells]] aren't required to be in the secondary slot and can remain in the player's inventory. This makes the JS-2000 the ideal weapon for quickly killing a large group of [[zombie]]s and blasting an opening to escape.  


Since zombies are attracted to the noise the shotgun makes, it may also be used to lure a horde of zombies away from areas the player wishes to approach.
The JS-2000's heavy weight also makes it impractical to carry everywhere, so the shotgun should be carried strategically as needed.  


== Obtaining ==
===Noise===
The JS-2000 is one of the noisiest ranged [[weapon]]s, and will therefore attract [[zombie]]s from large distances. This can be used to the player's advantage as it can be used to lure zombies away from areas the player wishes to approach. Caution is advised as this may attract more zombies to the area if not done correctly.


Shotguns can usually be found in various containers and cabinets, including crates and wardrobes. Shotgun shells can be found in kitchen cabinets, warehouses or wardrobes.
Due to its loud noise, it is only advisable to use it when needed, and not to take out small groups of zombies.  


Occasionally, player may be able to loot a shotgun along with shells off of [[NPC]]s.
===Reloading===
JS-2000 shotguns can hold 6 shells, +1 after being racked. After each shot, the shotgun needs to be racked. This is done automatically, however if the player isn't given enough time to rack the shotgun, this will need to be done manually (default: {{key|X}}). Like other firearms, the shotgun can be reloaded with {{key|R}}. To avoid using the contextual menu in the inventory, the shotgun can be reloaded, racked or unloaded by holding {{key|R}} and selecting the desired action.  


==Reloading==
==Condition==
The JS-2000 shotgun is a [[Skills#Firearm|firearm]], therefore being influenced by the firearm skills: aiming and reloading. It has a maximum condition of 10 and will be damaged depending on the player's aiming skill. The chance of losing durability is: <code>1 in (20 + aiming x 2)</code>
=== Repairing ===
JS-2000 shotgun requires a minimum of 2 aiming, and either another JS-2000, or a sawed-off JS-2000. The aiming skill determines how much will be repaired and chance of being successful.


Shotguns can hold 6 shells each before needing to reload. If hardcore reloading is active, you must pump the shotgun with the racking key (default x) before you can fire again.
It should be noted that repairing the JS-2000 shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.
 
==Distribution==
JS-2000 shotguns can usually be found in various containers and cabinets, including crates and wardrobes. Shotgun shells can be found in kitchen cabinets, warehouses or wardrobes.
 
Occasionally, the player may be able to loot a shotgun along with shells off of [[NPC]] [[corpse|victims]].


== Crafting ==
== Crafting ==
{| class="pztable sortable" style="text-align:center;"
{{Crafting header|ing=2}}
|-
{{Crafting general|045|ing=2}}
! Name
! class="unsortable" | Recipe
! class="unsortable" | Description
{{RecipeLookup|3003}}
|}
|}


== Code ==
== Code ==
{{Retrieved|version=41|incver=50}}
'''''From items_weapons.txt (Project Zomboid directory/media/scripts/)'''''
{{Retrieved|version=41|incver=52}}
<pre> item Shotgun
<pre> item Shotgun
ImpactSound = null,
{
MaxRange = 7,
ImpactSound = null,
RangeFalloff = TRUE,
MaxRange = 7,
WeaponSprite = Shotgun,
RangeFalloff = TRUE,
SoundVolume = 200,
WeaponSprite = Shotgun,
MinAngle = 0.9,
SoundVolume = 200,
Type = Weapon,
MinAngle = 0.9,
KnockBackOnNoDeath = TRUE,
Type = Weapon,
Ranged = TRUE,
KnockBackOnNoDeath = TRUE,
ProjectileCount = 5,
Ranged = TRUE,
ConditionLowerChanceOneIn = 60,
ProjectileCount = 5,
Weight = 4,
ConditionLowerChanceOneIn = 60,
SplatNumber = 5,
Weight = 4,
PushBackMod = 0.8,
SplatNumber = 5,
MaxDamage = 2.2,
PushBackMod = 0.8,
SubCategory = Firearm,
MaxDamage = 2.2,
AimingMod = 2,
SubCategory = Firearm,
ConditionMax = 10,
AimingMod = 2,
ShareDamage = FALSE,
ConditionMax = 10,
MaxHitCount = 4,
ShareDamage = FALSE,
IsAimedHandWeapon = TRUE,
MaxHitCount = 4,
IsAimedFirearm = TRUE,
IsAimedHandWeapon = TRUE,
DoorDamage = 20,
IsAimedFirearm = TRUE,
UseEndurance = FALSE,
DoorDamage = 20,
DisplayName = JS-2000 Shotgun,
UseEndurance = FALSE,
MinRange = 0.61,
DisplayName = JS-2000 Shotgun,
SwingTime = 2,
MinRange = 0.61,
AngleFalloff = TRUE,
SwingTime = 2,
MultipleHitConditionAffected = FALSE,
AngleFalloff = TRUE,
SwingSound = FirearmShotgun,
MultipleHitConditionAffected = FALSE,
SoundRadius = 200,
SwingSound = FirearmShotgun,
MinDamage = 1.5,
SoundRadius = 200,
KnockdownMod = 8,
MinDamage = 1.5,
SplatBloodOnNoDeath = TRUE,
KnockdownMod = 8,
Icon = Shotgun2,
SplatBloodOnNoDeath = TRUE,
RunAnim = Run_Weapon2,
Icon = Shotgun2,
CriticalChance = 60,
RunAnim = Run_Weapon2,
CritDmgMultiplier = 2,
CriticalChance = 60,
AimingPerkCritModifier = 4,
        CritDmgMultiplier = 2,
HitChance = 70,
AimingPerkCritModifier = 4,
AimingPerkHitChanceModifier = 5,
HitChance = 70,
RecoilDelay = 50,
AimingPerkHitChanceModifier = 5,
SoundGain = 2,
RecoilDelay = 50,
ReloadTime = 25,
SoundGain = 2,
AimingTime = 20,
        ReloadTime = 25,
RequiresEquippedBothHands = TRUE,
        AimingTime = 20,
BreakSound = BreakMetalItem,
        RequiresEquippedBothHands = TRUE,
ShellFallSound = ShotgunShellHitGround,
        BreakSound =   BreakMetalItem,
MetalValue = 45,
        ShellFallSound = ShotgunShellHitGround,
TwoHandWeapon = TRUE,
        MetalValue = 45,
AmmoBox = ShotgunShellsBox,
        TwoHandWeapon = TRUE,
MaxAmmo = 6,
        AmmoBox = ShotgunShellsBox,
InsertAmmoSound = StormyShotgunInsertRound,
        MaxAmmo = 6,
EjectAmmoSound = Stormy9mmClipEject,
        InsertAmmoSound = StormyShotgunInsertRound,
RackSound = stormyShotgunPump,
        EjectAmmoSound = Stormy9mmClipEject,
AmmoType = Base.ShotgunShells,
        RackSound = stormyShotgunPump,
WeaponReloadType = shotgun,
        AmmoType = Base.ShotgunShells,
RackAfterShoot = TRUE,
        WeaponReloadType = shotgun,
JamGunChance = 2,
        RackAfterShoot = TRUE,
AttachmentType = Rifle,
        JamGunChance = 2,
ModelWeaponPart = ChokeTubeFull ChokeTube choketube choketube,
        AttachmentType = Rifle,
ModelWeaponPart = ChokeTubeImproved ChokeTube choketube choketube,
        ModelWeaponPart = ChokeTubeFull ChokeTube choketube choketube,
        ModelWeaponPart = ChokeTubeImproved ChokeTube choketube choketube,
        StopPower = 20,
}
</pre>
</pre>


Line 136: Line 150:


==See also==
==See also==
* [[Sawn Off Shotgun]]
* [[Double Barrel Shotgun]]
* [[Sawed-off Double Barrel Shotgun]]
* [[Sawed-off JS-2000 Shotgun]]


{{Navbox/Weapons}}
{{Navbox/Weapons}}
{{Navbox_weapons}}

Revision as of 16:19, 23 July 2021

The Game WorldItemsWeaponsFirearmsJS-2000 Shotgun
JS-2000 Shotgun
JS-2000 Shotgun
JS-2000 Shotgun Sawed-off JS-2000 Shotgun
General
Category Weapon
Encumbrance
Heavy Load
3
Equipped Two-handed
Condition max. 10
Skill Gunshot
Characteristics
Ammo type Shotgun Shells
Magazine size 6
Noise radius 200 tiles
Recoil delay 50
Reload time 25
Aiming time 20
Damage
Type Gunshot
Range 0.61–7 tiles
Damage 1.5–2.2
Accuracy 70
Knockback 0.8
Knockdown 8
Technical details
Base ID Base.Shotgun

A JS-2000 shotgun, previously just shotgun, is a pump-action shotgun in Project Zomboid.

Usage

The JS-2000 uses shotgun shells as its ammunition, which fire pellets in a spread pattern. These pellets have the potential to kill multiple targets in a single shot. Due to this spread, the JS-2000 shotgun will generally kill zombies in one or two hits, regardless of the player's skill. The closer the target is to the player, the more damage that will be inflicted. Shotgun shells aren't required to be in the secondary slot and can remain in the player's inventory. This makes the JS-2000 the ideal weapon for quickly killing a large group of zombies and blasting an opening to escape.

The JS-2000's heavy weight also makes it impractical to carry everywhere, so the shotgun should be carried strategically as needed.

Noise

The JS-2000 is one of the noisiest ranged weapons, and will therefore attract zombies from large distances. This can be used to the player's advantage as it can be used to lure zombies away from areas the player wishes to approach. Caution is advised as this may attract more zombies to the area if not done correctly.

Due to its loud noise, it is only advisable to use it when needed, and not to take out small groups of zombies.

Reloading

JS-2000 shotguns can hold 6 shells, +1 after being racked. After each shot, the shotgun needs to be racked. This is done automatically, however if the player isn't given enough time to rack the shotgun, this will need to be done manually (default: X). Like other firearms, the shotgun can be reloaded with R. To avoid using the contextual menu in the inventory, the shotgun can be reloaded, racked or unloaded by holding R and selecting the desired action.

Condition

The JS-2000 shotgun is a firearm, therefore being influenced by the firearm skills: aiming and reloading. It has a maximum condition of 10 and will be damaged depending on the player's aiming skill. The chance of losing durability is: 1 in (20 + aiming x 2)

Repairing

JS-2000 shotgun requires a minimum of 2 aiming, and either another JS-2000, or a sawed-off JS-2000. The aiming skill determines how much will be repaired and chance of being successful.

It should be noted that repairing the JS-2000 shotgun makes following repairs less likely to succeed and can, if repaired numerous times, cause reduced durability instead of increased.

Distribution

JS-2000 shotguns can usually be found in various containers and cabinets, including crates and wardrobes. Shotgun shells can be found in kitchen cabinets, warehouses or wardrobes.

Occasionally, the player may be able to loot a shotgun along with shells off of NPC victims.

Crafting

Product XP gained Skill(s) Recipe Ingredient 1 Ingredient 2
Shotgun.png
Sawed-off JS-2000 Shotgun
0 XP none
One of:
Hacksaw.png Saw
Handsaw.png Garden Saw

(keep)
Shotgun2.png
JS-2000 Shotgun
(consumed)

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.52

	item Shotgun
	{
	ImpactSound	=	null,
	MaxRange	=	7,
	RangeFalloff	=	TRUE,
	WeaponSprite	=	Shotgun,
	SoundVolume	=	200,
	MinAngle	=	0.9,
	Type	=	Weapon,
	KnockBackOnNoDeath	=	TRUE,
	Ranged	=	TRUE,
	ProjectileCount	=	5,
	ConditionLowerChanceOneIn	=	60,
	Weight	=	4,
	SplatNumber	=	5,
	PushBackMod	=	0.8,
	MaxDamage	=	2.2,
	SubCategory	=	Firearm,
	AimingMod	=	2,
	ConditionMax	=	10,
	ShareDamage	=	FALSE,
	MaxHitCount	=	4,
	IsAimedHandWeapon	=	TRUE,
	IsAimedFirearm	=	TRUE,
	DoorDamage	=	20,
	UseEndurance	=	FALSE,
	DisplayName	=	JS-2000 Shotgun,
	MinRange	=	0.61,
	SwingTime	=	2,
	AngleFalloff	=	TRUE,
	MultipleHitConditionAffected	=	FALSE,
	SwingSound	=	FirearmShotgun,
	SoundRadius	=	200,
	MinDamage	=	1.5,
	KnockdownMod	=	8,
	SplatBloodOnNoDeath	=	TRUE,
	Icon	=	Shotgun2,
	RunAnim	=	Run_Weapon2,
	CriticalChance	= 60,
        CritDmgMultiplier	= 2,
	AimingPerkCritModifier	= 4,
	HitChance	= 70,
	AimingPerkHitChanceModifier	= 5,
	RecoilDelay	= 50,
	SoundGain	= 2,
        ReloadTime	= 25,
        AimingTime	= 20,
        RequiresEquippedBothHands	= TRUE,
        BreakSound	=   BreakMetalItem,
        ShellFallSound	= ShotgunShellHitGround,
        MetalValue	= 45,
        TwoHandWeapon	= TRUE,
        AmmoBox	= ShotgunShellsBox,
        MaxAmmo	= 6,
        InsertAmmoSound	= StormyShotgunInsertRound,
        EjectAmmoSound	= Stormy9mmClipEject,
        RackSound	= stormyShotgunPump,
        AmmoType	= Base.ShotgunShells,
        WeaponReloadType	= shotgun,
        RackAfterShoot	= TRUE,
        JamGunChance	= 2,
        AttachmentType	= Rifle,
        ModelWeaponPart	= ChokeTubeFull ChokeTube choketube choketube,
        ModelWeaponPart	= ChokeTubeImproved ChokeTube choketube choketube,
        StopPower	= 20,
	}

History

Alpha
RC 2.9 Fixed bug with unlimited ammo.
41 Renamed to JS-2000 Shotgun

See also

Template:Navbox/Weapons