Мод A Beautiful Fuel Syphon Mod для DayZ (дейз). Установлен на 2 серверах RiseOfServers. Ниже: серверы с модом и описание Workshop.
A Beautiful Fuel Syphon Mod
Syphon petrol out of vehicle wrecks and parked vehicles with a hose, straight into the container in your hands. Wrecks hold a little fuel again after every restart, and everyone can see the hose running from the fuel tank into your jerry can.
What it does
[*]Wrecks hold fuel. 80 vanilla wreck models and colour variants each have their own fuel cap, measured on the model. Every wreck gets a random 1 to 5 litres at each server restart. Once it's dry, it stays dry until the next restart.
[*]Parked vehicles too. Cars, trucks, boats and motorbikes can be syphoned at their fuel filler, draining the vehicle's real tank. Leave your car unguarded and someone may drive off on your fuel.
[*]You need a Syphon Hose. A new item: a couple of metres of fuel hose with a squeeze bulb to start the flow. Keep it anywhere on you: hands, pockets or backpack. Without one, the prompt reads Syphon Fuel (Need Hose) and won't start. It spawns on the tool shelves of industrial buildings.
[*]Fuel pumps need the hose too. Filling a container at a vanilla fuel pump also needs a Syphon Hose.
[*]You can see the hose. While you syphon or fill, the hose runs from inside the vehicle's filler (or out of the pump) over the rim of the container in your hands, and every nearby player sees it.
How to syphon
[*]Hold a jerry can or any other container that can take petrol.
[*]Face the fuel cap, stand a step back and hold the Syphon Fuel action. Your character crouches and holds the container under the hose, just like at a pump.
[*]Stand too close and the prompt reads (Step Back).
[*]A 20 litre jerry can fills in about a minute. The action stops when the container is full or the tank runs dry.
Configuration
On first start, the server creates SyphonFuel\fuel_config.json in its profile folder. A copy with the defaults is in the mod's Profiles folder. Edit it and restart the server.
[*]wreck_fuel_min / wreck_fuel_max (1000 / 5000): the fuel in ml that each wreck gets at random every restart.
[*]syphon_rate_ml_per_sec (333.33): flow rate. The default fills a 20 L jerry can in 60 seconds.
[*]syphon_tick_interval (0.5): seconds between fuel transfers.
[*]cursor_range (2.25): how far away in metres a wreck or vehicle can be targeted.
[*]interact_radius (1.75) and height_tolerance (3.0): how close in metres you must be to a wreck's fuel cap, across and up or down.
[*]facing_threshold (0.5): how squarely you must face a wreck's fuel cap. 0.5 means within about 60 degrees.
[*]vehicle_fuel_dist_sq (4.0): the squared distance to a drivable vehicle's filler. 4.0 means 2 m.
Installation
[*]Subscribe, and add the mod to your server's -mod= launch parameter, not -serverMod. Players need it too because it adds an item and models.
[*]Copy keys\BeautifulPotato.bikey into your server's keys folder.
[*]Merge the entry in Extras\SyphonTypes.xml into your mission's db\types.xml, or load the file through cfgeconomycore.xml. Without it no hoses spawn, and nobody can syphon or fill at a pump. Admins can also spawn SyphonFuel_Hose directly.
[*]Restart the server.
Updating from the first version
The first version needed no hose. With this update the Syphon Hose is required for syphoning and for filling at fuel pumps, so merge the SyphonTypes.xml entry when you update your server. Your existing fuel_config.json keeps working unchanged.
Compatibility
[*]Built for DayZ 1.30.
[*]Works on any map that uses the vanilla wreck models, including Chernarus, Livonia, Sakhal and Nasdara.
[*]The electric mining excavator has no fuel tank, and the small Car_TwoDoors and Car_ThreeDoors wrecks have no fuel point yet.
[*]The pump change extends the vanilla fill action rather than replacing it. Mods that rewrite that same action may conflict.
[*]Wreck fuel is kept in server memory and isn't saved, which is why it refills each restart.
Community & Support
Questions, bug reports or ideas? Join us on Discord: Discord.BeautifulPotato.com
If the hose goes into the wrong place on a wreck, post the wreck and the map in the comments or on Discord. A screenshot helps.
If you enjoy the mod, you can support its development on Ko-fi.