Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I have built a mobile slewing crane, but when the cab rotates, steering and drive of the wheels fight each other. I have a remote control block to enable use of the handbrake, if there's any code I can change or any way to use the position/orientation of that block to determine forward/left/right, that would be exquisite.
Does it mean I can somehow make it in vanila without this script? (Without scripts at all to be clear)
Another issue had the script not drive forward at all, steering control was still fully functional, but neither 'W' nor 'S' would drive anywhere - though it *would* raise the power usage displayed on the HUD. It's like the wheels were fighting each other or something? And no, the parking brake was not engaged :P I cycled it several times while trying to get it to budge, just to be sure.
Have any issues like this been reported before? I'm using a mechanical suspension system so there are a lot of subgrids - three per wheel suspension, plus the 'main' grid, and all joining points use two blocks. Maybe the complexity of the grid connectivity is complicating/confusing things?
else if (block is IMyShipController)
{
if (!StringExtensions.Contains(block.CustomName, controllerIgnoreNameTag))
{
shipControllers.Add((IMyShipController)block);
}
}
Generating good code with ChatGPT is like trying to win a cooking competition with off-brand Hamburger Helper.
If I combine the scripts, I'm going to do it right.
@Blood Brother:
Glad to hear it
Because I'm insane.
BUT, you have to make sure that you make a hotbar action for turning off the programmable block, because otherwise it overrides.
Here's a fix
Basically:
1) Make a remote block for each subgrid.
2) Group the remote blocks together into a single unit in the control panel.
3) Go to the hotbar menu and drag that group into the hotbar, and make sure to select parking break or whatever it is.
4) Drag the programmable block with the script running into the hotbar next to it, or wherever, and have it as 'toggle on/off.'
Profit!
Now, when you toggle OFF the programmable, you can engage and disengage your parking break, free of charge!
Dunno if anyone else was having a similar issue, but just in case, there it is! Saved me a LOT of frustration, I'm sure.