Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ei tarpeeksi arvosteluja
Multi turret control.
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
439.148 KB
3.4.2022 klo 13.11
3.4.2022 klo 13.31
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Multi turret control.

Kuvaus
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 kommenttia
Wolves Hero 21.1. klo 13.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 7.7.2022 klo 8.53 
does it use
X: ch1
Y: ch2
Z: ch3?
Sharp  [tekijä] 7.7.2022 klo 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 7.7.2022 klo 0.23 
if i want to use perhaps a radar do all the turrets have lead?