Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ultimate Fuel Script 2

(8 reviews)

1 Screenshot

Since it is now part of Grand Theft Auto Ultimate Vehicle Pack V10 (http://www.gta4-mods.com/vehicles/grand-theft-auto-ultimate-vehicle-pack-v10-tb-f18911)

and it is tanking to much time to add all features itended, I feel it is now time for a release.

Installation

Download and install an asiloader of your choice, although this mod may correctly work with dsound.dll, xlive.dll is recommended.

Copy the contents of 'GTA root' folder to your GTA IV main directory (tipically C:Program FilesRockstar GamesGTA IV).

Scripthook already included.

Updates from version 1

-new code added to allow fuel consumption by helicopters and boats, and added 2 new stations type for both new vehicles types

-vehicle fuel data is now retrieved via car's hash code or name, hash code beeing prefered (especially usefull for added cars support);

-added a STARS parameter for all stations types, makes so that the player will have a minimum of the specified stars upon refuel (combine with price at 0.0 to emulate fuel stealing);

-removed possibility to save cars (due to the fact this was not working correctly for many people, it is removed until a solution is found);

-a better way to solve the run out problem than just leaving the car (cell phone may be usefull);

-refuel code updated and more stable;

-rewritten gauge, will allow a more reliable fuel level display, and features low fuel flashing gauge;

-added a low fuel level warning sound (volume is not contoled by game volume, only by system volume, so be aware of that).

Things to notice

-a lot more to be added, so more updates maybe uploaded soon;

-sorry about the new stations locations, but I simply don't have time to fly around and find good spots for them, feel free to add yours in the comments.

-the refuel code was partially rewritten, changed money debt scheme to work more as intended;

-save car function is beeing tested and developed for Car Alarm script for now, so checking that for error reporting, might help to add the feature here aswell;

-due to a techinical issue, the helicopters consumption algorithm is diferent from the other two, this may cause expected weird behaviour. For instance, setting up GAMEPAD=true, may still not work for non Xbox360 Controllers. For those who use a keyboard setting GAMEPAD=false, should result in no problems. (SlimDx.dll handles Xbox360 Controller, but it is still required when not using one. If you already have SlimDX SDK, SlimDX.dll is not required);

-if you have added cars (not replaced) you may still use exclusive fuel data for this vehicles, for this you just need to use the vehicles's hash code instead of the vehicle name. To be sure about the hash code, open the ini file, and add under [DASHBOARD] the line 'MODE=dev', start GTA and you should have loads of info on screen including the current car's hash code. Use the hash code in the same way as the vehicle name is already used in the ini file. You can use the dev mode to be sure the correct values are being loaded aswell. When in dev mode pressing the Q key forces the ini file to be reloaded.

-be aware that more things maybe included in this release, if their not described here or on older versions, then they are not finished yet.

Errors or ideias - prodrigues1990@gmail.com

What's New in Version 2

Released

  • -new code added to allow fuel consumption by helicopters and boats, and added 2 new stations type for both new vehicles types
  • -vehicle fuel data is now retrieved via car's hash code or name, hash code beeing prefered (especially usefull for added cars support);
  • -added a STARS parameter for all stations types, makes so that the player will have a minimum of the specified stars upon refuel (combine with price at 0.0 to emulate fuel stealing);
  • -removed possibility to save cars (due to the fact this was not working correctly for many people, it is removed until a solution is found);
  • -a better way to solve the run out problem than just leaving the car (cell phone may be usefull);
  • -refuel code updated and more stable;
  • -rewritten gauge, will allow a more reliable fuel level display, and features low fuel flashing gauge;
  • -added a low fuel level warning sound (volume is not contoled by game volume, only by system volume, so be aware of that).

User Feedback

Recommended Comments

Rodrigues

Members Author

But thank you for the ideia anyway.

Guest bucky16

Guest bucky16

Guests

I got this but when i started the game with the mod, I just got error in script and reloading the scripts didn't help it.

FCV96

Members

Fantastic mod so far; it appears to work well. There is one problem that I have, however; the fuel gauge itself [the green bar] doesn't seem to appear anywhere on my screen. Any suggestions?

ROYKIRK

Members

Very nice! I agree like the simple fuel script the gas tank line is right over the street names, if possible it just needs to be moved like a 1/8 to a 1/4 inch up and I think it would be fine.

Also I use the PDA helper as well and I found it easier to switch the key to C for the PDA helper instead of this fuel mod. The different prices make it more real both filling your tank and emptying your wallet! haha I love using the gas mods and anything to make it more real is all good... Thank you!

ckirc4

Members

When I start GTA and it has finished loading, it shows me an error that says Error in script 'Fuel_Script_RC2.Fuel

ckirc4

Members

It works with version 1.1 perfectly fine, so I guess I will have to stick to that one.

ruffs

Members

Decimals in config-file didn't work. Maybe wrong variables? I needed lower consumption but changing 13 to 1.3 will nothing happen. So i made 10x bigger tanks and now i can't set price below 1. It's great mod and i want to start new game with it and others scripts. Which means: i don't have too much money for fuel :D

Rodrigues

Members Author

all car data in the ini file is treated as an integer (not sure what gets loaded with 1.3 but my guess is 13), fuel prices are treated as floating point numbers. And inded, it searches for engine name (never notice that), but as version 2 you can use the hash code instead.

Decimals in config-file didn't work. Maybe wrong variables? I needed lower consumption but changing 13 to 1.3 will nothing happen. So i made 10x bigger tanks and now i can't set price below 1. It's great mod and i want to start new game with it and others scripts. Which means: i don't have too much money for fuel :D

alanfury

Members

Can you create a quick pumping gas animation would look awesome? , Great mod by the way :)

max112

Members

what are the controls of that?

Csyon

Members

Hey i tryed to get the warnlights/indicators on. But it didn't work with the Ultimate Fuel Script 2. Can someone fix this problem ???

KanoBellic223

Members

On 1/24/2015 at 10:32 PM, Csyon said:

Hey i tryed to get the warnlights/indicators on. But it didn't work with the Ultimate Fuel Script 2. Can someone fix this problem ???

Did you find the solution? I'm having the same problem

Create an account or sign in to comment

Latest Mods

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.