From The Depths

From The Depths

5
   
奖励
收藏
已收藏
取消收藏
说明
"Each and every single button is making combat and navigation systems on this submarine work. Working digipads to control heading and depth."
9 条留言
☭ god of weird ☭ 2020 年 7 月 22 日 上午 10:12 
woah, thanks
Rufus Shinra  [作者] 2020 年 7 月 22 日 上午 7:25 
Control surfaces using large rudders on spinblocks that react to pitch command can be used with a PID controlling pitch using pitch as input, with a fake value of zero. That way, when you advance, the control surfaces will keep your pitch horizontal.
Rufus Shinra  [作者] 2020 年 7 月 22 日 上午 7:24 
As for control without lua, you can use PID, air pumps and control surfaces.
Have a hull without air pumps, make it heavier until it sinks. Then add air pumps at 100 % and make the hull lighter until it floats. Between these two masses, your submarine will work. Just use a PID to control the air pumps using the altitude as input, and use a fake value of, say, minus 50.
Rufus Shinra  [作者] 2020 年 7 月 22 日 上午 7:22 
☭ god of weird ☭ 2020 年 7 月 22 日 上午 4:45 
oh ok
Rufus Shinra  [作者] 2020 年 7 月 22 日 上午 3:57 
No, I mean programming the computer yourself. I've got 4,000+ lines of lua code in this submarine. :-P
☭ god of weird ☭ 2020 年 7 月 22 日 上午 3:11 
oh, nice. i'll experiment with AI and see what i can make
Rufus Shinra  [作者] 2020 年 7 月 21 日 下午 3:42 
That's because you don't have a proper navigational computer. It's much simpler when you select on the right-side map the point where you wanna go in Neter and input the depth, that way the computer does it for you. Easy! :-D
☭ god of weird ☭ 2020 年 7 月 21 日 下午 3:06 
and i cannot even keep a submarine pointing in one direction for a second