Fire Bomb: Difference between revisions
(Added an example image of Flame Trap.) |
(Added code for variants) |
||
Line 81: | Line 81: | ||
==Code== | ==Code== | ||
[[File:BottleWithGas.png|32px]] Flame Trap | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | '''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | ||
{{Retrieved|version= | {{Retrieved|version=41|incver=50}} | ||
<pre> item FlameTrap | <pre> item FlameTrap | ||
MaxRange = 10, | MaxRange = 10, | ||
Type = Weapon, | Type = Weapon, | ||
MinimumSwingTime = 1.5, | MinimumSwingTime = 1.5, | ||
SwingAnim = | SwingAnim = Throw, | ||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | UseSelf = TRUE, | ||
DisplayName = Flame Trap, | DisplayName = Flame Trap, | ||
Line 98: | Line 101: | ||
MaxHitCount = 0, | MaxHitCount = 0, | ||
Icon = BottleWithGas, | Icon = BottleWithGas, | ||
FirePower | FirePower = 97, | ||
FireRange | FireRange = 6, | ||
ExplosionSound | ExplosionSound = SmallExplosion, | ||
Tooltip = Tooltip_Trap,</pre> | Tooltip = Tooltip_Trap, | ||
</pre> | |||
<!-- Div to make all of the 'extra' code collapsible so it doesn't clutter the page. Perhaps there's better way to go about it. --> | |||
<div class="mw-collapsible mw-collapsed" style="overflow:auto;">'''Other code''' | |||
<div class="mw-collapsible-content"> | |||
[[File:FireBomb.png|32px]] Flame Trap with Timer | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=41|incver=50}} | |||
<pre> item FlameTrapTriggered | |||
MaxRange = 3, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Flame Trap with Timer, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = constructedobjects_01_32, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = FireBomb, | |||
ExplosionTimer = 10, | |||
PlacedSprite = constructedobjects_01_32, | |||
FirePower = 97, | |||
FireRange = 6, | |||
CanBePlaced = TRUE, | |||
ExplosionSound = SmallExplosion, | |||
</pre> | |||
[[File:FireBomb.png|32px]] Flame Trap with Sensor (V1) | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=41|incver=50}} | |||
<pre> item FlameTrapSensorV1 | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Flame Trap with Sensor, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = Molotov, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = FireBomb, | |||
SensorRange = 3, | |||
PlacedSprite = constructedobjects_01_32, | |||
ExplosionTimer = 5, | |||
FirePower = 97, | |||
FireRange = 6, | |||
CanBePlaced = TRUE, | |||
ExplosionSound = SmallExplosion, | |||
</pre> | |||
[[File:FireBomb.png|32px]] Flame Trap with Sensor (V2) | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=41|incver=50}} | |||
<pre> item FlameTrapSensorV2 | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Flame Trap with Sensor, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = Molotov, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = FireBomb, | |||
SensorRange = 4, | |||
PlacedSprite = constructedobjects_01_32, | |||
ExplosionTimer = 5, | |||
FirePower = 97, | |||
FireRange = 6, | |||
CanBePlaced = TRUE, | |||
ExplosionSound = SmallExplosion, | |||
</pre> | |||
[[File:FireBomb.png|32px]] Flame Trap with Sensor (V3) | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=41|incver=50}} | |||
<pre> item FlameTrapSensorV3 | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Flame Trap with Sensor, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = Molotov, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = FireBomb, | |||
SensorRange = 5, | |||
PlacedSprite = constructedobjects_01_32, | |||
ExplosionTimer = 5, | |||
FirePower = 97, | |||
FireRange = 6, | |||
CanBePlaced = TRUE, | |||
ExplosionSound = SmallExplosion, | |||
</pre> | |||
[[File:FireBomb.png|32px]] Remote Flame Trap | |||
'''''From newitems.txt (Project Zomboid directory/media/scripts/)''''' | |||
{{Retrieved|version=41|incver=50}} | |||
<pre> item FlameTrapRemote | |||
MaxRange = 10, | |||
Type = Weapon, | |||
MinimumSwingTime = 1.5, | |||
SwingAnim = Throw, | |||
WeaponSprite = Molotov, | |||
UseSelf = TRUE, | |||
DisplayName = Remote Flame Trap, | |||
SwingTime = 1.5, | |||
SwingAmountBeforeImpact = 0.1, | |||
PhysicsObject = Molotov, | |||
MinDamage = 0, | |||
Weight = 1.5, | |||
MaxDamage = 0, | |||
MaxHitCount = 0, | |||
Icon = FireBomb, | |||
PlacedSprite = constructedobjects_01_32, | |||
FirePower = 97, | |||
FireRange = 6, | |||
CanBePlaced = TRUE, | |||
CanBeRemote = TRUE, | |||
ExplosionSound = SmallExplosion, | |||
</pre> | |||
</div></div> | |||
==See also== | ==See also== |
Revision as of 20:21, 22 June 2021
Flame Trap | ||
---|---|---|
Flame Trap | ||
| ||
General | ||
Category | Weapon | |
Encumbrance | 1.5 | |
Equipped | One-handed | |
Skill | Fire | |
Damage | ||
Type | Fire | |
Attack speed | 1.5 | |
Range | 0–10 tiles | |
Damage | 0–0 | |
Fire power | 97 | |
Fire range | 6 tiles | |
Fire timer | 10 | |
Technical details | ||
Ingredients |
1 × Empty Bottle 1 × Gas Can 1 × Ripped Sheets | |
Base ID | See Item IDs |
A flame trap is a thrown bomb that can only be crafted by players with the Engineer profession.
Usage
Once thrown, Flame Traps will cover an average area of 12x12 squares, starting several fires in the process. The fires themselves will last for about 10 in-game minutes, not taking into account any other objects or zombies caught in the flames.
Crafting
Obtaining
The flame trap requires several common items found in houses, and can only be crafted by players that have chosen the Engineer occupation.
Template:Crafting table header
|-
|
|
|
| ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer
Upgrades
An aerosol bomb can also be upgraded with a motion sensor, timer, or remote control.
Template:Crafting table header
|-
|
|
|
| ||
||
||
||
||
||
||
||
||
||
||
|-
|
|
|
| ||
||
||
||
||
||
||
||
||
||
||
|-
|
|
|
| ||
||
||
||
||
||
||
||
||
||
||
Template:Crafting table footer
Distribution
Flame traps are one of the rarest items in the game to find. Other than obtaining through crafting, they can only be found in the trunk of a survivalist vehicle.
Gallery
Item IDs
Item | Class name |
---|---|
Flame Trap | Base.FlameTrap |
Flame Trap with Timer | Base.FlameTrapTriggered |
Flame Trap with Sensor (V1) | Base.FlameTrapSensorV1 |
Flame Trap with Sensor (V2) | Base.FlameTrapSensorV2 |
Flame Trap with Sensor (V3) | Base.FlameTrapSensorV3 |
Remote Flame Trap | Base.FlameTrapRemote |
Code
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item FlameTrap MaxRange = 10, Type = Weapon, MinimumSwingTime = 1.5, SwingAnim = Throw, WeaponSprite = Molotov, UseSelf = TRUE, DisplayName = Flame Trap, SwingTime = 1.5, SwingAmountBeforeImpact = 0.1, PhysicsObject = Molotov, MinDamage = 0, Weight = 1.5, MaxDamage = 0, MaxHitCount = 0, Icon = BottleWithGas, FirePower = 97, FireRange = 6, ExplosionSound = SmallExplosion, Tooltip = Tooltip_Trap,
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item FlameTrapTriggered MaxRange = 3, Type = Weapon, MinimumSwingTime = 1.5, SwingAnim = Throw, WeaponSprite = Molotov, UseSelf = TRUE, DisplayName = Flame Trap with Timer, SwingTime = 1.5, SwingAmountBeforeImpact = 0.1, PhysicsObject = constructedobjects_01_32, MinDamage = 0, Weight = 1.5, MaxDamage = 0, MaxHitCount = 0, Icon = FireBomb, ExplosionTimer = 10, PlacedSprite = constructedobjects_01_32, FirePower = 97, FireRange = 6, CanBePlaced = TRUE, ExplosionSound = SmallExplosion,
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item FlameTrapSensorV1 MaxRange = 10, Type = Weapon, MinimumSwingTime = 1.5, SwingAnim = Throw, WeaponSprite = Molotov, UseSelf = TRUE, DisplayName = Flame Trap with Sensor, SwingTime = 1.5, SwingAmountBeforeImpact = 0.1, PhysicsObject = Molotov, MinDamage = 0, Weight = 1.5, MaxDamage = 0, MaxHitCount = 0, Icon = FireBomb, SensorRange = 3, PlacedSprite = constructedobjects_01_32, ExplosionTimer = 5, FirePower = 97, FireRange = 6, CanBePlaced = TRUE, ExplosionSound = SmallExplosion,
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item FlameTrapSensorV2 MaxRange = 10, Type = Weapon, MinimumSwingTime = 1.5, SwingAnim = Throw, WeaponSprite = Molotov, UseSelf = TRUE, DisplayName = Flame Trap with Sensor, SwingTime = 1.5, SwingAmountBeforeImpact = 0.1, PhysicsObject = Molotov, MinDamage = 0, Weight = 1.5, MaxDamage = 0, MaxHitCount = 0, Icon = FireBomb, SensorRange = 4, PlacedSprite = constructedobjects_01_32, ExplosionTimer = 5, FirePower = 97, FireRange = 6, CanBePlaced = TRUE, ExplosionSound = SmallExplosion,
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item FlameTrapSensorV3 MaxRange = 10, Type = Weapon, MinimumSwingTime = 1.5, SwingAnim = Throw, WeaponSprite = Molotov, UseSelf = TRUE, DisplayName = Flame Trap with Sensor, SwingTime = 1.5, SwingAmountBeforeImpact = 0.1, PhysicsObject = Molotov, MinDamage = 0, Weight = 1.5, MaxDamage = 0, MaxHitCount = 0, Icon = FireBomb, SensorRange = 5, PlacedSprite = constructedobjects_01_32, ExplosionTimer = 5, FirePower = 97, FireRange = 6, CanBePlaced = TRUE, ExplosionSound = SmallExplosion,
From newitems.txt (Project Zomboid directory/media/scripts/) Retrieved: Build 41.50
item FlameTrapRemote MaxRange = 10, Type = Weapon, MinimumSwingTime = 1.5, SwingAnim = Throw, WeaponSprite = Molotov, UseSelf = TRUE, DisplayName = Remote Flame Trap, SwingTime = 1.5, SwingAmountBeforeImpact = 0.1, PhysicsObject = Molotov, MinDamage = 0, Weight = 1.5, MaxDamage = 0, MaxHitCount = 0, Icon = FireBomb, PlacedSprite = constructedobjects_01_32, FirePower = 97, FireRange = 6, CanBePlaced = TRUE, CanBeRemote = TRUE, ExplosionSound = SmallExplosion,