Jump to content

Vehicle and fuel


Drupas

Recommended Posts

My english is very bad.

Hello!

Is it possible to greatly increase fuel consumption throughout the transport? Since at this point you can drive around the entire map on a single tank, but still likely to remain. It would be desirable to increase the importance of the fuel in the game ...

Link to comment
Share on other sites

You may want to try this.

 

i dont think thats what he meant.

 

My english is very bad.

Hello!

Is it possible to greatly increase fuel consumption throughout the transport? Since at this point you can drive around the entire map on a single tank, but still likely to remain. It would be desirable to increase the importance of the fuel in the game ...

 

i know what you mean and i feel its a bit op aswell, considdering the amount of fuelstations where you can fuel for free, the consumption level should be higher imho.

 

you can use something like this, to "artifically" increase fuel consumption:

//extra consumed fuel per cycle
_consumed = 0.01;
//time in seconds before next check
_time = 5;

while{true}do{
	_vehicle = vehicle player;
	if !(player isEqualTo _vehicle)then{
		if(isEngineOn _vehicle)then{
			_fuel = fuel _vehicle;
			_reduced = _fuel-_consumed;
			_vehicle setFuel _reduced;
		};
	};
	sleep _time;
};
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...