Difference between revisions of "Smoke Bomb"

From PZwiki
Jump to: navigation, search
(Use)
(Added image and more information on use cases.)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Notice|Improve}}
 
{{Notice|Improve}}
 
{{languages}}
 
{{languages}}
 
+
{{header|Project Zomboid|Items|Weapons|Throwables|Bombs and Traps|type=Weapon|version=Version 40|incver=43}}
{{Items
+
{{Infobox weapon
|image = Smokebomb.png
+
|display_name=Smoke Bomb
|weight = 1.5
+
|name_colour=Weapon
 +
|name_text_colour=Weapon
 +
|image=Smokebomb_120px.png
 +
|alternate_image=SmokebombTimer.png
 +
|alternate_name=Smoke Bomb with Upgrade
 +
|alternate_link=
 +
<!--GENERAL-->
 +
|category=Weapon
 +
|weight=1.5
 +
|equipped=One-handed
 +
<!--DAMAGE-->
 +
|swing_time=1.5
 +
|min_range=0
 +
|max_range=10
 +
|effect_type=Smoke
 +
|effect_range=5
 +
|effect_timer=50
 +
<!--TECHNICAL DETAILS-->
 +
|class_name=''See [[#Item IDs|Item IDs]]''
 +
|no_style=
 
}}
 
}}
  
Line 11: Line 30:
 
== Use ==
 
== Use ==
  
A potential method of use would be to drop one of these to cover yourself and get away from a horde that is following you.
+
A Smoke Bomb pacifies zombies that are in the area of effect of the bomb when it explodes. It deals no damage to zombies.
 +
 
 +
Note that although it immediately pacifies zombies in its area, they may still be influenced by [[zombie#Movement and Horde Behavior|horde behavior]] and continue towards their target. This is especially prevalent if there are many zombies nearby that were unaffected by the Smoke Bomb which can cause its effects to be almost unnoticeable.
  
 
== Crafting ==
 
== Crafting ==
Line 37: Line 58:
 
|}
 
|}
  
 +
==Gallery==
 +
<gallery>
 +
File:SmokeBombExample.jpg|''The result of two Smoke Bombs tossed at a horde moving towards a sound's origin.''
 +
</gallery>
 +
 +
==Item IDs==
 +
{| class="pztable"
 +
!Item
 +
!Class name
 +
|-
 +
|Smoke Bomb
 +
|{{ID|Base.SmokeBomb}}
 +
|-
 +
|Smoke Bomb with Timer
 +
|{{ID|Base.SmokeBombTriggered}}
 +
|-
 +
|Smoke Bomb with Sensor (V1)
 +
|{{ID|Base.SmokeBombSensorV1}}
 +
|-
 +
|Smoke Bomb with Sensor (V2)
 +
|{{ID|Base.SmokeBombSensorV2}}
 +
|-
 +
|Smoke Bomb with Sensor (V3)
 +
|{{ID|Base.SmokeBombSensorV3}}
 +
|-
 +
|Remote Smoke Bomb
 +
|{{ID|Base.SmokeBombRemote}}
 +
|}
 +
 +
==Code==
 +
'''''From newitems.txt (Project Zomboid directory/media/scripts/)'''''
 +
{{Retrieved|version=40|incver=43}}
 +
<pre>
 +
item SmokeBomb
 +
        MaxRange         = 10,
 +
        Type                 = Weapon,
 +
        MinimumSwingTime = 1.5,
 +
        SwingAnim         = Bat,
 +
        UseSelf                 = TRUE,
 +
        DisplayName         = Smoke Bomb,
 +
        SwingTime         = 1.5,
 +
        SwingAmountBeforeImpact = 0.1,
 +
        PhysicsObject         = ExplosiveTrap,
 +
        MinDamage         = 0,
 +
        Weight                 = 1.5,
 +
        MaxDamage          = 0,
 +
        MaxHitCount      = 0,
 +
        Icon                 = Smokebomb,
 +
        TriggerExplosionTimer  = 50,
 +
        SmokeRange              = 5,
 +
        CanBePlaced            = TRUE,
 +
        PlacedSprite            = constructedobjects_01_36,
 +
        Tooltip                = Tooltip_Trap,
 +
</pre>
  
  

Revision as of 23:43, 8 April 2021

Whiskey Half.png
This article/section may be in need of improvement.
Editors are encouraged to add any missing information to the article, while verifying that the article's current content is correct.
Language policy Language: English
Smoke Bomb
Smoke Bomb
Smoke Bomb with Upgrade
General
Category Weapon
Weight
Heavy Load
1.5
Equipped One-handed
Damage
Swing time 1.5
Range 0–10 tiles
Smoke range 5 tiles
Smoke timer 50
Technical details
Base ID See Item IDs


The Smoke Bomb is a thrown bomb.

Use

A Smoke Bomb pacifies zombies that are in the area of effect of the bomb when it explodes. It deals no damage to zombies.

Note that although it immediately pacifies zombies in its area, they may still be influenced by horde behavior and continue towards their target. This is especially prevalent if there are many zombies nearby that were unaffected by the Smoke Bomb which can cause its effects to be almost unnoticeable.

Crafting

Output Ingredients Description Skill Level
Smokebomb.png
Smoke Bomb x1
Coldpack.png + Newspaper.png + Rag.png
Cold Pack x1 Newspaper x2 Ripped Sheets x1
(consumed) (consumed) (consumed)
Make Smoke Bomb Engineer.png
Engineer
or
MagazineMechanics.png
Engineer Magazine


You may attach a timer or other devices for varying effects.

Output Ingredients Description Skill Level
SmokebombTimer.png
Smoke Bomb x1
Smokebomb.png + TimerCrafted.png + ElectronicsScrap.png + DuctTape.png
Smoke Bomb x1 Crafted Timer x1 Electronics Scrap x2 Duct Tape (1 unit)
(consumed) (consumed) (consumed) (consumed)
Make Smoke Bomb with Timer MagazineElectronics03.png
Electronics Magazine Vol.2


SmokebombTimer.png
Smoke Bomb x1
Smokebomb.png + MotionSensor.png + ElectronicsScrap.png + DuctTape.png
Smoke Bomb x1 Motion Sensor x1 Electronics Scrap x2 Duct Tape (1 unit)
(consumed) (consumed) (consumed) (consumed)
Make Smoke Bomb with Sensor Electricity 2
or
MagazineElectronics04.png
Electronics Magazine Vol.3


SmokebombTimer.png
Smoke Bomb x1
Smokebomb.png + TriggerCrafted.png + ElectronicsScrap.png + DuctTape.png
Smoke Bomb x1 Crafted Trigger x1 Electronics Scrap x2 Duct Tape (1 unit)
(consumed) (consumed) (consumed) (consumed)
Make Remote Smoke Bomb Electricity 2
or
MagazineElectronics03.png
Electronics Magazine Vol.4


Gallery

Item IDs

Item Class name
Smoke Bomb Base.SmokeBomb
Smoke Bomb with Timer Base.SmokeBombTriggered
Smoke Bomb with Sensor (V1) Base.SmokeBombSensorV1
Smoke Bomb with Sensor (V2) Base.SmokeBombSensorV2
Smoke Bomb with Sensor (V3) Base.SmokeBombSensorV3
Remote Smoke Bomb Base.SmokeBombRemote

Code

From newitems.txt (Project Zomboid directory/media/scripts/)

Retrieved
Version 40.43
item SmokeBomb
        MaxRange	        = 10,
        Type	                = Weapon,
        MinimumSwingTime	= 1.5,
        SwingAnim	        = Bat,
        UseSelf	                = TRUE,
        DisplayName	        = Smoke Bomb,
        SwingTime	        = 1.5,
        SwingAmountBeforeImpact	= 0.1,
        PhysicsObject	        = ExplosiveTrap,
        MinDamage	        = 0,
        Weight	                = 1.5,
        MaxDamage   	        = 0,
        MaxHitCount       	= 0,
        Icon	                = Smokebomb,
        TriggerExplosionTimer   = 50,
        SmokeRange              = 5,
        CanBePlaced             = TRUE,
        PlacedSprite            = constructedobjects_01_36,
        Tooltip                 = Tooltip_Trap,