-
Notifications
You must be signed in to change notification settings - Fork 55
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
[ BETA ] Mobility Update v2.12.7-beta #396
Conversation
I notice the calcMass test is failing for KEShove, I was told that it was caused from an unrelated change to KEShove. Is there something I need to update or change for this pull request? |
Merge the latest commit from dev and the tests should be good now |
Do you plan to move the new functionality into the existing Also for everyone's future reference, this appears to close #250 (feel free to correct me on this if not or tag any other applicable issues) |
Yes, the end goal is to replace the logic of current The reason I'm approaching the change in this way is to catch any major issues and to get feedback before it becomes the main system. The differences between the new logic and the old logic are great enough that it's a better idea to implement and test along side the old system in the dev branch until it reaches a stable release. The goal is create an accurate simulation of mobility components which includes engine feedback, engine braking, clutch slip, over rev damage, engine stalling, variable slip rates for differentials, accurate gear ratios, etc. Displacement is used to simulate engine braking and should be the only new variable introduced. This could possibly be defaulted to 0 for older addons. |
I have a couple of suggestions but I wasn't entirely sure with bringing them up because they could certainly end up being controversial. One of the topics that has been brought up in the discord when it comes to mobility components is the inconsistency on the units used by them:
Which makes me think, would it be possible to standarize all these inputs to use a single unit? Changing Throttle and Brake to work with 0-1 would certainly make everything much simpler for the end user, but it'd also break every single old contraption prior this change. |
Yeah I could make them all use a 0-1 value and for brakes to use 0-50 to keep it relative. The input manager for throttle converts 0-100 to a 0-1 value immediately anyways so that would make the code a lot more simple. Not sure how the manager for brake converts but i assume it’s the same. I could make a maximum brake force slider for gearboxes so that the brake input could also default to 0-1. It wouldn’t necessarily break old contraptions, but if they did use say 50 throttle it would be similar to using 100% throttle since the value would be clamped to 1 as a maximum. I do like this update because it would allow users to use nothing but a chair and a wire POD controller for mobility if they don’t have access to ecu codes |
This says closed, does that mean it was not integrated at all to the main ACF? Would be a real bummer as this fixes so many issues with ACF. |
ACF MOBILITY UPDATE V1.0.0-beta
This update brings new logic to ACF3 mobility. This update will NOT affect existing dupes that are using the legacy mobility components. Updated components must be spawned new as they do not share the same class as legacy components.
Legacy components cannot be auto updated by using the ACF spawner tool to use the new mobility logic. THEY MUST BE SPAWNED NEW
Legacy Components CANNOT be linked to updated components and vice-versa.
Please view the Other Changes sections for how to enable/disable this update, and to spawn updated components.
**this update is experimental and may have adverse effects to your health
**please be patient as bugs may increase in prevalence to its stage of development
Engine Component Changes
Gearbox Component Changes
Other Changes
- New Client Setting - client setting to spawn updated components- New Client CMD - acf_mobilityupdate can be used to enabled/disable this update- Update Eligibility - notification description added to all engines and gearboxes.!
Future Updates
For Developers
Creating Eligible Components
To create or update existing engine addons, all engines must have the following variables in their registry:
Important Info
Updated mobility components are NOT
acf_engine
acf_gearbox
classes.Updated mobility components are
acf_engine_update
acf_gearbox_update
classes.The reason for this was to create a separation of legacy and updated mobility components to maintain a stable mobility components as changes are made to the mobility update.
The legacy components should be considered
depreciated
.