Fuel Consumption
Quasar Fuel Stations provides a flexible system for managing fuel consumption across different vehicle types and fuel categories. This guide explains how to adjust fuel consumption rates to suit your server's needs.
Fuel Types and Consumption Rates
The system supports multiple fuel types (petrol
, diesel
, electric
) with customizable consumption rates. These rates are defined in the Config.FuelConsumption
section.
Key Parameters
petrol
: Standard gasoline fuel.diesel
: Used for diesel-powered vehicles with reduced consumption.electric
: Used for electric vehicles with specific charging logic.
Example Configuration
Higher Values: Faster fuel consumption.
Lower Values: Slower fuel consumption.
Throttle-Based Consumption
Fuel consumption can vary based on the vehicle's throttle level. This is managed through Config.VehiclesFuelUsage
.
How It Works
The throttle intensity determines how much fuel is consumed.
For example, at full throttle (
1.0
), the consumption rate is higher than at 50% throttle (0.5
).
Example Configuration
Class-Based Consumption
Vehicles are grouped into classes, each with its own fuel consumption multiplier. Adjust these rates in the Config.VehiclesClasses
section.
Key Parameters
1.0
: Standard consumption rate.0.0
: Disables fuel consumption for that class (e.g., cycles).
Example Configuration
Custom Vehicle Consumption
For specific vehicle models, you can define unique fuel types and consumption rates in the model_fuel_types.json
file.
Steps to Configure
Example
Excluding Vehicles from Fuel Consumption
To exclude certain vehicles from fuel consumption, list them in Config.VehiclesBlacklist
.
Example Configuration
Real-Time Adjustments
If you make changes to fuel consumption settings:
This flexible system ensures you can fine-tune fuel consumption for your server's unique gameplay dynamics.
Last updated