Pistol

From PZwiki
Revision as of 18:23, 3 June 2013 by Kkdaman (talk | contribs)

Pistol


Template:Weapons

Summary

The pistol is an addition in version 2.0 r RC 1.

It is a semi-automatic sidearm that is capable of dealing very high damage onto both human and undead enemies. Like all firearms in Project Zomboid, the pistol generates a lot of noise, which tends to attract the undead to the wielder of the pistol.

It can be found in cabinets and possibly storage crates.

Reloading

It uses reloading system: You need to have the pistol in the Main slot then press R,after that the magazine goes into the main slot and then you need to hold down R then it starts loading bullets into the magazine,it can load up to 15 bullets into the magazine.When you are done put the pistol back into the main inventory slot press R to load the magazine into the pistol and then you are free to blast away.

Code

item Pistol
{
Type				=			Weapon,
		DisplayName			=			Pistol,
		SubCategory  		=           Firearm,
		Icon				=			HandGun,
		Ranged				=			true,
		MinAngle			=			0.88,
		MaxHitCount 		=			1,
		MaxDamage			=			2.8,
		MinDamage			=			2.3,
		MaxHitCount 		=			1,
        MaxRange 			= 			18.0,
		SwingAnim			=			Handgun,
		WeaponSprite		=			Handgun,
		SwingSound			=			pistol,
		SoundVolume			=			75,
		SoundRadius			=			75,
		ToHitModifier		=			1.5,
		NPCSoundBoost 		=			1.5,
		Weight				=			1.0,
		IsAimedFirearm 		=			true,
		WeaponWeight 		=			1.2,
		DoorDamage			=			5,
		MinimumSwingTime 	= 			2.0,
		SwingTime			=			2.0,
		SwingAmountBeforeImpact = 		0.0,
		PushBackMod			=			0.3,
		SplatNumber			=			3,
		SplatSize			=			3,
		KnockBackOnNoDeath 	=	 		false,
		SplatBloodOnNoDeath = 			true,
		ImpactSound			=			null,
		UseEndurance		=			false,
		ShareDamage			=			false,
		KnockdownMod		=			2.0,
		AmmoType			=			BerettaClip,
		ConditionLowerChanceOneIn = 	5,
		ConditionMax 			  = 	150,
		MultipleHitConditionAffected = 	false,

}

History

Alpha
RC 1 Added to the game.

See Also

Template:Navbox/Weapons