sakis25 Posted April 30, 2015 Share Posted April 30, 2015 (edited) Fuel Script V 1.0 Mod by Sakis25 updated 17-10-21 The first fuel mod for GTA V! NEW UPDATE 2021! IMPORTANT PLEASE READ! If you where using any previous versions please delete the "FuelScriptV.lua" from the "scripts\addins\" folder. It's incompatible and might cause conflicts. Features: Fuel bar above the minimap (position can be customized) Engine stops if you run out of fuel Working interior fuel gauge Damaging the car's petrol tank affects consumption Blips with petrol stations on map To refill the gas tank stop the car near a petrol station and sound the horn You can also refill your car using the jerry can (hold displayed button near vehicle left side) Animations while refilling with the jerry can Adjustable consumption speed Car fuel is stored for the last 32 vehicles When you run low on gas the fuel bar turns red Controller support Requirements: Script Hook V Script Hook V .NET NativeUI What's New in v1.0: - Completely rewritten the code from scratch. New version features many new additions mentioned above while keeping the simplicity that made this mod popular. - Feel free to report any bugs in the comments Customization: Edit the FuelScript.ini to adjust the settings to your preferred values. Installation: Place FuelScript.dll and FuelScript.ini into your "scripts" folder. Support: PLEASE REPORT ANY BUGS IF ANY Download: FuelScriptV 1.0.zip Special Thanks: - haws1290 - Daxwolf - faztsquirrel - headscript - 80T Enjoy! Edited October 17, 2021 by sakis25 New Update v1.0 FantasyGamer0, Inco, Eight Ball and 17 others 20 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/ Share on other sites More sharing options...
jedijosh920 Posted April 30, 2015 Share Posted April 30, 2015 (edited) Good job! I always like being immersive in the world of Los Santos, even if it comes to car fuel. Edited April 30, 2015 by jedijosh920 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067399348 Share on other sites More sharing options...
gta5mods Posted April 30, 2015 Share Posted April 30, 2015 (edited) Good idea and good luck! http://segmentnext.com/2013/09/18/gta-5-stores-heists-and-robbery-guide-how-to/ Here's a link to an article showing all the robbery locations. 2, 10, 13, 16 & 19 are the gas stations Edited April 30, 2015 by gta5mods Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067399486 Share on other sites More sharing options...
jfarre20 Posted April 30, 2015 Share Posted April 30, 2015 Does the 1st person fuel gauge work? I know it does when you shoot the fuel tank. flnyla 1 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067399539 Share on other sites More sharing options...
sakis25 Posted May 1, 2015 Author Share Posted May 1, 2015 Good idea and good luck! http://segmentnext.com/2013/09/18/gta-5-stores-heists-and-robbery-guide-how-to/ Here's a link to an article showing all the robbery locations. 2, 10, 13, 16 & 19 are the gas stations Thank you for the locations. I will try to add them all in an update. Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401113 Share on other sites More sharing options...
alteredbeast Posted May 1, 2015 Share Posted May 1, 2015 Thanks sakis25, I was waiting for that kind of mods. Hope you will find a way to make the first person fuel gauge working (but it sounds hard to do...). As a sugestion, maybe, once you have implemented the gas stations, you can decrease a certain amount of money everytime we refill (if it's to hard to do, just ignore my sugestion). Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401164 Share on other sites More sharing options...
calvooo Posted May 1, 2015 Share Posted May 1, 2015 Woow, thats awesome. Cant wait to add fuel stations. And how long it takes to spend all the fuel? Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401302 Share on other sites More sharing options...
flnyla Posted May 1, 2015 Share Posted May 1, 2015 Does the 1st person fuel gauge work? I know it does when you shoot the fuel tank. This. I wonder the same myself. Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401329 Share on other sites More sharing options...
alteredbeast Posted May 1, 2015 Share Posted May 1, 2015 Mmmh, just tested and it doesn't seem to work... I use the last Lua script from here, and Szabo's Persistance Mod (which also uses lua and still works perfect). Don't know what's the problem... vithepunisher 1 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401396 Share on other sites More sharing options...
PatrickJr. Posted May 1, 2015 Share Posted May 1, 2015 Mmmh, just tested and it doesn't seem to work... I use the last Lua script from here, and Szabo's Persistance Mod (which also uses lua and still works perfect). Don't know what's the problem... Well if you've updated to the latest version of GTA:V That will be the problem Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401417 Share on other sites More sharing options...
slik Posted May 1, 2015 Share Posted May 1, 2015 (edited) I assume your gas bar has the same problem as mine: not default Safezone size value from the settings breaks it.. Edited May 1, 2015 by slik Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401440 Share on other sites More sharing options...
LordJustin Posted May 1, 2015 Share Posted May 1, 2015 There are a lot of gas stations everywhere, like the one on the end of Paleto bay, near the LSCustom. It could be fun if they were available too in your mod. How can we contribute ? what kind of info do you need about the location? coordinates? I'll be spotting these while crusing around Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401474 Share on other sites More sharing options...
gta5mods Posted May 1, 2015 Share Posted May 1, 2015 There are a lot of gas stations everywhere, like the one on the end of Paleto bay, near the LSCustom. It could be fun if they were available too in your mod. How can we contribute ? what kind of info do you need about the location? coordinates? I'll be spotting these while crusing around I actually sent a link where all the gas station locations are But coordinates would be great, I assume! Fix for the mod: Safezone problem where the fuel bar is out of screen. Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401481 Share on other sites More sharing options...
alteredbeast Posted May 1, 2015 Share Posted May 1, 2015 Well if you've updated to the latest version of GTA:V That will be the problem I haven't updated the game (I even shared my files for those who wanted to downgrade the retail version of the game) Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401486 Share on other sites More sharing options...
Clipper95 Posted May 1, 2015 Share Posted May 1, 2015 Does the 1st person fuel gauge work? I know it does when you shoot the fuel tank. Then we need OPENIV For da job Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067401635 Share on other sites More sharing options...
vithepunisher Posted May 1, 2015 Share Posted May 1, 2015 Doesn't work did everything correctly and nothing Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403000 Share on other sites More sharing options...
sakis25 Posted May 1, 2015 Author Share Posted May 1, 2015 (edited) Thanks sakis25, I was waiting for that kind of mods. Hope you will find a way to make the first person fuel gauge working (but it sounds hard to do...). As a sugestion, maybe, once you have implemented the gas stations, you can decrease a certain amount of money everytime we refill (if it's to hard to do, just ignore my sugestion). I don't have any control on the first person fuel gauge. The only option to this is a check if the fuel tank is damaged. There is no fuel percentage or anything in the scripts. Currently I'm working on adding more fuel stations. I'm also trying to find a way to decrease your money when you refill but no progress to this yet. I will need some help for this. For those who can't make it work it's probably because you have updated the game to the latest version. Edited May 1, 2015 by sakis25 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403256 Share on other sites More sharing options...
gta5mods Posted May 1, 2015 Share Posted May 1, 2015 Thanks sakis25, I was waiting for that kind of mods. Hope you will find a way to make the first person fuel gauge working (but it sounds hard to do...). As a sugestion, maybe, once you have implemented the gas stations, you can decrease a certain amount of money everytime we refill (if it's to hard to do, just ignore my sugestion). I don't have any control on the first person fuel gauge. The only option to this is a check if the fuel tank is damaged. There is no fuel percentage or anything in the scripts. Currently I'm working on adding more fuel stations. I'm also trying to find a way to decrease your money when you refill but no progress to this yet. I will need some help for this. For those who can't make it work it's probably because you have updated the game to the latest version. What about fixing the safezone problem? Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403362 Share on other sites More sharing options...
t9x69 Posted May 1, 2015 Share Posted May 1, 2015 Thanks sakis25, I was waiting for that kind of mods. Hope you will find a way to make the first person fuel gauge working (but it sounds hard to do...). As a sugestion, maybe, once you have implemented the gas stations, you can decrease a certain amount of money everytime we refill (if it's to hard to do, just ignore my sugestion). I don't have any control on the first person fuel gauge. The only option to this is a check if the fuel tank is damaged. There is no fuel percentage or anything in the scripts. Currently I'm working on adding more fuel stations. I'm also trying to find a way to decrease your money when you refill but no progress to this yet. I will need some help for this. For those who can't make it work it's probably because you have updated the game to the latest version. I have downgraded my game after the latest patch and all my script mods work except for this one. Has anyone outside the OP have this confirmed as working? I'd love to try it out. Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403387 Share on other sites More sharing options...
EnforcerZhukov Posted May 1, 2015 Share Posted May 1, 2015 OMG!!! I wanted a fuel script for GTA V!!! Great work! ^^ Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403396 Share on other sites More sharing options...
sakis25 Posted May 1, 2015 Author Share Posted May 1, 2015 Thanks sakis25, I was waiting for that kind of mods. Hope you will find a way to make the first person fuel gauge working (but it sounds hard to do...). As a sugestion, maybe, once you have implemented the gas stations, you can decrease a certain amount of money everytime we refill (if it's to hard to do, just ignore my sugestion). I don't have any control on the first person fuel gauge. The only option to this is a check if the fuel tank is damaged. There is no fuel percentage or anything in the scripts. Currently I'm working on adding more fuel stations. I'm also trying to find a way to decrease your money when you refill but no progress to this yet. I will need some help for this. For those who can't make it work it's probably because you have updated the game to the latest version. What about fixing the safezone problem? I'm not quite sure how to fix the safezone. I tested this on 720p and 1080p and it works fine. I will need some help on this. Some more issues I can't fix yet is that "IS_THIS_MODEL_A_CAR(Hash model)" apparently is not working yet so I can't check if you are in a car or something else. Also I'm looking for a way to add markers on the map with the location of the fuel stations but I cant find a solution yet. Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403513 Share on other sites More sharing options...
alteredbeast Posted May 1, 2015 Share Posted May 1, 2015 (edited) For those who can't make it work it's probably because you have updated the game to the latest version. I haven't updated, and my others lua scripts still work fine. By the way, I just remembered, when I used the old lua script version, that I saw a report telling that your script had an error in the line 53 or something (definitely in the 50s I'm pretty sure). Sadly, with the newest version, I'm not able to see the reports alt-tabing like I did, and I can't find any logs for lua anywhere... Edited May 1, 2015 by alteredbeast vithepunisher 1 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403554 Share on other sites More sharing options...
GRAX Posted May 1, 2015 Share Posted May 1, 2015 cool! makes GTAV mode realistic. Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403648 Share on other sites More sharing options...
sakis25 Posted May 1, 2015 Author Share Posted May 1, 2015 (edited) Fuel Script V updated to 0.2! What's New: You can now refill your fuel from petrol stations! (9 available in this version) Map with petrol station locations included in the archive Bug fixes Edited May 1, 2015 by sakis25 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403736 Share on other sites More sharing options...
gta5mods Posted May 1, 2015 Share Posted May 1, 2015 (edited) Fuel Script V updated to 0.2! Whooa Future features should be blips on the map so we easier can find the gas stations Edited May 1, 2015 by gta5mods Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403745 Share on other sites More sharing options...
sakis25 Posted May 1, 2015 Author Share Posted May 1, 2015 Fuel Script V updated to 0.2! Whooa Future features should be blips on the map so we easier can find the gas stations Blips on the map is definitely on my future plans but I don't have this option yet. Mods how can I change the title of the topic? Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403781 Share on other sites More sharing options...
EnforcerZhukov Posted May 1, 2015 Share Posted May 1, 2015 Curious, it isn't working for me neither Theorically my LUA works fine, i tried a bodyguard spawner on LUA and seems to run OK. Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403798 Share on other sites More sharing options...
t9x69 Posted May 1, 2015 Share Posted May 1, 2015 (edited) Fuel Script V updated to 0.2! What's New: You can now refill your fuel from petrol stations! (9 available in this version) Map with petrol station locations included in the archive Bug fixes Great work! Now it's working as it should. Although, I kinda feel like you run out of gas way too quick. I picked up a random car off the street that had maybe a 1/2 a tank. From the gas station #1 on your map, to the tunnel under Fort Zancudo the tank was empty. I'm not sure if it's possible, but maybe add to where the user can refill his/her gas tank by using the Jerry Can. That would be really cool. Otherwise, great work! Keep it up. Edited May 1, 2015 by t9x69 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403815 Share on other sites More sharing options...
sakis25 Posted May 1, 2015 Author Share Posted May 1, 2015 Curious, it isn't working for me neither Theorically my LUA works fine, i tried a bodyguard spawner on LUA and seems to run OK. Make sure "FuelScriptV.lua" is in the "scripts\addins\" folder Are you getting any errors? Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067403831 Share on other sites More sharing options...
Rich246 Posted May 1, 2015 Share Posted May 1, 2015 (edited) Can you enable the Gas Stations on the map in game? Edited May 1, 2015 by Rich246 Link to comment https://gtaforums.com/topic/790833-vrelwip-fuel-script/#findComment-1067404009 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now