Bare Hands: Difference between revisions

From PZwiki
No edit summary
mNo edit summary
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[File:Shoving2.png|thumb|righ|As of 0.2.0r RC2.9, unarmed combat is in the game. Although the player can fight without a weapon, unarmed combat is dangerous because it deals no damage.]]
{{languages|Unarmed combat}}
{{header|The Game World|Items|Weapons|Melee Weapons|type=Weapon|version=Version 41|incver=39}}{{Infobox weapon
|display_name=Bare Hands
|name_colour=Weapon
|name_text_colour=Weapon
|image=BareHands 120px.png
|image_width=
|alternate_image=
|alternate_name=
|alternate_link=
|alternate_image2=
|alternate_name2=
|alternate_link2=
|alternate_image3=
|alternate_name3=
|alternate_link3=
<!--GENERAL-->
|category=Weapon
|weight=
|function=
|equipped=
|secondary_item=
|condition_max=
<!--CHARACTERISTICS-->
|ammo_type=
|clip_size=
|sound_radius=
|recoil_delay=
|reload_time=
|aiming_time=
<!--DAMAGE-->
|type=Unarmed
|swing_time=2.5
|min_range=0
|max_range=1.2
|hit_chance=
|min_damage=0.2
|max_damage=0.4
|push_back=0.5
|knockdown=
|kill_move=
|effect_power=
|effect_range=
|effect_timer=
|effect_type=
|sensor_range=
<!--TECHNICAL DETAILS-->
|ingredients=
|class_name=Base.BareHands
}}'''Bare hands''' are the [[Player|player's]] primary [[weapon]] when they have none equipped.


If the [[player]] has no [[weapon]] equipped in the primary inventory slot, then the player will fight with unarmed combat when attacking. When fighting in this type of combat, the player will deal no damage to the target and prolonged fighting will still tire out a player. However, if an unarmed hit is successful, the target(s) will be pushed back and may even fall onto the ground. Unlike other methods of fighting, there is no way to attack a zombie that is on the floor.
__TOC__


This type of fighting takes up no space in the inventory, because nothing is required in the inventory. However, it should be used as a last-resort method of fighting because it cannot kill an enemy. If an alternative is available, fleeing is a much wiser choice. Once the enemies are a safe distance away or are on the floor, it is best to flee from the area because prolonged unarmed fighting will only tire the player.
==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.


{{clear}}
== Code ==
== Code ==
<nowiki>item barehands
'''''From items.txt (Project Zomboid directory/media/scripts/)'''''
{
{{Retrieved|version=41|incver=39}}
ImpactSound = null,
<pre> item BareHands
MaxRange = 1.2,
{
WeaponSprite = null,
MaxRange = 1.2,
MinAngle = 0.2,
WeaponSprite = null,
MinimumSwingTime = 2.5,
MinAngle = 0.1,
Type = Weapon,
MinimumSwingTime = 2.5,
SwingAnim = Shove,
Type = Weapon,
KnockBackOnNoDeath = TRUE,
SwingAnim = Shove,
WeaponWeight = 0,
KnockBackOnNoDeath = TRUE,
DisplayName = Axe,
WeaponWeight = 0,
Categories = Unarmed,
DisplayName = Bare Hands,
SwingAmountBeforeImpact = 0.1,
Categories = Unarmed,
SwingTime = 2.5,
SwingAmountBeforeImpact = 0.1,
MinDamage = 1,
SwingTime = 2.5,
SplatNumber = 0,
MinDamage = 0.2,
Weight = 0,
SplatNumber = 1,
PushBackMod = 0.85,
Weight = 1,
MaxDamage = 1.5,
PushBackMod = 0.5,
SplatBloodOnNoDeath = FALSE,
MaxDamage = 0.4,
MaxHitCount = 3,
SplatBloodOnNoDeath = FALSE,
Icon = Axe,
MaxHitCount = 3,
DoorDamage = 0,
Icon = Axe,
}</nowiki>
DoorDamage = 0,
TreeDamage = 0,
}</pre>


==See also==
*[[Baseball Bat]]
*[[Axe]]


{{Navbox/Weapons}}
{{Navbox/Weapons}}
[[Category:weapons]]

Revision as of 15:36, 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.4
Knockback 0.5
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,
 }

See also

Template:Navbox/Weapons