It is a simple racing mode. You need to pass the track from start to finish without total fuel loss. The track is divided into sections, each section has the minimum speed. If you move with a speed less minimum for this section, you start losing fuel. The lower the speed, the more fuel you lose. In the upper right corner displays some information: current time, fuel leak (in L/s), min and current speed. To create your own tracks you need to add BeamNGTrigger in the necessary places and write in enterCommand: Code: holeyFuelTank.setMinSpeed(50) For start trigger: Code: holeyFuelTank.start(50) For finish trigger: Code: holeyFuelTank.finish() Where 50 - is the minimum speed for the section. Here a mis file for Stockcar-Madness-racing-map-update-9-29-2013 (prefab does not work for some reason ) View attachment stockcar_madness.zip (just put stockcar_madness.mis file in levels\stockcar_madness\) Installation Automatic (with Lua mod installer and install script) or: Open lua\system\main.lua and after: Code: json = require("json") add with a new line: Code: holeyFuelTank = require("holeyFuelTank") After: Code: raceTimer = raceTimer + dt add with a new line: Code: if ( holeyFuelTank.isEnabled() == 1 ) then holeyFuelTank.update(dt) end Copy holeyFuelTank.lua in lua\system\ . Open lua\vehicle\drivetrain.lua and after "end" of the "refill" function add with a new line: Code: local function decFuel( value ) if ( M.fuel > 0 ) then M.fuel = M.fuel - value end end local function incFuel( value ) if ( M.fuel < M.fuelCapacity ) then M.fuel = M.fuel + value end end After: Code: M.refill = refill add with a new line: Code: M.decFuel = decFuel M.incFuel = incFuel Enjoy
Thanks the last mod I tried to install failed flat on its face...due to the idiot that I was by not following instructions come on we are guys we dont need instructions..we make things work! (SARCASM)