1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.32 Bug Reporting thread
    Solutions and more information may already be available.

Changing Fuel Level

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Svpracer, Mar 18, 2014.

  1. Svpracer

    Svpracer
    Expand Collapse

    Joined:
    Aug 21, 2013
    Messages:
    242
    I have a general question about gameplay...
    Can you run out of fuel? Iv'e been playing this game and would like to know if I can lower the amount of fuel a car has in game. Could someone show/ tell me how to change it?
    Thanks
     
  2. 3r1cFPS

    3r1cFPS
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    112
    Yes, we can! :)

    To check your fuel status just type "L" once and look in the left corner, there you can see your current fuel!

    Greetz,
    GCG
     
  3. Davidbc

    Davidbc
    Expand Collapse

    Joined:
    Mar 20, 2013
    Messages:
    1,333
    Edited.
     
    #3 Davidbc, Mar 18, 2014
    Last edited: Mar 18, 2014
    • Informative Informative x 1
  4. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,960
    You dont remember the covet GTI economy challenges? The cars stop when out of fuel, I've done it.
     
  5. Davidbc

    Davidbc
    Expand Collapse

    Joined:
    Mar 20, 2013
    Messages:
    1,333
    Oh... as they still work without the fuel tank I thought fuel had no effect, I'll edit the post then.

    P.S: No car has ever lasted me that long :p
     
  6. Ltp0wer

    Ltp0wer
    Expand Collapse

    Joined:
    Apr 14, 2013
    Messages:
    164
    To change it:
    http://www.beamng.com/threads/5807-How-to-change-fuel-l-level
     
  7. logoster

    logoster
    Expand Collapse

    Joined:
    Sep 5, 2012
    Messages:
    2,083
    easy, open your console, and type in

    drivetrain.fuel = x (x being the amount of fuel you want your vehicle to have) and yes, when just driving around, you will lose fuel, takes a little bit though, but if you want to see it happen faster, change your fuel level to say, 0.10 and start driving, when it reaches 0, the engine will cut out, and your vehicle will just start rolling from the motion it already had, once it stops, it stays stopped, because it doesnt have fuel (you can set the fuel back to default as well, and the game will start the engine back up for you, or you could just reset)
     
  8. bad badger

    bad badger
    Expand Collapse

    Joined:
    Sep 18, 2014
    Messages:
    12
    WON'T WORK FOR ME!?!?!?!?!
     
  9. logoster

    logoster
    Expand Collapse

    Joined:
    Sep 5, 2012
    Messages:
    2,083
    first off, dat bump(but it's good that you searched, thank you for doing that), second off, you have to set the little drop-down menu in the bottom left corner of the console to BNGV THEN type the drivetrain.fuel = x (x being the amount of fuel you want it to have)
     
  10. Godzilla!

    Godzilla!
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    2,245
    There is no drop-down menu from the bottom left corner. And typing drivetrain.fuel = #.## into the console does not do a thing.
     
  11. logoster

    logoster
    Expand Collapse

    Joined:
    Sep 5, 2012
    Messages:
    2,083
    Then your game is broken, because there IS a dropdown menu in bottom left corner of console

    Sent from the 3rd galaxy via the talks of tapping
     
  12. Godzilla!

    Godzilla!
    Expand Collapse

    Joined:
    Mar 17, 2013
    Messages:
    2,245
    I got it now.
     
    #12 Godzilla!, Oct 11, 2014
    Last edited: Oct 11, 2014
  13. Zappymouse

    Zappymouse
    Expand Collapse

    Joined:
    Jun 18, 2013
    Messages:
    1,059
    Unstable != missing features

    Make sure your console is actually open. The tilde key (~) toggles it on/off.

    (imported from here)

    Also, can a dev fix up that typo on the 11th line? "intializing vehicle"
     
  14. seanwil12

    seanwil12
    Expand Collapse

    Joined:
    Dec 20, 2016
    Messages:
    1
    This does not work in the new .8 version.. typing drivetrain.fuel=0.10 does absolutely nothing to the fuel
     
  15. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Yep that's correct ;)
    While you can already alter the fuel level right now, I'd recommend waiting for the hotfix for 0.8 and use this command then (less cumbersome than the current way):
    Code:
    energyStorage.getStorage('mainTank'):setRemainingVolume(1)
    This sets the remaining volume to 1L.
     
  16. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Above is now live with v0.8.0.1 :)
     
  17. jtreign9097

    jtreign9097
    Expand Collapse

    Joined:
    Aug 22, 2013
    Messages:
    186
    The above code does put fuel into the tank but the engine wont restart after you fill it when it has run dry
     
  18. TheRobster5555

    TheRobster5555
    Expand Collapse

    Joined:
    Aug 3, 2015
    Messages:
    52
    It's not working for me

    EDIT: It does work just fine! Just set the console to the vehicle LUA! Although I can't get it started again when it runs out!
     
    #18 TheRobster5555, Feb 8, 2017
    Last edited: Feb 8, 2017
  19. TR1PP1N

    TR1PP1N
    Expand Collapse

    Joined:
    Nov 13, 2016
    Messages:
    74
    Is it possible to re-fuel at gas stations? How does one do that?
     
  20. Inertia

    Inertia
    Expand Collapse

    Joined:
    Dec 29, 2015
    Messages:
    1,692
    Control - R

    lol
     
    • Agree Agree x 2
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice