Shotgun

From PZwiki
Jump to: navigation, search
Language policy Language: English  • français • русский • polski • norsk



Shotgun
SmallShotgun.png
Weight: 3
Weapon Type: Firearm
Ammunition: Shotgun Shells
Hands: Both
Damage: Min - 1.5
Max - 2.2
Max Condition: 10
Degrade Chance: 1 in 60 (1.66%)
Item ID: Base.Shotgun

A noisy ranged weapon, the shotgun is a powerful firearm that will attract zombies from a large distance to the player when fired. It fires 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 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.

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.

Obtaining

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, player may be able to loot a shotgun along with shells off of NPCs.

Reloading

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.

Crafting

Name Recipe Description
SmallSawnOffShotgun.png
Sawn Off Shotgun x1
SmallShotgun.png + SmallSaw.png
Shotgun x1 Saw x1
(consumed)
Sawed-off shotgun has a greater damage area than that of the standard shotgun. Level 0


Code

item Shotgun
	AmmoType			= ShotgunShells,
	ImpactSound			= null,
	MaxRange			= 7,
	RangeFalloff			= TRUE,
	WeaponSprite			= Shotgun,
	SoundVolume			= 200,
	MinAngle			= 0.75,
	Type				= Weapon,
	MinimumSwingTime		= 2,
	ToHitModifier			= 10,
	NPCSoundBoost			= 1.5,
	KnockBackOnNoDeath		= TRUE,
	Ranged				= TRUE,
	SwingAmountBeforeImpact		= 0,
	ProjectileCount			= 5,
	ConditionLowerChanceOneIn	= 60,
	Weight				= 3,
	SplatN.umber			= 5,
	PushBackMod			= 0.8,
	MaxDamage			= 2.2,
	SubCategory			= Firearm,
	AimingMod			= 2,
	ConditionMax			= 10,
	ShareDamage			= FALSE,
	MaxHitCount			= 4,
	IsAimedHandWeapon		= TRUE,
	IsAimedFirearm			= TRUE,
	DoorDamage			= 20,
	IdleAnim			= Idle_Weapon2,
	UseEndurance			= FALSE,
	SwingAnim			= Rifle,
	WeaponWeight			= 3,
	DisplayName			= Shotgun,
	MinRange			= 0.61,
	SwingTime			= 2,
	AngleFalloff			= TRUE,
	MultipleHitConditionAffected	= FALSE,
	SwingSound			= Weapons/Firearm/shotgun2,
	SoundRadius			= 200,
	MinDamage			= 1.5,
	KnockdownMod			= 8,
	SplatBloodOnNoDeath		= TRUE,
	Icon				= Shotgun2,
	RunAnim				= Run_Weapon2,
	CriticalChance 			= 10,
	AimingPerkCritModifier 		= 0,
	HitChance 			= 100,
	AimingPerkHitChanceModifier 	= 0,
	RecoilDelay 			= 40,
	SoundGain 			= 2,
	ClipSize 			= 6,
	ReloadTime 			= 25,
	AimingTime 			= 55,
	RequiresEquippedBothHands 	= TRUE,
	BreakSound  			= PZ_MetalSnap,
	BulletOutSound 			= pumpaction,
	ShellFallSound 			= gaugeshell,
	MetalValue 			= 45,

History

Alpha
RC 2.9 Fixed bug with unlimited ammo.

See Also


vdeWeapons
Blunt Baseball BatCrowbarFishing RodFishing Rod (Crafted)Frying PanGolfclubHammerHockey StickPlankPoolcueRolling PinSledgehammerShovelSpiked Baseball BatSpiked PlankStone HammerBare HandsWooden Spear
Bladed AxeButter KnifeForkHunting KnifeIce PickKitchen KnifeLetter OpenerPenPencilRaw AxeScissorsScrewdriverSpoon
Firearm Hunting RiflePistolSawn Off ShotgunShotgunVarmint Rifle
Throwing Aerosol BombAlarm ClockFlame TrapMolotov CocktailNoise MakerPipe BombSmoke Bomb
Ammunition Shotgun Shells9mm Bullets9mm Magazine.233 Ammo.308 Ammo
Weapon Part Ammo StrapsChoke Tube ImprovedChoke Tube FullFiberglass StockIron SightsLaserRecoil PadRed DotSlingx2 Scopex4 Scopex8 Scope