











Fuel Status
$3.99
Sold by: IIIaKaThe plugin displays the vehicle’s fuel level in the status bar. Depends on AdvancedStatus plugin.
- Description
- Reviews (0)
- Version History
- Discussions (0)
- Setup
- Product Enquiry
Description
Description
The plugin displays the vehicle’s fuel level in the status bar. Depends on AdvancedStatus plugin.
- The ability to display the vehicle’s fuel level(gauge) in the status bar;
- The ability to notify when a low fuel level is reached;
- The ability to specify mount poses for display;
- The ability to specify the order of the bar;
- The ability to change the height of the bar;
- The abillity to customize the color and transparency of the background;
- The ability to set a material for the background;
- The ability to switch between CuiRawImageComponent and CuiImageComponent for the image;
- The ability to get images from the local folder (*SERVER*oxidedataAdvancedStatusImages);
- The abillity to set own image and customize the color and transparency of the image;
- The abillity to set sprite instead of the image;
- The ability to customize the color, size and font of the text;
- The ability to set a color for each percentage of fuel.
{
"Fuel indicator refresh interval in seconds": 5.0,
"Notifications - The percentage(0.0 to 1.0) of fuel at which notifications will occur. A value of 0 disables this": 0.2,
"Notifications - The effect that will be triggered upon a warning. Choose the effect carefully! An empty string disables the effect call": "assets/prefabs/locks/keypad/effects/lock.code.denied.prefab",
"Status. Bar - Height": 26,
"Status. Bar - Order": 1,
"Status. Background - Color(Hex or RGBA)": "#FFFFFF",
"Status. Background - Transparency": 0.15,
"Status. Background - Material(empty to disable)": "",
"Status. Image - Url": "https://i.imgur.com/LP54lLZ.png",
"Status. Image - Local(Leave empty to use Image_Url)": "FuelStatus_Fuel",
"Status. Image - Sprite(Leave empty to use Image_Local or Image_Url)": "",
"Status. Image - Is raw image": false,
"Status. Image - Color(Hex or RGBA)": "#E2DBD6",
"Status. Image - Transparency": 0.55,
"Status. Image Outline - Is it worth enabling an outline for the image?": false,
"Status. Image Outline - Color(Hex or RGBA)": "0.1 0.3 0.8 0.9",
"Status. Image Outline - Transparency": 1.0,
"Status. Image Outline - Distance": "0.75 0.75",
"Status. Text - Size": 15,
"Status. Text - Color(Hex or RGBA)": "#E2DBD6",
"Status. Text - Font(https://umod.org/guides/rust/basic-concepts-of-gui#fonts)": "RobotoCondensed-Bold.ttf",
"Status. Text - Offset Horizontal": 7,
"Status. Text Outline - Is it worth enabling an outline for the text?": false,
"Status. Text Outline - Color(Hex or RGBA)": "#000000",
"Status. Text Outline - Transparency": 1.0,
"Status. Text Outline - Distance": "0.75 0.75",
"Status. Progress - Transparency": 0.8,
"Status. Progress - OffsetMin": "25 2.5",
"Status. Progress - OffsetMax": "-3.5 -3.5",
"Status. Progress - Zero Text Size": 12,
"Status. Progress - Zero Text Color(Hex or RGBA)": "#F70000",
"List of mount poses for displaying fuel status": [
"Driving",
"HandMotorBoat",
"StandDrive",
"SitMinicopter_Pilot",
"Sit_Workcart",
"Sit_Crane",
"Driving_Snowmobile",
"Sit_Locomotive",
"Sit_DPV",
"Sit_BatteringRam"
],
"List of Gauge Indicators": [
{
"MinRange": 0.0,
"MaxRange": 0.2,
"Color(Hex or RGBA)": "#F70000"
},
{
"MinRange": 0.2,
"MaxRange": 0.6,
"Color(Hex or RGBA)": "#F7BB00"
},
{
"MinRange": 0.6,
"MaxRange": 1.0,
"Color(Hex or RGBA)": "#B1C06E"
}
],
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 4
}
}
The values of MaxRange and MinRange set the range of values over which the color applies.
The values for MaxRange and MinRange must be between 0.0 and 1.0 (inclusive), where 0.0 equals 0%, and 1.0 equals 100%.
The value of MaxRange must be equal to the value of MinRange of the previous.
EN:
{
"MsgProgressZero": "Out of fuel, refill required!",
"MsgFuelLow": "Warning: Fuel level is low!"
}
RU:
{
"MsgProgressZero": "Нет топлива!",
"MsgFuelLow": "Внимание: уровень топлива низкий!"
}
Available mount poses(PlayerModel.MountPoses):
public enum MountPoses { Chair = 0, Driving = 1, Horseback = 2, HeliUnarmed = 3, HeliArmed = 4, HandMotorBoat = 5, MotorBoatPassenger = 6, SitGeneric = 7, SitRaft = 8, StandDrive = 9, SitShootingGeneric = 10, SitMinicopter_Pilot = 11, SitMinicopter_Passenger = 12, ArcadeLeft = 13, ArcadeRight = 14, SitSummer_Ring = 15, SitSummer_BoogieBoard = 16, SitCarPassenger = 17, SitSummer_Chair = 18, SitRaft_NoPaddle = 19, Sit_SecretLab = 20, Sit_Workcart = 21, Sit_Cardgame = 22, Sit_Crane = 23, Sit_Snowmobile_Shooting = 24, Sit_RetroSnowmobile_Shooting = 25, Driving_Snowmobile = 26, ZiplineHold = 27, Sit_Locomotive = 28, Sit_Throne = 29, Parachute = 30, Sit_DPV = 31, Standing_Ballista = 32, Sit_BatteringRam = 33, Standing = 128 }
Reviews (0)
Only logged in customers who have purchased this product may leave a review.
Version History
- Added Added the ability to outline images and text;
- Added Added the ability to specify mount positions for displaying the fuel status;
- Added Added battering ram to the default mount positions;
- Fixed Various minor changes and code improvements.
- Added Initial release
Discussions (0)
Setup
Plugin FAQ – How do I use this .zip/.7z file I just purchased on my server?
• First, you want to unzip the file. You can do so by just double-clicking it to open, then drag the contents to the desired location (you may need to install an external unzipping software if you don’t already have one such as 7zip or winrar)
• Next you will find either a structure of folders or just the .cs file itself (it’s the actual plugin file itself).
• After that just install the .cs (plugin file) into your …/oxide/plugins/ folder where you will install plugins you ever need to.
Additionally, here’s a great video that easily covers adding a plugin to your server if you need! https://youtu.be/yWC_p97FhQA
• Installation is not included with any products on the site, however, if needed we may assist if you reach out to our support.
Currently all products on Lone.Design will be contained within a zipped file which is the .7z or .zip that you see. I believe windows 10 and up can unzip on its own without 3rd party tools, but in that case, if you’re unfamiliar with zipped files here are 2 programs I recommend to easily unzip zipped files.
Video On How to Zip and Unzip: https://youtu.be/Ep-L3PjBPCk (TechInsider Youtube Channel)
Zipping/Unzipping Tools
Winrar https://www.rarlab.com (I used to use for years, but works great!)
7zip https://www.7-zip.org/a/7z2107-x64.exe (the one I use currently)
Reviews
There are no reviews yet.