Space Engineers

Space Engineers

aveBrian's Trailer Control Script V2.0
29 kommentarer
Claus 2. juli 2024 kl. 7:25 
cool script thx for this... but the light function switch ALL lights on and off ( also the inner lights inside my Trailer ) is there a function to ignore some lights ? else my trailer is dark inside cause no windows in it... Sorry for my bad english i am from germany...
aveBrian  [ophavsmand] 15. okt. 2021 kl. 18:32 
@Shinobi You know, I never tested it with large grids. I'll have to get back to you on that. Sorry about the oversight.
Shinobi 26. sep. 2021 kl. 5:41 
So I'm trying to get this to work with a large grid Assault Rover, but no matter what blocks I use for the "Cockpit" it still throws I'm not in one. Is this only for small grids?
User5876 7. aug. 2021 kl. 11:48 
@aveBrian Awesome, thanks so much, man! I will update right away! Cheers!
aveBrian  [ophavsmand] 7. aug. 2021 kl. 8:09 
@fluffybobcat24 There is now a value at the bottom of the scripts description that you can set to "false" that will disable the light management function of the script while preserving all of the other functionality. Let me know if you have trouble and enjoy :)
User5876 30. juli 2021 kl. 15:55 
Is there any way to disable script control of lights on my rover? I would like to turn that functionality off without turning off the whole script.
aveBrian  [ophavsmand] 6. jan. 2021 kl. 1:39 
@erichouse02 No, it doesn't. Implementing wheel turning via a script is actually rather challenging. I'll be trying a few things with this script and a few others, so I'll probably be addressing the very feature you're asking about. Sorry, I can't give any kind of estimate on when that'll be though :/
ILickToes 5. jan. 2021 kl. 21:11 
Does this mod support trailer wheel turning ?
Asher 28. juni 2020 kl. 12:59 
Hey does this still work?
Asher 15. apr. 2019 kl. 14:24 
well tbh @aveBrian I don't think it is your script I think it is a mod conflict as the script works fine on a normal world with no mods, and again this game is still full of random bugs so ya know might be that to. thank you for wanting to get this resolved once I got time myself I will try it with each mod and let you know what I find if anything. Also I should note this was on a server so maybe that is the problem? anyways thanks again :)
aveBrian  [ophavsmand] 15. apr. 2019 kl. 10:57 
@Wolf
Can you perhaps share the world or vehicle you’re having the problem with on the workshop? I’d love to try to debug this. Someone else had a similar problem and I never found out what the problem was. It would be so helpful :)
Asher 14. apr. 2019 kl. 3:30 
I did but ultimately it is not your fault man the wheel system is still buggy as hell it seems.
aveBrian  [ophavsmand] 13. apr. 2019 kl. 8:22 
@Wolf
What happens when you press the brake key? Do you have at least one spotlight on the tractor? You will also need a remote control block on the trailer for parking brakes to work on the trailer as well.
Mr. Mundane 13. apr. 2019 kl. 7:50 
That is fine. I just thought i would say it
aveBrian  [ophavsmand] 13. apr. 2019 kl. 7:37 
@Professionel Potato
At present, this script doesn't support the function of trailer wheels steering. It is something I should really add though. Sorry about that...
Asher 9. apr. 2019 kl. 21:34 
when I set the name of my back lights to brake I cannot turn my lights on at all they switch to off right after I turn them on and pressing the park button does nothing am I doing something wrong?
Mr. Mundane 8. apr. 2019 kl. 3:57 
I mean steering. I cant seem to get it to work with the trailer. Although i can get them to spin/drive
aveBrian  [ophavsmand] 7. apr. 2019 kl. 16:43 
@Professionel Potato

When you say "turning", do you mean steering or spinning? If it's trying to get them to spin the right direction, it can be a little trial and error. If a wheel on the trailer is spinning the wrong direction, invert them on the wheel settings. If you provide me with more details, I might be able to help more. I still haven't gone through all my scripts after the update so you might be right about something being broken.

Sorry for the trouble, I'm always trying to get these damn things to be easier to use. Thanks for the feedback.
aveBrian  [ophavsmand] 24. juli 2018 kl. 23:02 
@Splitsie Happy to help. Let me know if there's anything else I can do.
As always, I'm looking forward to the next episode :)
Splitsie 24. juli 2018 kl. 19:18 
Oh, that might be it. I'd misunderstood and had the name in both the lights on the trailer and the lights on the tractor. I'm really hoping to set this one up for the new salvage trailer I'm building so I'll give it another try once I get back off night shift :)

Also, absolutely no need to apologise :)
aveBrian  [ophavsmand] 24. juli 2018 kl. 15:36 
@Splitsie Sorry for the inconvenience :(
aveBrian  [ophavsmand] 24. juli 2018 kl. 4:21 
@Splitsie Well I've downloaded the Goose from the workshop and got the script working just fine on it. I did notice that the instructions were pretty clunky so I've retyped them to make it easier to understand.

Are you typing a "tag" in the Custom Data of the Programmable block?

Are you including this tag in the name of spotlights and thrusters ONLY attatched to the tractor?
aveBrian  [ophavsmand] 24. juli 2018 kl. 2:33 
@Splitsie I'm willing to bet something may have gotten changed with the latest update of the game. I'll Check it out right now.
Splitsie 23. juli 2018 kl. 20:29 
Today I was adding a couple of scripts to the Goose and I think I've done something wrong in the setup that I can't work out. I had the script on the tractor, a remote on the trailer and was able to get the brake lights to work but couldn't get the thruster control or the light control to work. In fact once the script was active I couldn't turn on my lights at all :/

Did something change in the recent update that's altered the behaviour or did I miss something? (both are probably about equally likely) :P
CTH2004 29. apr. 2018 kl. 18:29 
Ok, fair enough! (Good thing I subed to bothe...)
aveBrian  [ophavsmand] 27. apr. 2018 kl. 12:32 
@CTH2004 I'm not sure which one I will keep. If I can get this one working the way I want it to, this will be the one that stays and the other will become obsolete.
CTH2004 26. apr. 2018 kl. 17:12 
Thanks, so, eventually, this one will be absolete? (or the other one?)
aveBrian  [ophavsmand] 25. apr. 2018 kl. 20:10 
No, they're both standalone scripts. The thruster one is still in development so I decided to keep them separate in the meantime.
CTH2004 25. apr. 2018 kl. 18:01 
Does it Need your other trailer script?

You know, This one?