Machete: Difference between revisions

From PZwiki
mNo edit summary
(→‎Code: updated machete code)
Line 65: Line 65:
         MinAngle = 0.7,
         MinAngle = 0.7,
         Type = Weapon,
         Type = Weapon,
         HitFloorSound = BladeHit,
SwingSound = MacheteSwing,
ImpactSound = BladeHit,
         HitFloorSound = MacheteHit,
HitSound = BladeHit,
ImpactSound = MacheteHit,
        DoorHitSound = MacheteHit,
HitSound = MacheteHit,
         MinimumSwingTime = 4,
         MinimumSwingTime = 4,
         KnockBackOnNoDeath = FALSE,
         KnockBackOnNoDeath = FALSE,
Line 87: Line 89:
         SplatBloodOnNoDeath = FALSE,
         SplatBloodOnNoDeath = FALSE,
         Icon = Machete,
         Icon = Machete,
        BreakSound  =  BreakMetalItem,
         TreeDamage  =  10,
         TreeDamage  =  10,
         CriticalChance = 20,
         CriticalChance = 20,
Line 99: Line 100:
         AttachmentType = BigBlade,
         AttachmentType = BigBlade,
         Tags = CutPlant,
         Tags = CutPlant,
        DoorHitSound = MacheteHit,
HitSound = MacheteHit,
HitFloorSound = MacheteHit,
        BreakSound  =  MacheteBreak,
SwingSound = MacheteSwing,
     }</pre>
     }</pre>



Revision as of 18:27, 4 November 2021

Profession engineer.png
This is a testing feature.
This article is about an item or mechanic that is currently in testing and not part of the stable version of the game.
Machete
Machete
Machete
General
Category Weapon
Encumbrance
Heavy Load
2
Equipped One-handed
Condition max. 13
Skill Long Blade
Damage
Type Long Blade
Attack speed 4
Range 0.61–1.23 tiles
Damage 2–3
Knockback 0.3
Knockdown 2
Technical details
Base ID Machete

A machete is a one-handed long blade weapon. The weapon can be attached to the character's back for quick access and weight reduction.

Usage

Pros Cons
  • Faster swing speed than most melee weapons(same speed as the Hand Axe)
  • Deals more damage than most melee weapons.
  • Good durability.
  • Longer range than most one-handed melee weapons.
  • Hard to level up long blade skill due to the machete and Katana being the only long blade weapons.
  • Quite difficult to find.

Other

Can be used to remove bushes.

Multi-hit

In modes with multi-hit enabled, machetes can hit a maximum of two targets in one swing.

Distribution

Buildings

  • The best method of finding a machete is looting hardware stores. The West Point and Riverside shopping district each have a hardware store.
  • Machetes can also be found inside of barricaded buildings.

Zombies

  • After 20 days survived, a machete can be rarely found impaled in some zombies.

Gallery

Code

From items_weapons.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.53

    item Machete
    {
        MaxRange	=	1.23,
        WeaponSprite	=	Machete,
        MinAngle	=	0.7,
        Type	=	Weapon,
		SwingSound = MacheteSwing,
        HitFloorSound	=	MacheteHit,
		ImpactSound	=	MacheteHit,
        DoorHitSound = MacheteHit,
		HitSound	=	MacheteHit,
        MinimumSwingTime	=	4,
        KnockBackOnNoDeath	=	FALSE,
        SwingAmountBeforeImpact	=	0.02,
        Categories	=	LongBlade,
        ConditionLowerChanceOneIn	=	25,
        Weight	=	2,
        SplatNumber	=	2,
        PushBackMod	=	0.3,
        SubCategory	=	Swinging,
        ConditionMax	=	13,
        MaxHitCount	=	2,
        DoorDamage	=	10,
        SwingAnim	=	Bat,
        DisplayName	=	Machete,
        MinRange	=	0.61,
        SwingTime	=	4,
        KnockdownMod	=	2,
        SplatBloodOnNoDeath	=	FALSE,
        Icon	=	Machete,
        TreeDamage  =   10,
        CriticalChance	=	20,
        CritDmgMultiplier = 5,
        MinDamage	=	2,
        MaxDamage	=	3,
        BaseSpeed = 1,
        WeaponLength = 0.3,
        DamageCategory = Slash,
        DamageMakeHole = TRUE,
        AttachmentType = BigBlade,
        Tags = CutPlant,
        DoorHitSound = MacheteHit,
		HitSound = MacheteHit,
		HitFloorSound = MacheteHit,
        BreakSound  =   MacheteBreak,
		SwingSound = MacheteSwing,
     }

See also