安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
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.