Bare Hands: Difference between revisions
mNo edit summary |
(→Code) |
||
Line 64: | Line 64: | ||
== Code == | == Code == | ||
'''''From items.txt (Project Zomboid directory/media/scripts/)''''' | '''''From items.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=39}} | ||
<pre> item BareHands | <pre> item BareHands | ||
{ | |||
MaxRange = 1.2, | |||
WeaponSprite = null, | |||
MinAngle = 0.1, | |||
MinimumSwingTime = 2.5, | |||
Type = Weapon, | |||
SwingAnim = Shove, | |||
KnockBackOnNoDeath = TRUE, | |||
WeaponWeight = 0, | |||
DisplayName = Bare Hands, | |||
Categories = Unarmed, | |||
SwingAmountBeforeImpact = 0.1, | |||
SwingTime = 2.5, | |||
MinDamage = 0.2, | |||
SplatNumber = 1, | |||
Weight = 1, | |||
PushBackMod = 0.5, | |||
MaxDamage = 0.4, | |||
SplatBloodOnNoDeath = FALSE, | |||
MaxHitCount = 3, | |||
Icon = Axe, | |||
DoorDamage = 0, | |||
TreeDamage = 0, | |||
}</pre> | |||
==See also== | ==See also== |
Revision as of 15:34, 16 July 2020
Bare Hands | |
---|---|
File:BareHands 120px.png | |
General | |
Category | Weapon |
Skill | Unarmed |
Damage | |
Type | Unarmed |
Attack speed | 2.5 |
Range | 0–1.2 tiles |
Damage | 0.2–0.5 |
Knockback | 1.05 |
Technical details | |
Base ID | Base.BareHands |
Bare hands are the player's primary weapon when they have none equipped.
Overview
When fighting with this type of combat, the player will have 2 types of "moves".
Shove
The first move is a simple shove, deals no damage to the target and prolonged fighting will tire out a player. However, if an unarmed push successfully hits an enemy, the target(s) will be pushed back and may even fall onto the ground. This attack can push up to 3 enemies at once (one of the few "weapons" in game that can target 3) and if the attack is charged more, the enemies are pushed more.
Stomp
The second move is a stomp to the head. This only works if the enemy is knocked down on the floor. Unlike the "push", this attack deals damage to the enemy, although it still takes many strikes to kill a downed foe. This also prevents a downed enemy from getting back on its feet, which is very useful in a 1 v 1 situation.
Strategy
The best strategy is to push a standing enemy to the floor with one well-charged push. Then, the player should try to stomp the enemy repeatedly in order to prevent the enemy from getting back up and in order to kill it. Unarmed combat in general will expend energy very quickly because the attacks are very weak. This should not be attempted if there are many enemies because it takes a lot of time to kill an enemy. Instead, fleeing is usually more viable. A weapon is also far more powerful than unarmed combat and should still be obtained as soon as possible.
Code
From items.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.39
item BareHands { MaxRange = 1.2, WeaponSprite = null, MinAngle = 0.1, MinimumSwingTime = 2.5, Type = Weapon, SwingAnim = Shove, KnockBackOnNoDeath = TRUE, WeaponWeight = 0, DisplayName = Bare Hands, Categories = Unarmed, SwingAmountBeforeImpact = 0.1, SwingTime = 2.5, MinDamage = 0.2, SplatNumber = 1, Weight = 1, PushBackMod = 0.5, MaxDamage = 0.4, SplatBloodOnNoDeath = FALSE, MaxHitCount = 3, Icon = Axe, DoorDamage = 0, TreeDamage = 0, }