Skip to content
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

Added Gas Stations + Fixed Lua #3

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

BuilderSky
Copy link
Contributor

I added gas stations for the new Johnson Valley map, as well as fixed some lua that was not allowing the stations to show on Hirochi and ECUSA.
Also added missing fuel stations on WCUSA due to BeamNG update.

PS. I changed the gas station colors, if that's ok, due to request from Yellowracer on the BeamNG mod review section.

UI App files deprecated due to simpler use of using input key "E" to refill.
Disabled the breaking of all components if engine is running, will re-enable if requested.
Added 4 gas stations to the Utah map that were missing.
When the random setting goes off to explode/set fire to the vehicle, it will also set the Fuel Leak Rate to .15 Liters/second.
Added a couple of pumps to the map, as well as changed two pumps from "ev" to "gas".
I added some files with the correct extensions to start working on a UI app for map devs to easily add fuel stations to their maps.
Added some small code to the beginning of two of the files, just starting to get something in the works.
Slightly re-structured code to fit BeamNG UI App creation instructions, available here:
https://documentation.beamng.com/modding/ui/app_creation/
Fixed Lua error not allowing fuel stations to show or be usable
At the request of Yellowracer on the BeamNG Mod review section, I have changed the gas cylinder color back to red instead of yellow. (Not sure if you want to re-implement this or not)
I set the X too high, cylinders were in mid-air XD
WCUSA had an update and added fuel stations
Trying to make UI app functional
Copy link
Member

@Starystars67 Starystars67 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to get this handled subject to an in-game test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants