Chainsaw

From PZwiki
Revision as of 04:35, 13 January 2024 by Calvy (talk | contribs) (→‎Code: Codebox Update)
Chainsaw
Chainsaw
Chainsaw
General
Category Weapon
Encumbrance
Heavy Load
3
Function Chop trees
Equipped Two-handed
Condition max. 15
Skill Long Blunt
Damage
Type Blunt
Attack speed 3
Range 0.61–1.2 tiles
Damage 0.6–1.1
Knockback 0.5
Knockdown 0
Technical details
Base ID Base.Chainsaw
Just remember this is Zomboid. You want to carry a heavy, extremely loud, finite fuel weapon? You want to cut your own arm off or get eaten by a horde? It’s time to pick! I’m sure we’ll want to look into adding chainsaws at some point because, well its obvious, but their usefulness will be questionable.
Lemmy

A chainsaw is an upcoming weapon in Project Zomboid.

Chainsaws have been a popular request for Project Zomboid, with the developers commenting as early as EGX Rezzed 2014. They're expected to be extremely loud, heavy, dangerous and require constant refueling with gas. They will likely be more effective than an Axe at chopping trees.

The first functional chainsaw was added in build 41, however with only very basic functionality and only obtainable in debug mode or with server commands. The chainsaw was only added at this stage while RJ was experimenting with the new animations and weapon models, but was never removed.

Gallery

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\items_weapons.txt

Retrieved: Build 41.68
item Chainsaw
{
  DisplayCategory        = Weapon,
  MaxRange               = 1.2,
  WeaponSprite           = Chainsaw,
  MinAngle               = 0.72,
  Type                   = Weapon,
  MinimumSwingTime       = 3,
  KnockBackOnNoDeath     = TRUE,
  SwingAmountBeforeImpact = 0.02,
  Categories             = Blunt,
  Weight                 = 3,
  ConditionLowerChanceOneIn = 70,
  PushBackMod            = 0.5,
  SubCategory            = Swinging,
  ConditionMax           = 15,
  MaxHitCount            = 1,
  DoorDamage             = 8,
  SwingAnim              = Bat,
  CriticalChance         = 35,
  CritDmgMultiplier      = 6,
  DisplayName            = Chainsaw,
  MinRange               = 0.61,
  SwingTime              = 3,
  HitAngleMod            = -30,
  KnockdownMod           = 0,
  Icon                   = Crowbar,
  RunAnim                = Run_Weapon2,
  BreakSound             = BreakMetalItem,
  TreeDamage             = 0,
  MetalValue             = 150,
  MinDamage              = 0.6,
  MaxDamage              = 1.1,
  BaseSpeed              = 1,
  TwoHandWeapon          = TRUE,
  WeaponLength           = 0.4,
}

Trivia

See also