DayZ
60 ratings
Zen's Zippo Lighter
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Equipment, Mechanics
File Size
Posted
Updated
10.871 MB
Feb 28 @ 8:48pm
Feb 28 @ 11:04pm
3 Change Notes ( view )

Subscribe to download
Zen's Zippo Lighter

Description
What Is This?

This mod adds a refillable Zippo lighter to the game, complete with a flame and light source.

The Zippo can be refilled using gasoline from bottles and jerry cans.

It will slowly damage over time, so eventually players will need to find a new one.

It also converts the vanilla petrol lighter into essentially a non-refillable Zippo, with the flame and light source.

A petrol lighter lasts for about 15 minutes of continuous use, while a Zippo lasts half an hour (when full).

Server Owners:

To change how quickly the lighter is damaged from use, tweak the value 'varTotalLifetime' in config.cpp and repack.

To change how long the lighter fuel lasts, tweak the quantity and EnergyManager values (1 qty = 1 sec).

Installation Instructions:

Install this mod like any other mod - copy it into your server folder and add it to your mods list. Make sure to copy the .bikey into your server keys if you're not using a server management tool like OmegaManager which does that automatically.

Make sure to merge the types.xml into your server types and adjust the item's lifetime, or the items will despawn on server restart and/or if no players are around. The types.xml file is in the mod folder and listed below.

This mod must be installed on both the server & client.

3D Model Credits:

The 3D models were free on Sketchfab under the CC Attribution-NonCommercial license.

Original Model: https://skfb.ly/6FUoz

Repack & Source Code:

You can repack this mod if you like, and do anything else you want with it for that matter. Just make sure to credit the original 3D model creator. The source code is on my GitHub at www.zenarchist.io

Enjoy!







Types.XML:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
<type name="ZenZippoLighter">
<nominal>3</nominal>
<lifetime>14400</lifetime>
<restock>1800</restock>
<min>2</min>
<quantmin>20</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<tag name="shelves"/>
<usage name="Village"/>
<usage name="Hunting"/>
<usage name="Military"/>
</type>
<type name="ZenZippoLighter_Peace">
<nominal>3</nominal>
<lifetime>14400</lifetime>
<restock>1800</restock>
<min>2</min>
<quantmin>20</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<tag name="shelves"/>
<usage name="Village"/>
<usage name="Hunting"/>
<usage name="Military"/>
</type>
<type name="ZenZippoLighter_Anarchy">
<nominal>3</nominal>
<lifetime>14400</lifetime>
<restock>1800</restock>
<min>2</min>
<quantmin>20</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<tag name="shelves"/>
<usage name="Village"/>
<usage name="Hunting"/>
<usage name="Military"/>
</type>
<type name="ZenZippoLighter_Zenarchist">
<nominal>3</nominal>
<lifetime>14400</lifetime>
<restock>1800</restock>
<min>2</min>
<quantmin>20</quantmin>
<quantmax>100</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
<category name="tools"/>
<tag name="shelves"/>
<usage name="Village"/>
<usage name="Hunting"/>
<usage name="Military"/>
<value name="Tier3"/>
</type>
</types>
12 Comments
vivinho Apr 25 @ 3:14pm 
Goodnight! I use practically all of your mods on my server, and I think they are all amazing, I'm a fan of your work.

As you said in the description that it could be repacked and whatever else if you wanted to do, I'm working on some textures for the lighter, with the intention of making it a collectible item on my server. I would like to know if, in addition to using it in my server pack, I could republish the mod with the textures I'm working on, logically giving all credit to you and the original 3D model creator.
DROPD3AD Apr 11 @ 2:33pm 
awful lot of complaining about a free mod which can be used or fixed freely. If ya cant fix your own issues prolly need to spend more time learning instead of complaining. Zen always does quality work an doesnt get half the recognition deserved. GG Homie.
BrandedGuts Mar 15 @ 3:54pm 
Also is there a way to increase the brightness of the lighter?
BrandedGuts Mar 14 @ 4:17pm 
Hello! I think there is an issue with the requiredaddons or something. So my server was calling out the fireplace, fireplaceindoors and oven as being typos and when I remove the zippo it fixes it. Tried to add you on discord to discuss it further.
Trungad Mar 11 @ 8:44am 
zippo's damaging over time seems weird. Currently the flame animation isnt working properly and looks really jank.
Profile Name Mar 4 @ 11:31am 
Why would it slowly damage over time? Makes absolutely no sense. If you're trying to replicate the effect of a wick burning out then just make a replacable wick.
Gives heat buff?
Arn Mar 2 @ 12:13pm 
2kg for zippo 😂 hard Steel !
⭕ Th4myres CROFT ⭕ Feb 29 @ 5:43pm 
Que trabalho lindo!:steamhappy:
Alhamdulillah Feb 29 @ 5:21pm 
Zenarchist back at it again with another banger. Awesome release, thank you!