-
Notifications
You must be signed in to change notification settings - Fork 56
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
Scalable gearboxes rework #443
base: master
Are you sure you want to change the base?
Conversation
This is not yet complete! Please don't try to use this yet if you are a player/server owner lol
- Mobility ropes are now entirely faked with clientside rendering instead of being actual ropes (using actual ropes with scalable entities like this looks awful) - Lowered the minimum scale amount to 0.75 to allow for tiny clutches - The mobility ropes setting now toggles visibility of all mobility ropes globally instead of only allowing the creation of ones owned by the local player - Added some globals for controlling gearbox behavior
For some reason, these were occasionally loading in like normal gearboxes and were selectable from the menu, which was not supposed to happen.
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.
Other than these commented out things I found and that weird menu issue, I don't immediately see anything off? I'll prob do a second pass later.
I tested four of my dupes, ranging from 2020 to 2024, and all seem to still work perfectly fine, so functionally I can't see anything wrong
- Removed lots of commented out chunks - Fixed a bug where the menu would show dual clutch as enabled but the actual setting would be disabled right after opening the menu for the first time - Fixed (?) a bug where the gearbox entity in the menu would throw an error after opening the page for the first time (I just increased the timer a bit) - Allowed 9 gear auto/manual boxes
Removed the extra DrawRope calls since calling it in the draw hook just made every single mobility component draw the ropes again and again Also start paving the way for eventually optionally generating a model for links in place of the simple ropes
Extends the gear ratio limits to -10:10 and inverts them relative to the existing ones. Based loosely on work by @Tyunge
This rework now also includes more realistic gear ratios as requested in #250 ( |
Closes #100 and #250
Partial completion of #15
This PR contains a significant overhaul of gearboxes to turn them into customizable scalable entities. Some of the features include:
Use this at your own risk if you want to test it, as things should still be considered experimental and potentially unstable/breaking until this gets into the main branch.
Things still left to be done: