Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ballistic Computer with Tracking Radar
58 Comments
TAK  [author] 21 Jun @ 12:11am 
>gussan
センサー及び銃器を一括して横倒しにすればそのまま動作可能なはずです。ただし、オフセット座標は必ず合わせなければなりません。合わせなかった場合、命中率が低下します
gussan 17 Jun @ 3:21am 
既出でしたら申し訳ございません。 砲を90度横倒しにしての使用は可能でしょうか?
wdubois.slz 13 Mar @ 8:22pm 
From what I've read briefly, this does work for making FOX-1 (Semi-Active Radar Homing) missiles, yes?
Ryubeatzz 3 Dec, 2024 @ 8:05am 
I cant understand
TAK  [author] 19 Aug, 2024 @ 4:00am 
if you think so, you can change parameters(Velocity, Drag) in FCS's 2nd lua code.
search parameter table.
BroomstickDF 17 Aug, 2024 @ 10:09pm 
I could have sworn that they recently increased the velocity for autocannons.
TAK  [author] 17 Aug, 2024 @ 8:23pm 
Recent change(accuracy update) is no negative effect to this.
but, air drug change at Space Update is bad for long range.
BroomstickDF 15 Aug, 2024 @ 7:25pm 
Has this been corrected for the new ballistics change?
Pointclearius Gaming 16 May, 2024 @ 11:16am 
Works perfectly fine except against surface targets. It seems to want to undershoot, impact short quite frequently, no matter the target vessel's Course and Speed Relative to itself
TAK  [author] 19 Mar, 2024 @ 11:05pm 
>nahaka1948
GPS Position DiffとAltitude Position Diffはそれぞれレーダーがつながっている2軸のピボットの軸の交差点から、GPSセンサとAltitudeセンサの位置の差(単位はm)です。これを抑えて、設定値と組み込んであるセンサの位置関係を見直してみてください
ゆぬえ 17 Mar, 2024 @ 8:46am 
申し訳ございません
GPS Position Diffと
Altitude Position Diffの設定方法がいまいち理解できません。
もしよかったら教えて下さいませんか?
TAK  [author] 11 Jan, 2024 @ 12:36am 
>Nédork
m/tick ( = m/s/60 ) is the unit of velocity.
Nédork 10 Jan, 2024 @ 12:13pm 
Hi i want to use only the ballistic calculator because i already have my own tracking system and it's easier to adapt on my project but i don't know the unit you use for the velocity to send tp Ch.10.12 thank you in advance
Sabro Stuart Sprozazo of Paper 9 Jan, 2024 @ 5:18pm 
ill be the first subscriber if you release one :steamhappy::NATO:
TAK  [author] 9 Jan, 2024 @ 6:46am 
>Sabro Stuart Sprozazo of Paper
in progress
Sabro Stuart Sprozazo of Paper 7 Jan, 2024 @ 6:17pm 
its very large and cumbersome. will you come out with a smaller version for maybe small SPAAs?
RyanBoefje1 4 Dec, 2023 @ 8:00am 
can i use this in a build???? and this thing is soooooooOOOOOOOOOOOOOOOOOOOOO good:steamhappy:
TAK  [author] 2 Dec, 2023 @ 4:58pm 
>LaysClassic
Ballistic computer maximum range is limited by it's cannon type(cannons maximum range). So no reason to extend range of it. Even if extended, the bullet would disappear before hitting the target.
LaysClassic 2 Dec, 2023 @ 7:05am 
Yea I know, the radar tracks there is no problem with that, but the turret using the ballistic computer doesn't track after the target gets farther.
TAK  [author] 2 Dec, 2023 @ 6:57am 
>LaysClassic
Edit the property "Maximum Distance" to extend range of radar tracking.
LaysClassic 2 Dec, 2023 @ 6:45am 
I've noticed that the ballistic computer doesn't track after a certain range while the cam does which is understandable. But how can I make the turret follow the camera when not tracking?
KosmicRavioli 5 Sep, 2023 @ 3:05am 
Literally entered 20,20,21 and 20,20,20 to GPS and Altitude offsets for the ballistic computer. Made no difference. Still aims at exactly the same spot as 0,0,0 and 0,0,1
KosmicRavioli 4 Sep, 2023 @ 9:21am 
By the way the GPS and altitude sensor offset explanation is so confusing that I still cannot understand it. You say the ballistic calculator GPS and Altitude position should be "same as radar". What does that mean exactly? Do you mean the values should be the same as what's entered in the tracking radar microcontroller or do you mean you should determine what the offset should be the same way you determined it for the radar?

I have tried all sorts of ways. I have tried putting all the sensors that are at the base of the radar, at the base of the gun as well and entered the same offsets present for the radar. Did not work.

I have tried connecting the ballistic calculator inputs to the sensors at the base of the radar and entered offset from the sensors, as well as offset from the gun. Did not work.

I have literally copied the same layout you have on the test bed and applied it to my ship, still did not work.

What am I missing here?
KosmicRavioli 4 Sep, 2023 @ 9:21am 
Hi Again,

Just for the record, this is what I'm talking about when I talk about the gun making small jumps: https://youtu.be/2xmttsdFfyc
KosmicRavioli 4 Sep, 2023 @ 3:23am 
Hi Tak,

Yeah, sorry about the message yesterday. I got really frustrated after not being able to make decent progress and ranted in the comments.

It was not very nice of me.

With that said, I will stand behind my argument that I don't think you've tested this system on moving platforms before releasing it.

It works well enough on the ground, but as soon as you put it onto a ship, which always moves around, the experience is not great.

Thanks for the reply and the addon though. I will work on implementing my own radar tracking system instead.
TAK  [author] 4 Sep, 2023 @ 2:50am 
To Aerodil

First, sorry for reply TOO late.
My description is not good. no, it's too bad I think.
BUT
I have spent about half year, developing this system. I see nothing wrong with the users having to spend even 1% of that.

Much love, for trying and error users.
KosmicRavioli 3 Sep, 2023 @ 12:47pm 
I have been trying to make this thing work for 7 hours and I'm at my wit's end.

First the radar wouldn't turn (pitch & yaw) at all and it took me 2 hours before I realized anything below 80% sensitivity (I used 7 percent on the the original gun which I was trying to integrate with this) on the seat settings makes the input delay SOOOO long that it basically doesn't work at all.

Then once I figured that out, it turned out that you have to have the exact orientation of the pivot motors as the template build. Using an inverter to switch the pivot directions just made it not work in other ways. So I had to rebuild the gun to exactly match the template.
That was another 2 hours, but whatever.

It also turned out that you can't use velocity pivots for pitch. Otherwise the gun just continuously pithces around. Even though there is a setting for velocity and robotic pivots, you HAVE to have the yaw motor a velocity pivot, and the pitch motor a robotic pivot, otherwise it is messed up.
KosmicRavioli 3 Sep, 2023 @ 12:47pm 
Fine whatever, solved that too. But now the gun aims way higher than it is supposed to. I have the sensors placed exactly the same as the heavy cannon, as well as exactly the same for the radar. Been spending the last 2 hours on that now without a solution.

What's more, when the gun is locked on to the radar target, it keeps making these small jumps randomly. It doesn't stay fixed on the target.
KosmicRavioli 3 Sep, 2023 @ 12:47pm 
The radar is not stabilized, the gun is not stabilized. It's a pain the neck to acquire a target, especially at high zoom levels because there is no logic in place to slow down the movement of the camera as the zoom increases. The yaw speed of the radar is way higher than the pitch, so that makes it even harder to aim. And once locked on the radar, the screen shakes like crazy.

I am so frustrated right now. It was supposed to be a simple plug and play module but there are so many things that are not explained in the description and the whole thing has clearly never been tested on anything except the template it was built on, at least nothing that moves that is.

By the way, even on the test bed; Switching the heavy cannon composite connection from radio, directly to the radar composite makes the aim go whack. Changing the lag to 0 does nothing.
KosmicRavioli 3 Sep, 2023 @ 12:46pm 
I'm just... I just don't know what am I supposed to be doing wrong at this point and I am so tired.

And one last thing;

"As an example, if the radar is to spawn with the front side facing you as seen from the rear of the workbench"

Why would you describes it this way? In %99 of cases, why would anyone place the radar facing the back of the vehicle they are building?

"They can be placed anywhere as long as the merge is the same as the base of the radar's horizontal pivot."

What is "the merge"? You use it a number of times and I have no idea what it means.

God I am SO frustrated right now. Wasted HOURS on this thing.

I need to go calm down a bit.
zOlys73m_ 3 Aug, 2023 @ 8:19am 
Hi, can the horizontal axis be selected by turret ring?
TAK  [author] 29 Jul, 2023 @ 2:50am 
@Finoxy
seat and press "1" hotkey to make radar to tracking mode if no change to this vehicle.
Finoxy 29 Jul, 2023 @ 2:11am 
Hello @Tak
I have issues with your creation on the latest version. I point the laser to the target vehicule, the turrets do not turn into the target. The firing button does work however. I think it has something to do with the radar controller
jonastnt7 27 Jun, 2023 @ 7:14am 
is there some anti air that uses this?
TAK  [author] 4 Jun, 2023 @ 7:40am 
Every radar output same target signal but with different noise value. So this enables to reduce noise from radar signal. I used average of max and min value of each axis coordinates and Consider near position target(estimates same vehicle but different marge).
Not only this way, but also low pass filter to get target velocity.
These efforts allow target positions and velocities to be obtained with minimal time delay.

"Extremely high load" is caused by ballistic computer(not radar controller). ballistic computer do many times of trigonometric function and division etc... This is why this package consume so much resources of logic tick.

Second question, It's exactly as you say. I needed same tick sensor data for getting target GPS position. That's the simple way to delay data streaming.
MC_Hamster 1 Jun, 2023 @ 7:06pm 
Apologies if I'm missing something here, but why are there 8 radars on it?

Looking at the code, they all feed into LUA blocks, which from a brief check of a couple, I assume are all running the same code, outputting the same values? I'm hoping for something a little more compact - can this be run with a single radar, into one LUA block (which would save on that "extremely high load" you warn about by eliminating the same code running over the same numbers eight separate times)? Again: I may well be (and probably am) missing something crucial there. Also looks like there's a whole bunch of function blocks in there doing nothing but passing 'f(x)=x' from input to output.. is this just trying to get a delay into the input number?
LUCse MENSEN 27 Apr, 2023 @ 11:10am 
I can't seem to get it to work properly on my ship. When ever I target a vehicle it jerks back trying to face forward. Do you have any idea what may cause this?
UIU_Trooper 12 Feb, 2023 @ 9:35am 
can my turret still track with being out of range, because my turret looses track when out of range
TAK  [author] 9 Feb, 2023 @ 4:19am 
> Can i have the radar and gun on the same turret?

Sure. But high speed rotation of turret may cause loosing rock-on of radar.
f18effect 8 Feb, 2023 @ 3:41am 
Can i have the radar and gun on the same turret?
omenakunkku 6 Jan, 2023 @ 6:03pm 
how do you set this thing up?
MBN 29 Dec, 2022 @ 9:45pm 
I would love to intigrate this into my next tank, if that is ok with you, i will leave credits ofcourse :D
MBN 29 Dec, 2022 @ 9:43pm 
This is amazing. Great job!
alexej.tolstoy 23 Dec, 2022 @ 11:10am 
How do you turn it on and off?
alexej.tolstoy 23 Dec, 2022 @ 9:52am 
Do you work for the pentagon?
How did you have any idea how to make this?
Wivi2013 23 Dec, 2022 @ 5:49am 
This is just a masterpiece. Just a shame my Yamato is such a chonker that I wasn't able to use this and make the game playable. Prolly will be useful on my destroyers.
Mr. Nobody 23 Dec, 2022 @ 4:58am 
This is so usefull.
TAK  [author] 22 Dec, 2022 @ 8:29pm 
will you make a rotary version?
You can change cannon type in microcontroller property. Choose "Rotary Auto Cannon" in drop down of "Cannon Type".
Bombsquad105 22 Dec, 2022 @ 7:08pm 
will you make a rotary version?
TAK  [author] 22 Dec, 2022 @ 1:37pm 
> does it works good to be mounted on a bomber?
Yes it will be worked.