Space Engineers

Space Engineers

313 个评价
Blarg's Hinge Steering
6
5
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
14.167 KB
2020 年 8 月 23 日 上午 5:52
2020 年 11 月 9 日 下午 12:19
7 项改动说明 ( 查看 )

订阅以下载
Blarg's Hinge Steering

在 Blargmode 的 1 个合集中
Blargmode's scripts
5 件物品
描述
Turn using hinges instead of regular wheels. WASD control of course.

Installation
1. Install the script.
2. Correct any errors shown in the script output.

Bare minimum components:
• Control seat of some kind
• A hinge
• Programmable block (and scripts enabled in the world settings).



If you have more than one hinge/rotor on the ship, you'll need to tell the script what hinge(s) to use. Do that by tagging the hinge with "#steer".

If it's turning the wrong way, put a minus before the tag (like this "-#steer") and recompile.

You can limit how much the hinge can turn on the hinge itself. The script will adapt. Turning speed, the tag, and whether to automatically straighten can be changed at the top of the script.

If you want propulsion on all wheels, use Whiplash141's excellent Subgrid Wheel Control script

Rotors? Well I didn't plan to support them but they work as well. You need to set rotation limits for auto straighten to work. Make sure to point the 0°-side of the rotor forward.

Latest update to v1.4.0 (2020-11-09)
This version adds mouse/arrow key support. To use it, just add yaw or pitch to the hinge name, like this: "#steer yaw".
Details in change notes.

Update to v1.3.0 (2020-10-16)
This update brings center offset angle.
You can now use something other than 0° as the center for auto straightening. Just add e.g. c45 to the hinge's name for a 45° center offset. Details in change notes.

Update to v1.2.0 (2020-10-16)
This update brings the none keyword when selecting what buttons to use.
See the change notes from v1.1.0 for usage.

Update to v1.1.0 (2020-08-26)
This update brings:
  • A way to toggle auto straightening on or off while driving.
  • Support for using the other direction keys. Not just A + D.
Check the change notes for this version for details.



Last but not least, here's the wheel loader blueprint from the video/pictures
75 条留言
shadreq 1 月 16 日 下午 8:13 
I have been able to replicate the issue on other grids as well, it seems to freak out whenever a rotor's limits are negative as opposed to positive ex. -90 to 0 but fine when they are 0 to 90. The issue is that the rotor auto straightens to -90 as opposed to 0.
shadreq 1 月 16 日 下午 8:04 
Hey anyone, Ive been having some trouble setting this script up on mirrored rotors. I find that the script keeps auto straightening my 2nd rotor in the opposite way that I need it to be. Is there a way to reverse/adjust where the script considers the "default" position on rotors and which way it turns to achieve that position? Not really sure if this description made much sense, but any help would be appreciated as I have successfully set up one side but can not figure out the other.
昶chang 2024 年 5 月 17 日 下午 11:07 
Hello author, your script is very easy to use, can you add a piston control function, so that you can use your script to make a more complete robotic arm:steamthumbsup:
Blacky Watchy 2024 年 4 月 30 日 上午 11:21 
it seems like u arent working on scripts for SE any longer but i were wonderng if, in the case u return, u could check over an issue im experiencing with this script in which the hinges angles are no longer read correctly or something and it refuses to move (to be exact), pushes against the limits instead of getting to the angle it should. this script is amazing and i would love to be anle to push it to its max potential
HexStrain 2023 年 7 月 26 日 下午 1:56 
Publish it drakonoid we need it
MYST_Drakonoid 2022 年 12 月 21 日 下午 10:15 
hey! i have a modified version of the code that supports remote control blocks instead, it doesn't encompass all control blocks, but i was wondering if i could possible publish it making sure to give you the credit for the base code?
Eternal Colossus 2022 年 6 月 11 日 下午 12:38 
Hey! Really enjoying this script and getting good use out of it. I was wondering if you could add something to the effect of "script number:" to the script, so that for example if you have two program blocks, both with this script but with different script numbers, then they could control different things and have different settings on auto straighten for example
TheJurassicGenius 2021 年 12 月 13 日 下午 7:41 
Does this script work for Xbox controller or just with keyboard?
Ren 2021 年 9 月 15 日 下午 7:20 
@Cronyx A little late but you could try using the plug-in "WL Analog Script Input and Throttle" with this script. May work for what you're wanting
Cronyx 2021 年 7 月 1 日 下午 10:21 
Any way to get this working with analog joy input?