DayZ
Not enough ratings
Additional Fuels
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
30.438 MB
12 Jan, 2024 @ 9:24am
28 Jan, 2024 @ 11:36am
6 Change Notes ( view )

Subscribe to download
Additional Fuels

Description
Additional Fuel
If you want the version without the need for Rag Liquid Framework for some reason Click Here.

This is basically Diesel Vehicles & Aviation Fuel combined.
A small mod to make it so that aircraft run on Aviation Fuel instead of gasoline and vehicles of your choosing via the config can run on diesel instead of gasoline. Currently all RedFalcon Flight System Heliz and DayZ-Expansion-Vehicles (Helis) work with the Aviation Fuel but more can be added at a later date if needed (any mods that inherit from their base classes will also work with this mod and i may make it so that you can add to the config like with the diesel).

How To Get Aviation Fuel And Diesel
Use an empty container at a fuel pump and scroll from fill with gasoline to fill with Aviation Fuel or Diesel (These can be enabled or disabled in the config). Or as a server owner you can place some static tanks (class name StaticObj_Wilmas_AviationFuelTank / StaticObj_Wilmas_DieselFuelTank) at airfields or where ever you like giving unlimited fuel. Or there is now Wilmas_AviationFuelTank / Wilmas_DieselFuelTank which can be placed via the config and an initial quantity set up to 5000litres giving a limited supply of fuel. Admins can add fuel to these by using Wilmas_AdminFuelTankFiller.

I have included 2 jerrycans that will in spawn with Aviation Fuel/ diesel depending which one is used if you prefer the Aviation Fuel and diesel to only be found or to allow players to find some in a jerrycan as well as gasoline (the vanilla jerrycan will only ever spawn with gasoline through the types.xml) the class names for these are Wilmas_AviationFuelCanister & Wilmas_DieselVehiclesCanister i have included a example types in the mod folder.

Config
There will be a config file created when the server starts with the mod installed called "WilmasAdditionalFuels_config.json" in your serverprofilesfolder\Wilmas (serverprofilesfolder could be called ServerProfile or SC or Config or a few other things that server providers name them but your should know what its called.)

Default Config
{ "ConfigVersion": "1.0", "Vehicles_You_Want_To_Use_Diesel": [ "Offroad_02", "Truck_01_Base" ], "Allow_Getting_Diesel_From_Fuel_Pumps": 1, "Allow_Diesel_Text_To_Be_Added_To_End_Of_Diesel_Vehicles_Display_Names": 1, "Allow_Getting_AviationFuel_From_Fuel_Pumps": 1, "TF_FuelPump_AdditionalFuels_Settings": "----------Below this is only relevant if you have TF-FuelPump Installed------------", "Diesel_MaxAmount": 10000.0, "Diesel_InitAmount": 5000.0, "Diesel_EnergyConsumptionCoef": 1.0, "Diesel_AdminRefuelAmount": 2000.0, "AviationFuel_MaxAmount": 10000.0, "AviationFuel_InitAmount": 5000.0, "AviationFuel_EnergyConsumptionCoef": 1.0, "AviationFuel_AdminRefuelAmount": 2000.0, "HypeTrain_AdditionalFuels_Settings": "----------Below this is only relevant if you have HypeTrain Installed------------", "Allow_Getting_Diesel_From_HypeTrains_Default_Fuel_Source": 1, "FuelTankSpawnerDescription": "----------Below this is used to spawn fuel tanks with quantity------------", "EnableSpawningFuelTanks": 0, "FuelTankSpawnerList": [] }
Config Explained
Refer to Discussions CLICK HERE for more information. (There is a limit on what you can post on the steam page)

You can either list individual vehicle classnames you want to be diesel, for the trucks that would be Truck_01_Covered, Truck_01_Covered_Blue, Truck_01_Covered_Orange.
Or you could use the base classname the vehicle inherits from in its config as i have done in the example Truck_01_Base to make all versions that are based on this class diesel.

(Optional) Variants of Vanilla Vehicles With GlowPlug
I have included variants of the vanilla vehicles with the sparkplug removed and glowplug added for more realism if you wish to use them.
ClassNames:
  • OffroadHatchback_Diesel
  • OffroadHatchback_Blue_Diesel
  • OffroadHatchback_White_Diesel
  • CivilianSedan_Diesel
  • CivilianSedan_Wine_Diesel
  • CivilianSedan_Black_Diesel
  • Hatchback_02_Diesel
  • Hatchback_02_Black_Diesel
  • Hatchback_02_Blue_Diesel
  • Sedan_02_Diesel
  • Sedan_02_Red_Diesel
  • Sedan_02_Grey_Diesel
  • Truck_01_Covered_Diesel
  • Truck_01_Covered_Blue_Diesel
  • Truck_01_Covered_Orange_Diesel
These already have DIESEL at the end of their names regardless of what "Allow_Diesel_To_Be_Added_To_End_Of_Diesel_Vehicles_Display_Names": is set to and will show in traders with Diesel at the end) the classnames DO NOT need to be listed in "Vehicles_You_Want_To_Use_Diesel": [] to use diesel fuel they are set to be diesel in the scripts.

Example events, types and spawnabletypes have been supplied in mod folder



Diesel Vehicles / Aviation Fuel Compatibility
This is not compatible with my Diesel Vehicles or Aviation Fuel Mods as this is those mods combined.

TF:FuelPump Compatibility
If using TF:FuelPump as with gasoline you will require a truck battery to get AviationFuel/Diesel from the pump, the AviationFuel/Diesel will have its own quantity that gets saved into the TF:FuelPumps fuelstation files.
All the things that can be setup in TF:FuelPump's config can also be set up for AviationFuel/Diesel it is just done through my config instead.
Checking the fuel quantity will display both gasoline and AviationFuel/Diesel quantities and the pump can also be topped up with AviationFuel/Diesel using their admin jerrycan.
To be clear these features listed in this section are only available if using TF:Fuelpump mod as well.
See the Discussions for more info on setting up with this mod.


Bugs/Issues
Due to the way the liquid system works in dayz it is likely to have a conflict with other mods that add or change liquids(normally one of the 2 liquids will show as error in the inventory, it will still work just the name is error), i can try and work with those mods to get the problem solved/add compatibility if you let me know which mods conflict.


REPACKING AND MONETISATION
DO NOT REPACK
You may use this mod on monetised servers as long as this mod or items in this mod are not monetised.

Discord
Discord link to talk about the mod and report any bugs https://discord.gg/WMUkTsKn5Q

Support Me
This mod is free to use, but if you want to support me you can by donating, click this image below.
[ko-fi.com]
Popular Discussions View All (2)
4
1
28 Oct, 2024 @ 10:12am
Config Explained
Wilma Fingerdoo
0
28 Jan, 2024 @ 11:52am
NEW SPAWNER IN THE CONFIG
Wilma Fingerdoo
17 Comments
PrivatePW_za 16 Jun @ 9:42am 
Good day im getting these errors

Item Wilmas_AviationFuelCanister is misconfigured - liquid type 1048576 is not in CfgLiquidDefinitions!
Class: 'Wilmas_AviationFuelCanister'
Entity id:3478587

Item Wilmas_AviationFuelTank is misconfigured - liquid type 1048576 is not in CfgLiquidDefinitions!
Class: 'Wilmas_AviationFuelTank'
Entity id:3490246

Will there be a fix soon?
Tompkins 5 Nov, 2024 @ 1:08pm 
Any fix for the issue with 1.26. Regardless of tank they are all giving gasoline instead of diesel or avgas
Wilma Fingerdoo  [author] 21 Jan, 2024 @ 5:22am 
thanks, not through this mod as far as im aware, the fuelConsumption is defined in each vehicles config.cpp in their pbo so you would have to make an override mod and override each one to set it unfortunately as i dont believe it can be intercepted and tweaked in the script only via config.cpp from a quick look
Sgt_Shit 20 Jan, 2024 @ 10:18pm 
This is super cool. Is it possible to allow users to configure how much fuel a vehicle consumes?
Beard 18 Jan, 2024 @ 12:16pm 
Thanks a lot.
Wilma Fingerdoo  [author] 18 Jan, 2024 @ 11:25am 
half hour and il have it up i will post the link here
Beard 18 Jan, 2024 @ 11:24am 
I'm waiting for the version without rag_liquid_framework
Wilma Fingerdoo  [author] 18 Jan, 2024 @ 11:05am 
to make it compatible with other mods otherwise if theres more than one liquid mod on the server then you need to make an override mod to combine the 2 to work so liquid framework allows mods to work together as it has alot of them defined. i dont really understand the rest of what you said it makes no sense, possibly bad translation iv no idea. i was going to do a separate version for those that for whatever reason dont want the framework but i haven't done this yet
Beard 18 Jan, 2024 @ 9:57am 
Why did you add rag_liquid_framework from a heap of people because of this problem, there are a lot of servers, including mine on which a bunch of other kitchen liquids, and adding one of yours and adapting no problems, and sometimes a bunch of additional fluids and I do not fit !!!! Where can I find the old fashion version?