Stormworks: Build and Rescue

Stormworks: Build and Rescue

34 arvostelua
Master Slave Turret System
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
704.392 KB
7.10.2021 klo 8.35
20.10.2021 klo 12.20
11 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Master Slave Turret System

Kuvaus
Master Slave Turret System
This controller allow you to control all turret from a single one.

Don't forget to like if you do :)



Features
  • Stabilized
  • Optional laser range finder
  • Key / View Control
  • Remote Controled
  • Radar Guided
  • GPS Guided
  • Gimbal Guided (GPS)
  • Beacon Guided
  • Manual Guided

How to use ?
Blocks
Pink -> Needed
Orange -> Optional / Can be replaced
Yellow -> Not needed

The closer the sensors are from the pivots axis, the better it will aim.

Configurations (Properties)
"Request Auto Correct" -> if enabled the turret will compensate for the movement of the vehicle.
DO NOT ENABLE FOR TURRET MANUALY AIMED WITH A SIGHT ATTACHED TO THE TURRET.

"Visual Aim Mode":
-> First Person : Will rotate according to the player view rotation.
-> Third Person : Will aim where the player is looking.

You can change the ballistic computation using the "Projectile velocity" or "gravity".

If you don't want to add a laser range finder to a turret you need to disable the property "Has laser range finder".



Notes
I will add some sight later.



Composite Data
Booleans:
1) Activated
2) Shot one (do not work for automatic gun)
3) Shot all
4) Ask auto correct
5) Loaded
6) Is Master
7) Track (Gimbal) | Beacon enabled (Laser) | Radar enabled (Radar)
8) Stabilize (Gimbal)

Numbers:
1) Target X
2) Target Y
3) Target altitude
4) Target range
5) Current rotation (-0.5 0.5)
6) Target rotation (-0.5 0.5)
7) Travel time
33 kommenttia
f18effect 26.8.2023 klo 6.22 
What if i wanted to make a turret with a laser and radar?
puipuix  [tekijä] 12.10.2022 klo 1.07 
I didn't programe it. I don't know how you made your CIWS but you could override the calculated coordinate (should be composite 1 and 2) to add the speed of the target -> [x = x + delta(x) * time_to_hit_target; y = y + delta(y) * time_to_hit_target]
AegiusX3 9.10.2022 klo 3.37 
and how do i get it to lead the target slightly or aim straight at it instead of behind it?
puipuix  [tekijä] 9.10.2022 klo 2.57 
Open the turret controller, near the top you should find a "=" node, increase epsilon to allow your turret to shot at a greater angle off the target point
AegiusX3 9.10.2022 klo 2.29 
I have been trying this for a CIWS, but it keeps lagging behind the target, and not allowing the gun to fire because of this
crae cochran 21.4.2022 klo 11.48 
never mind got it to work lol for some lesson
ReLIFE (schizo) 10.2.2022 klo 11.40 
Cant get this to work even with the manual aim logic, i have one turret that rotation does not properly on. And the other turret is spazzing out
Tuutikki 31.10.2021 klo 9.03 
Will do some more tests and see how everything behaves. Thanks for your help so far!
puipuix  [tekijä] 31.10.2021 klo 5.10 
I don't clearly see who's attached to what but the velocity positive arrow should rotate right and the pitch pivot positive arrow should rotate up.
And I think you don't need to invert the compass sensor, but if it works like that you can keep it there.
To be honest I don't think you need to invert anything, except maybe the velocity pivot if it's upside down, but I think the rest should stay the same. Maybe you can try to cut/paste one of the example turret without inverting the blocks and then look if something seem to be inverted