-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refuel - Added ability to refuel fuel sources #8981
Conversation
Conflicts: addons/refuel/CfgVehicles.hpp addons/refuel/functions/fnc_onMouseButtonDown.sqf addons/refuel/functions/fnc_refuel.sqf addons/refuel/functions/fnc_startNozzleInHandsPFH.sqf
I noticed that fuel trucks with big fuel containers can take ages to fill compared to vehicles with smaller tanks. The HEMTT fuel truck for example has fuel tank capacity of about 600 liters, while it can store up to 10,000 liters. Should we implement some sort of flow rate multiplier for refilling fuel trucks' containers vs their tanks? |
From gameplay standpoint multiplier definitely should be implemented. |
It would be nice if each vehicle had max intake rate and sources had max flow rate. It would then pick lower of the two values. |
I completely agree with both of the above comments. For now I've implemented a separate flow rate multiplier option for filling cargo fuel sources. It's 10x the standard refueling rate by default which should make filling huge tanks less of a pain. Adding dedicated input/output flow rates for each tank is a great idea and I'll probably implement something like this in t he future. |
…when argument is not a fuel source
@Quantx would you be able to make your variable names a little more verbose? Stuff like |
@Dystopian Fixed the |
Conflicts: addons/refuel/CfgVehicles.hpp
I read thru the changes & it looks like both requests were fulfilled - is there something else holding feature back or just that we need to bump? |
I have nothing left to add to this feature at this point and I've made all the requested changes. So unless there are any other suggestions or changes anyone wants to make, this should be good to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything else looks good
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
When merged this pull request will:
This PR is intended to supplant #7039 by @BaerMitUmlaut