Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I'm trying to put something together so that when I'm parked at a fuel pump:

 

1. it won't automatically fill me up to 100%

 

2. a window pops up in full screen mode and asks me how much fuel I want in gallons and/or pounds. or gives me an option to use a custom fuel program (for planes like PMDG, MAJESTIC, A2A, etc)

 

 

can a LUA script do this? or would I need more advanced programming.

 

 

actually all I really want, the bare minimums would be to at least be able to drive to a pump station in FSX and not have it automatically fill me up.. 

Posted

I'm trying to put something together so that when I'm parked at a fuel pump:

 

1. it won't automatically fill me up to 100%

 

2. a window pops up in full screen mode and asks me how much fuel I want in gallons and/or pounds. or gives me an option to use a custom fuel program (for planes like PMDG, MAJESTIC, A2A, etc)

 

 

can a LUA script do this? or would I need more advanced programming.

 

 

actually all I really want, the bare minimums would be to at least be able to drive to a pump station in FSX and not have it automatically fill me up.. 

 

For FS2002 and FS2004 there is a facility in FSUIPC3 to stop the automatic fuelling action at fuel pumps -- "StopAutoFuel=Yes" in the INI file. But I never found how to do this in FSX, and to be honest no one ever asked either.

 

To do it in Lua you'd probably need to have an offset event on the fuel tank values, and if the value increased when it wasn't done by your own code (ie in this Lua) restore the previous value. You can use other Lua facilities to detect a switch, keypress or button and prompt for a fuel value, then load it immediately, or more realistically, slowly increase the value till the requested amount was provided.

 

Pete

Posted

Hi,

 

Alternatively you could use FS Refuel: http://www.sprucesim.com/products.html

This tool does a nice job. You also can run it on a second PC, if you have one in your configuration.

 

Rgds

Reinhard

 

I wanted to ask you. Does this automatically pop up when you pull into a fuel parking spot in FSX? Does it disable the automatic fueling to 100%?

Other than that, it looks pretty neat.

Thanks

Posted

Hi,

 

It does not pop-up automatically (I run it on my second PC manually providing weather, etc. as part of my startup procedure) and if it does stop automatically refueling: I don't know. I use Prepar3D 2.4 and I don't think, that they are automatic refueling. Have not seen this. But I am more a jet flyer than GA and on the jet parking spots there are typically no refuelling spots ;-)

 

Rgds

Reinhard

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.