Stormworks: Build and Rescue

Stormworks: Build and Rescue

Onvoldoende beoordelingen
Multi turret control.
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
Bijgewerkt op
439.148 KB
3 apr 2022 om 13:11
3 apr 2022 om 13:31
2 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Multi turret control.

Omschrijving
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 opmerkingen
Wolves Hero 21 jan om 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 jul 2022 om 8:53 
does it use
X: ch1
Y: ch2
Z: ch3?
Sharp  [auteur] 7 jul 2022 om 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 jul 2022 om 0:23 
if i want to use perhaps a radar do all the turrets have lead?