Smoke Bomb: Difference between revisions
(Created skeleton) |
m (Automated CodeBox update) |
||
(36 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Header|Project Zomboid|Items|Weapons|Explosives}} | ||
{{ | {{Page version|41.78.16}} | ||
{{Infobox item | |||
|name=Smoke Bomb | |||
|model=Smokebomb_Model.png | |||
|icon=Smokebomb.png | |||
|icon_name=Smoke Bomb | |||
|model2=SmokeBombTimer_Model.png | |||
|icon2=SmokebombTimer.png | |||
|icon_name2=Smoke Bomb with Timer | |||
|model3=SmokeBombTimer_Model.png | |||
|icon3=SmokebombTimer.png | |||
|icon_name3=Smoke Bomb with Sensor | |||
|model4=SmokeBombTimer_Model.png | |||
|icon4=SmokebombTimer.png | |||
|icon_name4=Remote Smoke Bomb | |||
<!--GENERAL--> | |||
|category=Explosives | |||
|weight=1.5 | |||
|equipped=One-handed | |||
<!--DAMAGE--> | |||
|swing_time=1.5 | |||
|min_range=0 | |||
|max_range=10 | |||
|effect_type=Smoke | |||
|effect_range=5 | |||
<!--TECHNICAL DETAILS--> | |||
|item_id=Base.SmokeBomb<br>Base.SmokeBombTriggered<br>Base.SmokeBombSensorV1<br>Base.SmokeBombSensorV2<br>Base.SmokeBombSensorV3<br>Base.SmokeBombRemote | |||
}} | |||
A '''smoke bomb''' is a [[Weapons#Throwables|throwable bomb]]. | |||
==Usage== | |||
A smoke bomb pacifies [[zombie]]s that are in the area of effect of the bomb when it explodes. It deals no damage to [[Zombie|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. | |||
| | |||
The ' | ===Upgrades=== | ||
The smoke bomb has various upgrades allowing it to be triggered in several ways, rather than just when thrown. | |||
====Sensor upgrade==== | |||
The smoke bomb with sensor has a [[Motion Sensor|motion sensor]] attached. It can be placed by moving to the desired location, then press {{key|{{abbr|RMB|Right Mouse Button}}}} on the item in the player's inventory and selecting "Place Smoke Bomb with Sensor" (this is different to "Place Item", which just places the item without arming it). Once placed, it will slowly beep 4 times before beeping rapidly and stopping. Once the beeping stops, the smoke bomb is armed, and will be triggered if movement is detected within a certain distance from the smoke bomb (without any warning). It's important to note that the character that armed the bomb can also trigger it. | |||
== | There are 3 versions of the sensor upgrade, each with a different range before triggering. | ||
{| class="wikitable theme-red" style="text-align: center;" | |||
! Version | |||
! Sensor range | |||
|- | |||
| V1 | |||
| 3 tiles | |||
|- | |||
| V2 | |||
| 4 tiles | |||
|- | |||
| V3 | |||
| 5 tiles | |||
|} | |||
====Timer upgrade==== | |||
The smoke bomb with timer has a [[Crafted Timer|crafted timer]] attached. Before placing, the timer can be set by pressing {{key|{{abbr|RMB|Right Mouse Button}}}} on the item in the player's inventory and selecting "Set time before explosion". The time set is in real world seconds. The method of placing is identical to the [[#Sensor upgrade|sensor upgrade]]: move to location, {{key|{{abbr|RMB|Right Mouse Button}}}} on item, and select "Place Smoke Bomb with Timer". It will begin to beep slowly, once for every second, and on the last second it will beep rapidly before exploding. | |||
== | ====Remote upgrade==== | ||
The remote smoke bomb has a [[Crafted Trigger|crafted trigger]] attached, allowing it to be detonated remotely. To trigger, a [[Remote Controller|remote controller]] must first be crafted. Then the remote controller and remote smoke bomb will need to be linked by having both items in the player's inventory and pressing {{key|{{abbr|RMB|Right Mouse Button}}}} on either the remote or the smoke bomb and selecting "Link to ...". "(Linked)" will then appear next to the two items. If the wrong items have been linked, it can be reset by pressing {{key|{{abbr|RMB|Right Mouse Button}}}} and selecting "Reset Remote Frequency" (both items must be reset in order to be linked to a new item). Once linked, the smoke bomb can then be placed: move to location, {{key|{{abbr|RMB|Right Mouse Button}}}} on item, and select "Place Remote Smoke Bomb". Unlike the other upgrades, there will be no beeps, although it is armed. It is triggered by pressing {{key|{{abbr|RMB|Right Mouse Button}}}} on the linked remote controller and selecting "Trigger". | |||
There are 3 versions of the [[Remote Controller|remote controller]], each with a different range that they can be used to trigger the smoke bomb. | |||
{| class="wikitable theme-red" style="text-align: center;" | |||
! Version | |||
! remote range | |||
|- | |||
| V1 | |||
| 7 tiles | |||
|- | |||
| V2 | |||
| 11 tiles | |||
|- | |||
| V3 | |||
| 15 tiles | |||
|} | |||
==Crafting== | |||
| | A smoke bomb requires several common items found in houses, and can be crafted by players that have chosen the [[Occupation|engineer occupation]] or read ''[[Engineer Magazine|Engineer Magazine Vol. 2]]''. | ||
{{Crafting header|ing=3}} | |||
{{Crafting electrical|305|ing=3}} | |||
{{ | |||
|} | |} | ||
===Upgrades=== | |||
{| | The smoke bomb can be upgraded by attaching a [[Crafted Timer|crafted timer]], [[Motion Sensor|motion sensor]], or [[Crafted Trigger|crafted trigger]], each with their own method of triggering. | ||
| | {{Crafting header|ing=4}} | ||
{{Crafting electrical|421|ing=4}} | |||
{{Crafting electrical|422|ing=4}} | |||
{{Crafting electrical|423|ing=4}} | |||
{{Crafting electrical|424|ing=4}} | |||
{{ | {{Crafting electrical|425|ing=4}} | ||
{{ | |||
{{ | |||
|} | |} | ||
==Item IDs== | |||
{| class="wikitable theme-red" style="text-align: center;" | |||
! Icon | |||
! Item | |||
! Item ID | |||
|- | |||
| [[File:Smokebomb.png]] | |||
| Smoke Bomb | |||
| {{ID|Base.SmokeBomb}} | |||
|- | |||
| [[File:SmokebombTimer.png]] | |||
| Smoke Bomb with Timer | |||
| {{ID|Base.SmokeBombTriggered}} | |||
|- | |||
| [[File:SmokebombTimer.png]] | |||
| Smoke Bomb with Sensor (V1) | |||
| {{ID|Base.SmokeBombSensorV1}} | |||
|- | |||
| [[File:SmokebombTimer.png]] | |||
| Smoke Bomb with Sensor (V2) | |||
| {{ID|Base.SmokeBombSensorV2}} | |||
|- | |||
| [[File:SmokebombTimer.png]] | |||
| Smoke Bomb with Sensor (V3) | |||
| {{ID|Base.SmokeBombSensorV3}} | |||
|- | |||
| [[File:SmokebombTimer.png]] | |||
| Remote Smoke Bomb | |||
| {{ID|Base.SmokeBombRemote}} | |||
|} | |||
==Gallery== | |||
{{Reupload|section=true|Replace with a build 41 screenshot}} | |||
<gallery> | |||
SmokeBombExample.jpg|The result of two smoke bombs tossed at a horde moving towards a sound's origin. | |||
</gallery> | |||
==Code== | |||
{{CodeBox| | |||
[[File:Smokebomb.png]] Smoke Bomb ({{ID|Base.SmokeBomb}})<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3315 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SmokeBomb | |||
{ | |||
DisplayCategory = Explosives, | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
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, | |||
WorldStaticModel = SmokeBomb, | |||
ExplosionSound = SmokeBombExplode, | |||
SwingSound = SmokeBombThrow, | |||
} | |||
}} | |||
[[File:SmokebombTimer.png]] Smoke Bomb with Timer ({{ID|Base.SmokeBombTriggered}})<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3454 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SmokeBombTriggered | |||
{ | |||
DisplayCategory = Explosives, | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Smoke Bomb with Timer, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = ExplosiveTrap, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = SmokebombTimer, | |||
ExplosionTimer = 10, | |||
SmokeRange = 5, | |||
CanBePlaced = TRUE, | |||
PlacedSprite = constructedobjects_01_36, | |||
WorldStaticModel = SmokeBombSensor, | |||
ExplosionSound = SmokeBombExplode, | |||
SwingSound = SmokeBombThrow, | |||
} | |||
}} | |||
[[File:SmokebombTimer.png]] Smoke Bomb with Sensor ({{ID|Base.SmokeBombSensorV1}})<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3370 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SmokeBombSensorV1 | |||
{ | |||
DisplayCategory = Explosives, | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Smoke Bomb with Sensor, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = ExplosiveTrap, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
SensorRange = 3, | |||
Icon = SmokebombTimer, | |||
SmokeRange = 5, | |||
ExplosionTimer = 5, | |||
CanBePlaced = TRUE, | |||
PlacedSprite = constructedobjects_01_36, | |||
WorldStaticModel = SmokeBombSensor, | |||
ExplosionSound = SmokeBombExplode, | |||
SwingSound = SmokeBombThrow, | |||
} | |||
}} | |||
[[File:SmokebombTimer.png]] Smoke Bomb with Sensor ({{ID|Base.SmokeBombSensorV2}})<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3398 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SmokeBombSensorV2 | |||
{ | |||
DisplayCategory = Explosives, | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Smoke Bomb with Sensor, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = ExplosiveTrap, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
SensorRange = 4, | |||
Icon = SmokebombTimer, | |||
SmokeRange = 5, | |||
ExplosionTimer = 5, | |||
CanBePlaced = TRUE, | |||
PlacedSprite = constructedobjects_01_36, | |||
WorldStaticModel = SmokeBombSensor, | |||
ExplosionSound = SmokeBombExplode, | |||
SwingSound = SmokeBombThrow, | |||
} | |||
}} | |||
[[File:SmokebombTimer.png]] Smoke Bomb with Sensor ({{ID|Base.SmokeBombSensorV3}})<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3426 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SmokeBombSensorV3 | |||
{ | |||
DisplayCategory = Explosives, | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Smoke Bomb with Sensor, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = ExplosiveTrap, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
SensorRange = 5, | |||
Icon = SmokebombTimer, | |||
SmokeRange = 5, | |||
ExplosionTimer = 5, | |||
CanBePlaced = TRUE, | |||
PlacedSprite = constructedobjects_01_36, | |||
WorldStaticModel = SmokeBombSensor, | |||
ExplosionSound = SmokeBombExplode, | |||
SwingSound = SmokeBombThrow, | |||
} | |||
}} | |||
[[File:SmokebombTimer.png]] Remote Smoke Bomb ({{ID|Base.SmokeBombRemote}})<br> | |||
{{CodeSnip | |||
| lang = java | |||
| line = true | |||
| start = 3343 | |||
| source = newitems.txt | |||
| retrieved = true | |||
| version = 41.78.16 | |||
| code = | |||
item SmokeBombRemote | |||
{ | |||
DisplayCategory = Explosives, | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Remote Smoke Bomb, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = ExplosiveTrap, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = SmokebombTimer, | |||
SmokeRange = 5, | |||
CanBePlaced = TRUE, | |||
CanBeRemote = TRUE, | |||
PlacedSprite = constructedobjects_01_36, | |||
WorldStaticModel = SmokeBombSensor, | |||
ExplosionSound = SmokeBombExplode, | |||
SwingSound = SmokeBombThrow, | |||
} | |||
}} | |||
}} | |||
==See also== | |||
*[[Noise Maker]] | |||
*[[Fire Bomb]] | |||
{{Navbox weapons|explosives}} | |||
[[Category: | [[Category:Electricals and Transmission (Project)]] |
Latest revision as of 10:33, 26 March 2024
Base.SmokeBombTriggered
Base.SmokeBombSensorV1
Base.SmokeBombSensorV2
Base.SmokeBombSensorV3
Base.SmokeBombRemote
A smoke bomb is a throwable bomb.
Usage
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.
Upgrades
The smoke bomb has various upgrades allowing it to be triggered in several ways, rather than just when thrown.
Sensor upgrade
The smoke bomb with sensor has a motion sensor attached. It can be placed by moving to the desired location, then press RMB on the item in the player's inventory and selecting "Place Smoke Bomb with Sensor" (this is different to "Place Item", which just places the item without arming it). Once placed, it will slowly beep 4 times before beeping rapidly and stopping. Once the beeping stops, the smoke bomb is armed, and will be triggered if movement is detected within a certain distance from the smoke bomb (without any warning). It's important to note that the character that armed the bomb can also trigger it.
There are 3 versions of the sensor upgrade, each with a different range before triggering.
Version | Sensor range |
---|---|
V1 | 3 tiles |
V2 | 4 tiles |
V3 | 5 tiles |
Timer upgrade
The smoke bomb with timer has a crafted timer attached. Before placing, the timer can be set by pressing RMB on the item in the player's inventory and selecting "Set time before explosion". The time set is in real world seconds. The method of placing is identical to the sensor upgrade: move to location, RMB on item, and select "Place Smoke Bomb with Timer". It will begin to beep slowly, once for every second, and on the last second it will beep rapidly before exploding.
Remote upgrade
The remote smoke bomb has a crafted trigger attached, allowing it to be detonated remotely. To trigger, a remote controller must first be crafted. Then the remote controller and remote smoke bomb will need to be linked by having both items in the player's inventory and pressing RMB on either the remote or the smoke bomb and selecting "Link to ...". "(Linked)" will then appear next to the two items. If the wrong items have been linked, it can be reset by pressing RMB and selecting "Reset Remote Frequency" (both items must be reset in order to be linked to a new item). Once linked, the smoke bomb can then be placed: move to location, RMB on item, and select "Place Remote Smoke Bomb". Unlike the other upgrades, there will be no beeps, although it is armed. It is triggered by pressing RMB on the linked remote controller and selecting "Trigger".
There are 3 versions of the remote controller, each with a different range that they can be used to trigger the smoke bomb.
Version | remote range |
---|---|
V1 | 7 tiles |
V2 | 11 tiles |
V3 | 15 tiles |
Crafting
A smoke bomb requires several common items found in houses, and can be crafted by players that have chosen the engineer occupation or read Engineer Magazine Vol. 2.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 |
---|---|---|---|---|---|---|
Smoke Bomb |
0 XP | none | OR |
Cold Pack (consumed) |
Newspaper x2 (consumed) |
Ripped Sheets (consumed) |
Upgrades
The smoke bomb can be upgraded by attaching a crafted timer, motion sensor, or crafted trigger, each with their own method of triggering.
Product | XP gained | Skill(s) | Recipe | Ingredient 1 | Ingredient 2 | Ingredient 3 | Ingredient 4 |
---|---|---|---|---|---|---|---|
Smoke Bomb with Timer |
0 XP | Electrical 2 | Smoke Bomb (consumed) |
Crafted Timer (consumed) |
Scrap Electronics x2 (consumed) |
Duct Tape (1 unit) (consumed) | |
Smoke Bomb with Sensor (V1) |
0 XP | Electrical 2 | Smoke Bomb (consumed) |
Motion Sensor (consumed) |
Scrap Electronics x2 (consumed) |
Duct Tape (1 unit) (consumed) | |
Smoke Bomb with Sensor (V2) |
0 XP | Electrical 4 | Smoke Bomb (consumed) |
Motion Sensor (consumed) |
Scrap Electronics x3 (consumed) |
Duct Tape (1 unit) (consumed) | |
Smoke Bomb with Sensor (V3) |
0 XP | Electrical 6 | Smoke Bomb (consumed) |
Motion Sensor (consumed) |
Scrap Electronics x4 (consumed) |
Duct Tape (1 unit) (consumed) | |
Remote Smoke Bomb |
0 XP | Electrical 6 | Smoke Bomb (consumed) |
Crafted Trigger (consumed) |
Scrap Electronics x2 (consumed) |
Duct Tape (1 unit) (consumed) |
Item IDs
Gallery
Code
Smoke Bomb (Base.SmokeBomb)
Source: ProjectZomboid\media\scripts\newitems.txt
item SmokeBomb
{
DisplayCategory = Explosives,
MaxRange = 10,
Type = Weapon,
MinimumSwingTime = 1.5,
SwingAnim = Throw,
WeaponSprite = Molotov,
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,
WorldStaticModel = SmokeBomb,
ExplosionSound = SmokeBombExplode,
SwingSound = SmokeBombThrow,
}
Smoke Bomb with Timer (Base.SmokeBombTriggered)
Source: ProjectZomboid\media\scripts\newitems.txt
item SmokeBombTriggered
{
DisplayCategory = Explosives,
MaxRange = 10,
Type = Weapon,
MinimumSwingTime = 1.5,
SwingAnim = Throw,
WeaponSprite = Molotov,
UseSelf = TRUE,
DisplayName = Smoke Bomb with Timer,
SwingTime = 1.5,
SwingAmountBeforeImpact = 0.1,
PhysicsObject = ExplosiveTrap,
MinDamage = 0,
Weight = 1.5,
MaxDamage = 0,
MaxHitCount = 0,
Icon = SmokebombTimer,
ExplosionTimer = 10,
SmokeRange = 5,
CanBePlaced = TRUE,
PlacedSprite = constructedobjects_01_36,
WorldStaticModel = SmokeBombSensor,
ExplosionSound = SmokeBombExplode,
SwingSound = SmokeBombThrow,
}
Smoke Bomb with Sensor (Base.SmokeBombSensorV1)
Source: ProjectZomboid\media\scripts\newitems.txt
item SmokeBombSensorV1
{
DisplayCategory = Explosives,
MaxRange = 10,
Type = Weapon,
MinimumSwingTime = 1.5,
SwingAnim = Throw,
WeaponSprite = Molotov,
UseSelf = TRUE,
DisplayName = Smoke Bomb with Sensor,
SwingTime = 1.5,
SwingAmountBeforeImpact = 0.1,
PhysicsObject = ExplosiveTrap,
MinDamage = 0,
Weight = 1.5,
MaxDamage = 0,
MaxHitCount = 0,
SensorRange = 3,
Icon = SmokebombTimer,
SmokeRange = 5,
ExplosionTimer = 5,
CanBePlaced = TRUE,
PlacedSprite = constructedobjects_01_36,
WorldStaticModel = SmokeBombSensor,
ExplosionSound = SmokeBombExplode,
SwingSound = SmokeBombThrow,
}
Smoke Bomb with Sensor (Base.SmokeBombSensorV2)
Source: ProjectZomboid\media\scripts\newitems.txt
item SmokeBombSensorV2
{
DisplayCategory = Explosives,
MaxRange = 10,
Type = Weapon,
MinimumSwingTime = 1.5,
SwingAnim = Throw,
WeaponSprite = Molotov,
UseSelf = TRUE,
DisplayName = Smoke Bomb with Sensor,
SwingTime = 1.5,
SwingAmountBeforeImpact = 0.1,
PhysicsObject = ExplosiveTrap,
MinDamage = 0,
Weight = 1.5,
MaxDamage = 0,
MaxHitCount = 0,
SensorRange = 4,
Icon = SmokebombTimer,
SmokeRange = 5,
ExplosionTimer = 5,
CanBePlaced = TRUE,
PlacedSprite = constructedobjects_01_36,
WorldStaticModel = SmokeBombSensor,
ExplosionSound = SmokeBombExplode,
SwingSound = SmokeBombThrow,
}
Smoke Bomb with Sensor (Base.SmokeBombSensorV3)
Source: ProjectZomboid\media\scripts\newitems.txt
item SmokeBombSensorV3
{
DisplayCategory = Explosives,
MaxRange = 10,
Type = Weapon,
MinimumSwingTime = 1.5,
SwingAnim = Throw,
WeaponSprite = Molotov,
UseSelf = TRUE,
DisplayName = Smoke Bomb with Sensor,
SwingTime = 1.5,
SwingAmountBeforeImpact = 0.1,
PhysicsObject = ExplosiveTrap,
MinDamage = 0,
Weight = 1.5,
MaxDamage = 0,
MaxHitCount = 0,
SensorRange = 5,
Icon = SmokebombTimer,
SmokeRange = 5,
ExplosionTimer = 5,
CanBePlaced = TRUE,
PlacedSprite = constructedobjects_01_36,
WorldStaticModel = SmokeBombSensor,
ExplosionSound = SmokeBombExplode,
SwingSound = SmokeBombThrow,
}
Remote Smoke Bomb (Base.SmokeBombRemote)
Source: ProjectZomboid\media\scripts\newitems.txt
item SmokeBombRemote
{
DisplayCategory = Explosives,
MaxRange = 10,
Type = Weapon,
MinimumSwingTime = 1.5,
SwingAnim = Throw,
WeaponSprite = Molotov,
UseSelf = TRUE,
DisplayName = Remote Smoke Bomb,
SwingTime = 1.5,
SwingAmountBeforeImpact = 0.1,
PhysicsObject = ExplosiveTrap,
MinDamage = 0,
Weight = 1.5,
MaxDamage = 0,
MaxHitCount = 0,
Icon = SmokebombTimer,
SmokeRange = 5,
CanBePlaced = TRUE,
CanBeRemote = TRUE,
PlacedSprite = constructedobjects_01_36,
WorldStaticModel = SmokeBombSensor,
ExplosionSound = SmokeBombExplode,
SwingSound = SmokeBombThrow,
}