Sledgehammer: Difference between revisions

From PZwiki
m (Fixed Coding)
No edit summary
Line 4: Line 4:
|weapontype = melee
|weapontype = melee
|ammo = none
|ammo = none
|weight = 10
|weight = 8
}}
}}


Line 26: Line 26:
  <nowiki>item Sledgehammer
  <nowiki>item Sledgehammer
{
{
Type = Weapon,
MaxRange = 1.9,
DisplayName = Sledgehammer,
WeaponSprite = Sledgehammer,
SubCategory    =     Swinging,
MinAngle = -0.2,
Icon = Sledgehamer,
Type = Weapon,
MinAngle = -0.2,
MinimumSwingTime = 4,
MaxDamage = 2.0,
EnduranceMod = 6,
MinDamage = 1.5,
SwingAmountBeforeImpact = 0.04,
MaxRange = 2.1,
Categories = Blunt,
MinRange = 0.7,
Weight = 8,
EnduranceMod = 5.0,
PushBackMod = 0.9,
SwingAnim = Sledgehammer,
MaxDamage = 3,
WeaponSprite = Sledgehammer,
SubCategory = Swinging,
IdleAnim = Idle_Weapon2,
DoorDamage = 40,
RunAnim = Run_Weapon2,
IdleAnim = Idle_Weapon2,
Weight = 10,
CantAttackWithLowestEndurance = TRUE,
DoorDamage = 40,
SwingAnim = Sledgehammer,
MinimumSwingTime = 4.0,
DisplayName = Sledgehammer,
SwingTime = 4.0,
MinRange = 0.7,
SwingAmountBeforeImpact = 0.04,
SwingTime = 4.2,
PushBackMod = 0.9,
DoorHitSound = sledgehammer,
Categories = Blunt,
MinDamage = 1.8,
DoorHitSound = sledgehammer,
KnockdownMod = 3,
KnockdownMod = 3.0,
Icon = Sledgehamer,
CantAttackWithLowestEndurance = true,
RunAnim = Run_Weapon2,
}</nowiki>
}</nowiki>
{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:weapons]]
[[Category:weapons]]
[[Category:Version 0.2.0p]]
[[Category:Version 0.2.0p]]

Revision as of 08:57, 12 May 2013

Template:Weapons

The sledgehammer is a heavy melee weapon that quickly encumbers the player. Large and weighty, it cannot be used at all if the player is over-encumbered. Despite these disadvantages, it kills zombies in one well placed hit. Before using a sledgehammer as a mainstream weapon, take a look at your weapon skills. It is recommended that there are at least 3 points in both swinging and recovery before even considering using it as a mainstream weapon. Even so, the player should beware of misses and should aim properly, is the player misses, it will take some time to recover.

Sledgehammers can also break down walls. This secondary use is managed like one does with a barricade. The player selects it in their inventory, then, while the sledgehammer icon is still stuck to the mouse cursor, click on the wall. When done correctly, this will destroy the wall and drop a few planks afterwards.

The sledgehammer also has a third purpose of being a door and tree chopper, coming second after the Axe.

The sledgehammer is very heavy.

Crafting

Name Recipe Description












Code

item Sledgehammer
{
	MaxRange	=	1.9,
		WeaponSprite	=	Sledgehammer,
		MinAngle	=	-0.2,
		Type	=	Weapon,
		MinimumSwingTime	=	4,
		EnduranceMod	=	6,
		SwingAmountBeforeImpact	=	0.04,
		Categories	=	Blunt,
		Weight	=	8,
		PushBackMod	=	0.9,
		MaxDamage	=	3,
		SubCategory	=	Swinging,
		DoorDamage	=	40,
		IdleAnim	=	Idle_Weapon2,
		CantAttackWithLowestEndurance	=	TRUE,
		SwingAnim	=	Sledgehammer,
		DisplayName	=	Sledgehammer,
		MinRange	=	0.7,
		SwingTime	=	4.2,
		DoorHitSound	=	sledgehammer,
		MinDamage	=	1.8,
		KnockdownMod	=	3,
		Icon	=	Sledgehamer,
		RunAnim	=	Run_Weapon2,
}

Template:Navbox/Weapons