Hey guys, I am trying to figure out how to change the automatic aggression info. Does anyone know how to change this? To clarify I mean the setting you can see when you open Shift Decision Debug. Hope someone can help me, thanks in advance.
You need to make new transmission mod for that. https://wiki.beamng.com/Powertrain You also need to open some ingame vehicle files to see how those been set up.
But I don't really see here how to change the shift points or aggression of the transmission. I am also not really a pro in programming so I might just look wrong haha
That part is what you need to spy on those in game vehicles, there really is not much information about those values around. I did test and figure out many of them, but it is so many weeks ago, that I have forgotten that already. I do remember than some of the values did work opposite way that you would of though and that affected how quickly aggression adapts, unless I remember wrong. At least these parameters do exist: "aggressionHoldOffThrottleDelay":2.5, "shiftAggression":1, "aggressionSmoothingUp":2 "aggressionSmoothingDown":0.2 "gearboxDecisionSmoothingUp":2 "gearboxDecisionSmoothingDown":2 I did attach a file for hopper, you put it in documents\beamng.drive\vehicles\hopper and then you have new automatic transmission for Hopper. Edit values in that file to change how transmission behaves. Middle of something right now, so need to write more about values later.
^^^^ [it's a good idea to open the shift points app in the UI] "aggressionSmoothingUp" will change how fast the agression factor increases [bigger numbers are faster] "aggressionSmoothingDown" will change how fast the agression factor decreases [bigger numbers are faster] "aggressionHoldOffThrottleDelay" changes how long after you have throttle on the agression drops (floor it and you will see it sticks for a while then decreases factor). "gearboxDecisionSmoothing" adjusts how much of a delay there is for the "decision", is not necessary for when you use the aggression factor. there are two distinct modes of transmission in the game, the old and the new (electronic / mechanical) "useSmartAggressionCalculation" (false/true) is whether it is electronic or not. You can tell between the two when driving as the electronic ones will have that hold delay (floor it and let off and it doesn't shift up for a while) whereas something that doesn't have it will not do the delay (eg. Moonhawk).
Okay thanks guys! I have been playing around a bit now, and I really enjoy it I only have two question, I am messing around with the ETK transmission and notice there are four points I can change: "aggressionSmoothingUp":0.2 "aggressionSmoothingDown":1 "gearboxDecisionSmoothingUp":0.2 "gearboxDecisionSmoothingDown":1 Whats the diffrence between gearboxdecision and agression? And my other question is can I also change the parameters of the Sport setting?
agression is the thing that calculates the shiftpoints, so works for electronic transmissions (better than decision) but on older transmissions (mechanical) you would put the decision in for a lag, so for example where it holds the RPM after you have floored it. Think of it like this... Aggression is the calculation, so calculates the shiftpoints and the transmission adheres to them Decision is the lag time between the "aggression" changing and the transmission changing gear
Aggression is kind of modifier for gearbox decision. Gearbox decision is deciding of shifting up or down, while aggression alters of which rpm this gearbox decision happens. What Michaelflat writes about lag is that smoothing part of the keywords, how long delay there will be until change it slows down shifting decision or aggression change. So if you floor the throttle your throttle input is 1.0, but smoothing is delaying that so smoothed value will take more time to reach 1.0. Gearbox decision decides which gear to shift and aggression value alters shift rpm, smoothing adjustment changes delay it takes for these two to change. However those are not hold off delays, there is always a change, only speed of change is altered by those values. In file I attached, you need to make this change for those parameters to work I believe. "useSmartAggressionCalculation":true, Sport setting just makes shifting to happen at what is defined by highShiftUp and highShiftdown parameters, you need these in to file for that: "highShiftUpRPM":5000, "highShiftDownRPM":3500,
It actually just adds an offset to the calculated aggression. It still blends between low and high shiftpoints based on the final aggreasion value.
Ah, that is good to know. Of course that is only when using aggression, so if we set "useSmartAggressionCalculation":false, then it probably is acting bit differently?
Can I program my own custom aggression offset in the shift-logic lua and change it based on the ESC mode?