Space Engineers

Space Engineers

DAS - Driver Assisting System
1,220 Comments
Wanderer_308  [author] 29 Sep @ 5:46pm 
There are several definitions of function "public void ReleaseControl()" in each subsystem. There are setters for wheels/thrusters/lights/etc parameters for when the script is turned off. Just edit numbers there, or delete the stuff altogether.
Koinzell || Souza 29 Sep @ 6:35am 
First of all, awesome work on the script, cant use ground vehicles without it anymore lol
is there a way to change the defaults that the wheels go back to when you use the "startstop" argument ? i'm trying to implement a side crawling steering functionality to a vehicle and obviously the script overrides all changes made to the suspensions. i'm trying the approach of turning the script "off" and setting all changes to the suspension using a timerblock but sudenly getting 100% power in the wheels is.... dangerous to say the least. ive took a look at the code but could not find any value that could be changed. ( "pokemon joke here").
Wanderer_308  [author] 15 Sep @ 5:53pm 
Then use the first option I gave you.
Syphond 15 Sep @ 5:34pm 
this is nothing to do with subgrids atm. The cockpit seat is in front of the wheels so it treats all wheels as rear.
Syphond 15 Sep @ 5:33pm 
I was looking to make the forward most wheels not brake, i tried to turn off braking, but the script turns it back on immediately.
Wanderer_308  [author] 15 Sep @ 5:24pm 
No, there is no such tag, unfortunately. But you can edit the script to stop it from handling braking. If you don't use wheels on subgrid the easiest way to disable it to delete the line:
if(!BrStMachine.MoveNext())BrStMachine=UpdateBrakes();

If though you need brakes on subgrids then you need to find and delete these lines from braking subroutine:
foreach(var suspension in WheelSuspensions)
{
if(suspension.Obj.IsAttached)
{
if(suspension.WheelPositionAgainstCoM.Z>0&&UserInput.WS!=0&&!RC.HandBrake)
suspension.Obj.Brake=false;
else
suspension.Obj.Brake=true;
}
}
if(BrakesSkipCycles>0) yield return true;
Syphond 15 Sep @ 2:49pm 
Is there any way to change how braking works. I have a bunch of rovers that have the front wheels are behind the cockpit/seat. I really enjoy how rovers drive but braking is rather dangerous with these designs. Is there a possibility of being able to set a no braking tag in the custom data to tell the script to not use the wheels with this for braking?
Wanderer_308  [author] 5 Sep @ 12:08pm 
@FantazeR Yes it can. It combines stop lights and reverse lights onto one, changing lights settings.
Blunder Munchkin 5 Sep @ 9:32am 
I've been using this mod for a few days now and I've got to say it's AMAZING! I have been very bad at managing my suspension settings and this just does it perfectly. Plus adding new wheels is a breeze! I can't emphasize enough how much I like this mod. Thanks for creating it!
FantazeR 10 Jul @ 7:24pm 
can this script activate reverse lights?
Wanderer_308  [author] 29 Jun @ 3:21pm 
@john72934, Hi. To disable brakes find and delete this line
if(!BrStMachine.MoveNext())BrStMachine=UpdateBrakes();
john72934 29 Jun @ 9:04am 
Hi great mod. Is there a way to disable the brakes on the front wheels because the rover tries to flip FWD when you need to stop fast. the weight on the rover is balanced i just make small light weight rovers. i have lowered the top speed down to 27 m/s. Thank you for any help you can give me.
Wanderer_308  [author] 5 Jun @ 2:09pm 
Yeah, you need to find and delete this line:
gyro.GyroPower=(float)gyroPower;
MinerUser 4 Jun @ 11:46pm 
Is there a way to disable the automatic gyro strength override while keeping the stabilisation?
Wanderer_308  [author] 2 Jun @ 6:20pm 
@MinerUser Gyro Stabilisation is working as long as vehicle is in motion, regardless if anyone in the control seat. Maybe your problem caused by something else?
MinerUser 2 Jun @ 6:04am 
Hello, is there a way to make the Gyro Stabilisation also work when I'm not currently steering the vehicle? It's working well when I'm in the controll seat, but when I leave it just flops to the side...
Wanderer_308  [author] 21 May @ 4:58pm 
@Adams Yes, kinda. Technically for the script it would be just subgrid suspensions. However I'm not sure how accurate would be suspension strength calculations.
Adams 21 May @ 2:31am 
Can you use this script with a custom suspension where there are 1x1 wheels used as a suspension spring?
Shadowpheonix 12 May @ 5:47pm 
I first subscribed to this script in August of 2020 and still use it today. This is an absolute MUST HAVE script for me. :)
Ferro 12 Apr @ 7:51am 
I got a problem with DAS, it keeps setting wheel friction to 100% which causes my vehicle to keep fighting itself when I try to turn. is there a way to stop DAS from adjusting the friction or at least clamp the max value it can set?
Iron_Fiore 7 Apr @ 7:12am 
Oh, I see that now, thank you. sorry for the stupid question
Wanderer_308  [author] 6 Apr @ 6:52pm 
That's because it goes to standby mode thinking it's docked to a base/carrier. Put "DAS_IGNORE" (w/o quotes) to the connector's Custom Data property.
Iron_Fiore 6 Apr @ 6:19pm 
DAS is not running subgrid wheels as soon as I dock anything to my connector. Anyone have any ideas?
Wanderer_308  [author] 3 Mar @ 12:46pm 
@Amumu the Remote Control block is required for the script to understand where is up & front sides of a vehicle. It won't work without it. DisplayScheduler failure means you don't have LCD screens dedicated for the script, you can ignore it.
Amumu 3 Mar @ 6:43am 
i loaded the script in my rover, getting message DAS.DisplaySchedular failure Das GridDynamics Watcher and Critical failure during boot. No remote control block found. i dont have a remote control not planing to so can i turn this all off somehow seens im only after the suspension helping part or am i all wrong into this =D first time trying scripts
Red Leicester Cheese 25 Jan @ 9:00am 
After some time (seemingly random) my wheels will just lock up when turning I'm not sure if this is a vanilla issue but I've only ever encountered it when using this script so any input would be appreciated
Volg 7 Jan @ 7:19am 
@fraoud. A work around i have found is to get some armor blocks positions in the right spot so the blocks would make the road you want. then just drive along the blocks and they will keep you level. then grind out the blocks you pass, and replace in the front, so you are continuously moving the armor blocks you drive on. it is a pain but you get a perfectly level road in the end. Just keep in mind the carved road surface will be a bit lower than the top of the blocks... so plan for this in the block positioning.
Fake 7 Jan @ 2:18am 
@Wanderer_308 Okay newbie mistake, I didnt know you had to put LEFT or RIGHT into Custom Data per light. Its not initially present here on the homepage. I had to go to the "Popular Discussions" part and look for the Pinned for the set up. Most guides have a hyperlink on its own guide.
Wanderer_308  [author] 7 Jan @ 12:58am 
@Fake group naming is correct? "LEFT" and "RIGHT" keywords are put into Custom data? Ownership is same as PB?
Fake 6 Jan @ 9:14pm 
Turn lights not working? Tried using on 3 rovers. No luck
Dr Fraud 24 Dec, 2024 @ 5:53pm 
I'll second Volg's request. I'm looking for something to level a grader laterally whilst carving a road.
Volg 23 Dec, 2024 @ 2:28am 
that is how i do it now... but it is a complicated dance as i am tunneling and trying to keep the tunnel level side to side... it is doable i was just hoping for an easier way.
Wanderer_308  [author] 22 Dec, 2024 @ 2:55pm 
@Volg That would require a bunch of code, which I doubt will fit in character limit. Isn't it easier to just turn of DAS and adjust suspension offset after it? I think you can bind it all to a single timer block.
Volg 22 Dec, 2024 @ 4:05am 
If you want to see the vehicle I need this for, to understand the needs, i can send you a BP on the work shop.
Volg 22 Dec, 2024 @ 4:04am 
is it possible to get a mode we can toggle on and off from in the cockpit that will adjust suspension offsets to try and keep the vehicle level? I know it is only a few degrees of motion we will get, but that is all i need. i just need my rover to sit as level as possible, so on gentle slopes it will be level, understanding full well that on steeper slopes it will not be able to reach a level state. I only need this to be done in the roll axis. pitch is not an issue. however the roll adjustment would need all the wheels to be adjusted to reach a level roll state.
GEEKA 19 Dec, 2024 @ 3:23pm 
No, the RC unit is standing correctly. Shaking and increased vibrations, not flips in place after all.
Wanderer_308  [author] 19 Dec, 2024 @ 1:23pm 
Could it be that RC block orientation is wrong?
GEEKA 19 Dec, 2024 @ 7:10am 
Maybe I don't understand something, but on a rover weighing 14,000 kg, the script sets me 100% friction and a very rigid (almost non-working) suspension. All this leads to the fact that ordinary driving over small bumps turns into a nightmare with jumps and constant twitching. Even on a flat surface it is impossible to drive smoothly, it still pulls back and forth a little bit. Am I missing something?
The_Bum_Dave 10 Nov, 2024 @ 4:05pm 
@Wanderer_308 I seems to have forgotten the camera. Thank you!
Wanderer_308  [author] 8 Nov, 2024 @ 7:59pm 
@The_Bum_Dave Make sure: a) RC block is properly oriented (up&front axles); b) bottom camera is not obscured by surrounding blocks; c) bottom camera is not a moded full block, aka reinforced, camera one.
The_Bum_Dave 8 Nov, 2024 @ 12:38pm 
GSA seems to think my rover is always flipped. If I turn it on and jump or drive at a steep angle, GSA max rolls me.
Kaito 16 Oct, 2024 @ 5:18am 
Just wanted to drive by and say that this script continues to be an absolute staple, and it runs on every single wheeled vehicle I build. I don't know what I would do without it.
Xenosch 30 Sep, 2024 @ 2:28am 
alright, seems like I managed to edit it the way I wanted by replacing:

return block.CustomData.Equals("DAS_IGNORE",StringComparison.OrdinalIgnoreCase);

with

return block.CustomName.Contains("DAS_IGNORE");
Xenosch 30 Sep, 2024 @ 1:25am 
absolute love the script but got a problem when using it together with other scripts, in my case SCAM.
Got a large grid rover that I want to use as a mining carrier for drones.
SCAM uses the custom data to handle docking of drones.

so my problem is that I cannot disable Standby mode by using "DAS_IGNORE" on the connectors, or else drones will have dtrouble docking or they will just delete the custom data.

so would it be possible to handle the IGNORE-feature by writing it into the name of the connector like other scripts do, or simply disable it completely?
AvaAvari 26 Sep, 2024 @ 4:01pm 
Well thanks for the help anyway! thats good info to know in the future but now I'm dealing with it happening on vehicles that don't even have connectors or sub-grids so I guess my game might just be fucked our something
Wanderer_308  [author] 21 Sep, 2024 @ 2:42am 
Only if your custom turret connected with connector block. Subgrids on rotors, hinges and pistons are totally fine. Also to make the script ignore certain connector blocks just put in said connector block 'Custom Data' property DAS_IGNORE, and it will skip such blosk. Also [2], you can put DAS_IGNORE in any other block Custom Data to make the script ignore it.
AvaAvari 21 Sep, 2024 @ 12:05am 
Wait... that wouldnt happen to possible include a small custom turret? probaly is we have a custom turret on top, im not surprised as larger rovers i used always had issues with docking so makes sense sub-grids might get a little iffy, if this is that case i would ask if theres any possible fix but if there isnt i completely understand
Wanderer_308  [author] 16 Sep, 2024 @ 6:40pm 
Do you by chance have anything connected via connector block to your over when it happens? Like drone, or cargo container, or cart/trailer? The script goes into standby mode when it sees the rover is docked to something.
AvaAvari 16 Sep, 2024 @ 4:47pm 
Genuine question, im having problems with DAS in my game randomly just stopping, not completely the script is still running but it stops dealing with friction power anything and only fixes when I either remove the PB block and replace it load the script again and then it works, or if I completely delete the vehicle and respawn it, I've tried the start-stop command and one weird way that fixes it is docking and undocking the vehicle it's a small large rover with 4 wheels when this happens its basically uncontrollable as one side gets more friction then the other, the entire craft starts strafing I cant steer cause the frictions so high that it just forces it to stop as soon as singular wheel turns and my acceleration feels anemic, its probably my fault in some way but just wishing to know if there's a fix
Into 8 Sep, 2024 @ 7:57am 
Like to use Wheels Auto Strength, but it picks a too high default value (40%). Tried to set it to -14, -100, -1, but this doesn't seem to make a difference, setting it to 14 works, but turns off automation. Is there a solution?