Weapon Turret System
This is my latest weapon turret system (balistics calculator). It shoots at a target accounting for gravity, velocities, drag, etc
Info
DO NOT EXPECT GOOD PERFORMANCE FROM THIS EXAMPLE TURRET. This creation is mainly made for giving a base structure to make your own turret from. Then you can integrate it into vehicle creations. Please see the video above for a tutorial.
Features
[list]
[*] Has profiles for each in game weapon type
[*] Accounts for gravity, drag, velocities, acceleration etc
[*] Highly customizable
[*] Artillery mode
[*] Built in weapon trigger
[*] Clamp max rotation
[*] Idle and reload state
[*] Turret weapon weight compensation
[*] Extra prediction to account for delays in systems
Composite channels for those who would like to extend the system with your own or others. NOTE the ... roll yaw and pitch are input channels 4,5 and 6 respectivley on the physics sensor:
[*] Input - "Target data": Number Channels: 1:Target X 2:Target Y 3:Target Z 4:Target mass 5:Radar turret X 6:Radar turret Y 7:Radar turret Z 8:Radar turret roll 9:Radar turret yaw 10:Radar turret pitch Bool Channels: 1:Has target
[*] Output - "Target Acquisition Data": Number Channels: 1:Lead X 2:Lead Y 3:Lead Z 4:Turret X 5:Turret Y 6:Turret Z 7:Turret roll 8:Turret yaw 9:Turret pitch 10:TOF 11:Weapon type Bool Channels: 1:Is in range 2:Is accurate enough to shoot 3:Has reached desired state (not for tracking) 4: Is powerd on
[/list]
Not working?
[list]
[*] Artillery mode works for battle cannon and higher caliber. (To low lifetime for lower caliber to work)
[*] Contact me or others on my [url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fdiscord.gg%2FYWDb5x6xCJ] Discord community [/url][discord.gg] for help
[/list]
Credit
I encourage you to use my creations or parts of it for your own builds. If you do and post it, please give credit.
Made by: se-ssi
Thanks to 8PenniesDeep... for his "Magic Numbers"!
Thanks to Kubson for help!
Links
[url=https://steamcommunity.com/linkfilter/?u=https%3A%2F%2Fdiscord.gg%2FYWDb5x6xCJ] Se-ssi's Stormworks Community [/url][discord.gg]
[url=https://www.youtube.com/channel/UCV90Ye4zlbczgfLPWvuRb5Q?] Youtube channel [/url]
[url=https://steamcommunity.com/profiles/76561198040040549/myworkshopfiles/?appid=573090] My workshop [/url]
Enjoy!