Space Engineers

Space Engineers

DAS - Driver Assisting System
Into 8 Sep, 2024 @ 8:28am
Suspension strentgth offset
There seems to be an issue how auto strength gets set up. Front Suspension is 5 times stronger than rear Suspensions. Here an img of my setup https://ibb.co/MDVFkNf
< >
Showing 1-11 of 11 comments
Into 8 Sep, 2024 @ 10:49am 
Can I turn strength control off, so I can set it manually in wheels (not inside script).
Wanderer_308  [developer] 9 Sep, 2024 @ 2:10pm 
Hi. To completely disable strength control you need to remove this line from the script (line 1463):
if(!StrStMachine.MoveNext()) StrStMachine=UpdateStrenght();
Into 9 Sep, 2024 @ 4:08pm 
Awesome, it works. Thanks!
Into 9 Sep, 2024 @ 4:21pm 
Would be awesome if it be possible to set min/max and target values for component. For instance, AdaptiveSteering could be in my use case a bit more aggressive.
Last edited by Into; 9 Sep, 2024 @ 4:26pm
Into 10 Sep, 2024 @ 8:20am 
started to look into your script to figure it out my self, but it goes way beyond my knowledge
trying to find a way to disable Ackermann steering from Subgrids and/or steering from Subgrids (because I want to handle it elsewhere)

what I could accomplish was deleting the following line
///
if(suspension.IsSubgrid||ForceFullOverride)
suspension.SteerOverrie = -Math.Sign(suspension.WheelPositionAgainstRef.Z) * UserInput.AD;
///

which disabled the steering override, but Ackerman is still calculating maingrid steering angle, as if subgrid steering was still enabled (and I actually want to keep Ackermann, it's awesome, thanks for that!)
Last edited by Into; 10 Sep, 2024 @ 8:52am
Wanderer_308  [developer] 10 Sep, 2024 @ 2:04pm 
You can turn off steering in wheels terminal menu, the script will not take such wheels for Ackermann calculations.
Into 11 Sep, 2024 @ 12:48am 
I need to have steering to be on.
Wanderer_308  [developer] 11 Sep, 2024 @ 3:27pm 
The easiest way would be to set _AckermannFocalPoint variable to AckermannFocalPointRef.RC and then place the RC block to where the main turn axel you want to be. Messing with calculations may have unexpected side effects. Also keep your edits.
Into 11 Sep, 2024 @ 3:55pm 
didn't worked The trailer sheared into the wrong direction and the main axel wasn't turning at all.
Wanderer_308  [developer] 13 Sep, 2024 @ 6:08pm 
Okay, I have an idea. Scrap that about _AckermannFocalPoint and restore this code you have deleted
if(suspension.IsSubgrid||ForceFullOverride) suspension.SteerOverrie = -Math.Sign(suspension.WheelPositionAgainstRef.Z) * UserInput.AD;
In restored code replace
if(suspension.IsSubgrid||ForceFullOverride)
to this
if(!suspension.IsSubgrid&&ForceFullOverride)
Now, find and replace "suspension.Obj.Steering" for "suspension.Obj.Steering&&!suspension.IsSubgrid", there would be three occurrences of it
if(suspension.Obj.Steering) /// if(suspension.Obj.Steering) /// if(suspension.Obj.Steering&&suspension.Obj.IsAttached)
That should be enough.
Into 13 Sep, 2024 @ 7:42pm 
thanks, it works!
< >
Showing 1-11 of 11 comments
Per page: 1530 50