Skip to content

GTA IV🔫 Script mod - Realistic Fuel + Personal Vehicle + Simple Speedometer AIO

License

Notifications You must be signed in to change notification settings

lucas-labs/fuelmod-gtaiv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script is based on the Ultimate Fuel Script v2.1.0.0 source by Pedro Rodrigues

prodrigues1990@gmail.com and this is just an improved version of it.

INSTALLATION:

Just unzip/extract the contents of the ZIP file you downloaded to GTA IV root directory folder. Keep the folders and paths intact (SlimDX.dll should be placed in the GTA IV root folder where GTAIV.exe exist, and everything else should be at "scripts" folder, as in ZIP file). You need .NET Script Hook v1.7.1.7 BETA and all it's dependencies, XLiveLess ASI loader (for ScriptHook) and this script is developed and tested on GTA IV 1.0.7.0 (recommended).

WARNING:

This script also shares Ultimate Fuel Script's GUID (which is "3583e09d-6c44-4820-85e9-93926307d4f8"). So don't use these two script together or it will cause a conflict in some events.

USAGE:

You don't need to worry, every help and which keys you should use will be provided to you as ingame instructions when you using this script. And almost everything is customizable to your needs.

HELPFUL DOWNLOADS:

If you need to change the display location of the fuel meter, consider downloading this tool, also part of this script : goo.gl/LGSEo. .NET Framework 4.5 Client Profile : goo.gl/lHb23 .NET ScriptHook 1.7.1.7 : goo.gl/pj06y C++ ScriptHook 0.5.1 : goo.gl/HrQQq YAASIL : goo.gl/4fEkK

CHANGE LOG:

2.3.x.x NEW: A whole lot of fuel stealing locations all around Liberty City, and more to come. (Thanks to yoshiko, for providing a lot of locations) NEW: Added a new fuel station that somehow we've never noticed. NEW: Optional parameter DISPLAY added to all fuel station types. Read stations section at ini file. NEW: Optional software download to simplify moving the fuel gauge around the screen. Check section HELPFUL DOWNLOADS of this file. CHANGE: Big changes in the message display system, might still not be perfect. CHANGE: Fuel bottles now give you 1/2 of a tank, instead of 1/3. CHANGE: Mod version scheme, changed to Major.Minor.Revision.Build, you can get the specific code for a version by checking out the trunk folder with the revision specified in the mod version. FIX: Compatability fix for indicator mods. FIX: Fixed potential script crash when using fuel bottle in a bus. FIX: Reserve sound path incorrect. FIX: Minor fixes to Emergency Fuel Service animations. NOTE: Some of the new features might miss source code comments.

2.2.0.4 NEW: Emergency Fuel Service! Call to GET-555-FUEL (438-555-3835) or press K (if phone number checks are not working on yours) to call a emergency fuel bouser, which will enter your scene when you ran out of all options (no fuel bottles and couldn't reach to a fueling station in time). NEW: Now you can set how much fuel bottles player can carry as maximum (MAXFUELBOTTLES). NEW: Now you can set how much free fuel bottles should be added to the player's inventory when the game loaded (FREEBOTTLES). NEW: Now you can set how much should player spend to get one fuel bottle (FUELBOTTLECOST). NEW: Now you can set how much should player cost to get emergency fuel service call (SERVICECOST). NEW: Now you can set which key should press to call emergency fuel service if phone number checks are not working (calling won't work) by SERVICEKEY. NEW: Added text notification configurations for: EMERGENCYCALLTEXT, EMERGENCYONWAYTEXT, EMERGENCYAGENTTEXT, EMERGENCYDONETEXT. CHANGE: Optimized FuelScript_Tick() function to be calculated a little more faster. CHANGE: Added back Play() function to play embedded sound when player enters to the reserved fuel on a vehicle. FIX: Fixed few percentage and amount calculators to use String.Format() which is a little more faster in overall performance (Solution by Pedro). FIX: Beta versions doesn't say that it's a beta properly. FIX: Crash when player gets back to vehicle after refueling his vehicle with a fuel bottle. FIX: Crash when player luckily gets to a fueling station even when no fuel (using the speed he gained in the vehicle). FIX: Fixed few comments which were commented with wrongful meaning. FIX: Fixed script crash when player taking too much time to get back in vehicle after injecting a fuel bottle (known when player runs on lower FPS than game playable FPS, it crashes as player takes too much time to get back on vehicle). FIX: Fixed unwanted double "if" checks which can be collapsed into one check. FIX: Dozen more minor bugs has been fixed. NOTE: Fully commented newly added features and functions on the source code.

FAQ:

Q. GTA prompted an error : "GTA IV FATAL ERROR: Invalid resource detected - Please re-install the game". A. Just retry, the error should be gone. It sometimes happens when running the script for the first time.

Q. Can I add entries in the settings (.ini) file for added, not replaced cars ? A. Yes, use a trainer (Simple Native Trainer is recommended) and take note of the HASH code for that specific car. Open the settings file copy and paste any car/bike/boat/heli entry, and change the name of vehicle (inside []) to the hash code of your car. The values specified in this new entry should be loaded for your added cars, there is no limit to how many entries you can have.

Q. Can you add stealing points for fuel ? Q. They are in the mod already, they just don't show up on the map/radar. If you think a new location should be added, leave a comment at gta4-mods.com.

Q. You didn't anwser my question. A. If you've encountered a problem not described here, please fill a new issue report at this link https://code.google.com/p/realistic-fuel-mod/issues/entry?template=Defect%20report%20from%20user. If you have a comment about this mod or you just want to suggest something, write a comment at GTA4-mods.com.

About

GTA IV🔫 Script mod - Realistic Fuel + Personal Vehicle + Simple Speedometer AIO

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages