Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Multi turret control.
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
439.148 KB
2022 年 4 月 3 日 下午 1:11
2022 年 4 月 3 日 下午 1:31
2 项改动说明 ( 查看 )

订阅以下载
Multi turret control.

描述
This is an example of a collection of mc's i made.
Main feature is this will let you drop a turret where ever and it will aim at the player controlled turret. No calculating offset from main turret needed.
Their is also a bullet drop for a set distance included but this is still a wip.



How it works
  • The player controlled turret ( designator ) calculates the exact xyz of the point of the laser using trig, if you want to see the exact functions look in the mc.
    This has some margin of error due to placement of sensors but it should be within 1 metre.
  • The xyz is then sent to individual turrets which have their own xyz sensors.
    With the xy sensor of the individual turret and xy of the designator point the turret can calculate the rotation needed.
    And with the z sensor of the turret and the z of the designator the pitch can be calculated, this pitch can then be offset depending on the distance to account for bullet drop.

Known issues / qwerks
  • Depending on certain rotations and placement of turrets, the turret will do a complete 360 degree rotation even tho it only needs to do a 1 degree rotation. Happens usually when pointing south and aiming south.
  • Can only have 6 of the same type of gun shooting at the same time, so either offset the shooting or use a mix of gun types.
  • The Turrets themselves are not self aware so can and will get stuck and shoot them-selves.


Thanks for looking and if you do use these mc's or just the entire thing yourself, credit towards here or myself will be much appreciated =)
4 条留言
Wolves Hero 1 月 21 日 下午 1:53 
This is worked great on my helicopter with 2 turrets on both wings but don't have radar lock on target & don't have ballistic calculator
ACE 2022 年 7 月 7 日 上午 8:53 
does it use
X: ch1
Y: ch2
Z: ch3?
Sharp  [作者] 2022 年 7 月 7 日 上午 8:34 
the turrets will only follow the designating laser so you can control the designating laser with a turret ( with a few tweaks it can also be controlled by a stabilised camera as well )
ACE 2022 年 7 月 7 日 上午 12:23 
if i want to use perhaps a radar do all the turrets have lead?