Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

[IV | REL/WIP] FuelScript IV


Andrew
 Share

Recommended Posts

3.0.1 will show the 3.0.0 line, since I haven't changed the version number yet.

 

jkmit: Hmm I haven't noticed that, but there is some areas where it does need some improvements. I'm going to have to update it and include a detailed logging feature, I can see where it is crashing then.

Link to comment
Share on other sites

sorry to keep posting, but for people who want a smaller gauge, set a low res. at the main screen, like 800x600, then in game, after gauge is loaded, go up to a higher one. it may now be in the center of the screen, but its smaller. smile.gif

Link to comment
Share on other sites

I am hoping to change the gauge system so that it can be customised. I'm still writing the framework for that.

Link to comment
Share on other sites

you know what else would be cool? if it only appeared when your in a vehicle. its kind of annoying just walking around with a speedometer in the bottom corner. rolleyes.gif

 

srry for double posting. didnt know there was an edit button biggrin.gif

Edited by jkmit
Link to comment
Share on other sites

Yeah it's only like that for when you refuel, really I should change it to only display incar or at a fuelStation.

 

jkmit, please use the edit button! Don't double post.

Link to comment
Share on other sites

 

Ah sinister, when you edit the values in the file. The price needs to be an integer as that is what it is set to in the script.

Ahh that explains it, suppose it would be a waste of time to make it a single or double. But i guess some people might want the real fuel prices in there region (that's what i tried). Either way an incredible mod well worth all the hassle I created, sorry and thanks again

Link to comment
Share on other sites

I'll change the value from int to float, that way you can use real fuel prices. I'll change that for 3.0.2.

Link to comment
Share on other sites

I think this might be a bug, but I'm not sure. I get in one of my cars, at my safe house, the fuel is empty, the yellow light is on, but I can still drive. whats up with that? also, what do those 2 symbols mean that are to the left of the battery symbol?

Link to comment
Share on other sites

3.0.1 crash everytime when you press "Q" and you're not in car (and Q is a movement key in your config) , because :

 

[...] in keyDownHandler function :If (Keys.Q = e.Key) Then       Game.Console.Print(String.Concat(New String() { "NV: ", MyBase.Player.Character.CurrentVehicle.Name, " // ", MyBase.Player.Character.CurrentVehicle.Model.ToString, " // ", MyBase.Player.Character.CurrentVehicle.Model.Hash.ToString }))   End If

 

 

It try to write the vehicle name in console/log when we press Q

But we're not in a car, so Access None on Player.Character.CurrentVehicle is nothing/null

 

But Q is to move left on azerty keyboard (and default config)

 

 

edit : nb : good mod

Edited by FilRip
Link to comment
Share on other sites

I think this might be a bug, but I'm not sure. I get in one of my cars, at my safe house, the fuel is empty, the yellow light is on, but I can still drive. whats up with that? also, what do those 2 symbols mean that are to the left of the battery symbol?

Batteries = ignition check

Yellow engine = light damage

Red engine = high damage

Car on fire = it's gonna blow!

Link to comment
Share on other sites

 

3.0.1 crash everytime when you press "Q" and you're not in car (and Q is a movement key in your config) , because :

 

[...] in keyDownHandler function :If (Keys.Q = e.Key) Then       Game.Console.Print(String.Concat(New String() { "NV: ", MyBase.Player.Character.CurrentVehicle.Name, " // ", MyBase.Player.Character.CurrentVehicle.Model.ToString, " // ", MyBase.Player.Character.CurrentVehicle.Model.Hash.ToString }))   End If

 

 

It try to write the vehicle name in console/log when we press Q

But we're not in a car, so Access None on Player.Character.CurrentVehicle is nothing/null

 

But Q is to move left on azerty keyboard (and default config)

 

 

edit : nb : good mod

I don't know how to solve this problem

tell me your solution, please!

Link to comment
Share on other sites

3.0.1 crash everytime when you press "Q" and you're not in car (and Q is a movement key in your config) , because :

 

[...] in keyDownHandler function :If (Keys.Q = e.Key) Then       Game.Console.Print(String.Concat(New String() { "NV: ", MyBase.Player.Character.CurrentVehicle.Name, " // ", MyBase.Player.Character.CurrentVehicle.Model.ToString, " // ", MyBase.Player.Character.CurrentVehicle.Model.Hash.ToString }))   End If

 

 

It try to write the vehicle name in console/log when we press Q

But we're not in a car, so Access None on Player.Character.CurrentVehicle is nothing/null

 

But Q is to move left on azerty keyboard (and default config)

 

 

edit : nb : good mod

Ah sh*te, that appears to be some testing code left in from the cars won't refuel bug!

Link to comment
Share on other sites

Gangsta Killa

Also I've noticed, that if I delete button configuration from .ini file (e.g. Control, S - for speedo), then every time I press "S" during the game speedo appears or disappears.

 

Your mod is amazing! It became more difficult but very interesting to play plot missions!

 

Keep it up! smile.gif

Link to comment
Share on other sites

love to play with fuelmod again!!!

but i still have the problem, that i don't see the fuelstations on the radar...

question: can you make the speedometer, rpm and fuel gauge customizable like the speedometerIV, cuz i don't like the blue one...

Link to comment
Share on other sites

 

Gangsta Killa

Also I've noticed, that if I delete button configuration from .ini file (e.g. Control, S - for speedo), then every time I press "S" during the game speedo appears or disappears.

 

Your mod is amazing! It became more difficult but very interesting to play plot missions!

 

Keep it up! smile.gif

Yep it will do since, when importing the Keys from the ini file it has a default option which must be set. So if you remove the key from the ini file and it can't find it. Then it reverts to the default option.

 

Korbim, all that is coming eventually. I've got to rework my code so it is more effeicent, but the radar locators are planned again as well as a gauge framework to allow custom guages.

Link to comment
Share on other sites

Korbim, all that is coming eventually. I've got to rework my code so it is more effeicent, but the radar locators are planned again as well as a gauge framework to allow custom guages.

Great...cant Wait panic.gif

Link to comment
Share on other sites

I noticed that when I took this mod off, my frame rate increased. if it could take up a bit less fps, that'd be cool, but if not, that's fine too. also, take it off during cut-scenes. that is annoying. thank you for acknowledging my request.

 

EDIT: also, if you could make it so I don't have to keep restarting the engine when I steel someones car off the street, (like they're driving with the engine on, I take their car, and the engine turns off. I mean, if you're getting car-jacked, than, do you really have time to turn off the engine?)

 

That'd be so cool.

Edited by jkmit
Link to comment
Share on other sites

I'll get hotfix out for the Q bug today at some point. I'm going to try and make the script more effceient, so all other work is stopped for time being until I can sort the script out.

 

Edit: Just got to go through the 300 lines of code that make up the fuelTick method, and see if I can improve it in anyway.

Edited by Gangsta Killa
Link to comment
Share on other sites

Could somebody help me with this?

2009-09-02 16:25:43 - Initializing ScriptHookDotNet v0.893 BETA (GTA IV version 1.0.4.0)

2009-09-02 16:29:00 - Direct3D device created!

 

2009-09-02 16:29:01 - SEARCHING FOR SCRIPTS...

2009-09-02 16:29:01 - Loading scripts in Assembly 'scripts\gkFuelMod.net.dll' ...

2009-09-02 16:29:01 - ...found script 'gkFuelMod.fuelMod'!

2009-09-02 16:29:01 - DONE! 1 valid scripts found!

 

2009-09-02 16:29:01 - STARTING SCRIPTS...

2009-09-02 16:29:01 - Error in constructor of script 'gkFuelMod.fuelMod':

System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Program Files (x86)\Rockstar Games\Grand Theft Auto IV\scripts\fuelModData\fuelStations.xml'.

at GTA.ScriptThread.LoadScriptNow()

Link to comment
Share on other sites

I'd just like to apologise for the delay but we should have a fixed version out soon. I've just started my work placement for a year so time has vanished for me, lol.

Link to comment
Share on other sites

Great Mod ! Awesome thinking and work !

 

I havent fully tried ure mod yet, but it works so far, no blibs on map tho, but i like that, i know Liberty City pretty well hehe tounge.gif

 

I have a question tho....(sorry if its mentioned before)

 

Make icons/speedo customizable ?

 

blue not pretty and text dissapears when ingame is bright... sad.gif

 

Im paitence, so dont rush for my sake tounge.gif as if hehe

 

Sorry my bad english

Edited by danodk
Link to comment
Share on other sites

  • 2 weeks later...

Well done for the mod! Adds a lot of realism smile.gif . I have v.3.0.1 and the fuel station icons don't appear for me either (do we have to edit them by ourselves using a command line - If I ve understood good?)

Also when I call TOW5550100 or MOB5550100 nothing happens (no one comes, no money are detacted, no message displayed). Does anyone has the same problem? sarcasm.gif

Thanks

PS; Also in a future version it would be nice if we could call refueling anytime we want.

Edited by gorgonut
Link to comment
Share on other sites

Nice mod, just tried this out !

One question though: Why is the speedometer/fuel gauge etc always active ? Even when I'm on foot it's onscreen dontgetit.gif ! Is there a way to make it appear only when you get in a vehicle (and disappear when you exit it) ?

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
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.