Stormworks: Build and Rescue

Stormworks: Build and Rescue

202 个评价
DAIM-BalComp v2.7
10
3
2
3
2
3
3
3
3
2
   
奖励
收藏
已收藏
取消收藏
Vehicles: Air, Sea, Land
标签: v1.5.16
文件大小
发表于
更新日期
203.435 KB
2022 年 9 月 18 日 上午 6:45
2022 年 9 月 27 日 上午 9:06
6 项改动说明 ( 查看 )

订阅以下载
DAIM-BalComp v2.7

描述
DAIM's Ultimate Ballistics Computer!
(Please leave an upvote, it means the world to me ' ^')
Example: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2867151735
Guide: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2868353878
Check the changelog today, I genuinely use it :D


This little beauty is one of the most accurate ballistic computers in Stormworks, able to do all calculations regarding Motion-, Gravity-, Drag- and Wind-Compensation in a singular logic tick! I have included a bunch of settings for customization to make it fit with just about any turret, but keep in mind.

THIS IS AN EXPERIMENTAL VERSION, IT IS PRONE TO STILL HAVING BUGS IN IT AND SHOWING UNPREDICTABLE BEHAVIOUR. IF YOU NEED HELP WITH IT, DM ME ON DISCORD THROUGH MY NAME Daimonfire#9699 AND DON'T JUST LEAVE A BAD REVIEW
Thank you.

Information to the input nodes, output nodes and tooltips can be found in the guide I made

The Custom-Angle Limiter
Inside the microcontrollers LUA-Script, you will find a table at the very top of the script, with an example value inside which has no effect however. This table allows you to create zones at where the maximum elevation and depression angles of the gun should be different, or where the boolean channel 2 (inside No-Firing Zone) output of the debug node should be set to true.
The amount of these zones is infinite, or at least until your space for code runs out, Lol.
One Zone Definition looks like this:
Lower Azimuth Bound, Upper Azimuth Bound, New Minimum Elevation Angle, New Maximum Elevation Angle, No-Firing Zone output set to true?
{-10,10,25,80,false}
In this example, the guns elevation angle would be limited between 25 and 80 degrees if its rotation is between -10 and 10 degrees from its initial rotation.
However, something like
{10,-10,25,80,false}
would also be possible, where you put the upper bound at first instead of the lower bound. This results in everything but the specified zone becoming limited to the given value, in my example, the elevation angle would be limited between 25 and 80 degrees if its rotation is not between -10 and 10 degrees from its initial rotation.

For any further questions, DM me over Discord via Daimonfire#9699

DISCLAIMER
THIS BALLISTICS COMPUTER IS MADE ENTIRELY BY ME, DAIMONFIRE AND IS NOT TO BE REUPLOADED WITHOUT MY EXPLICIT PERMISSION. IF YOU UPLOAD A VEHICLE WITH THIS MICROCONTROLLER IN IT, YOU ARE FREE TO UPLOAD SAID VEHICLE AS LONG AS YOU GIVE ME CREDIT

Shout-out to MH aka Masshole#8495 for designing the logo of the BalComp
71 条留言
Kezrah 11 月 15 日 下午 10:38 
any idea when you might finish that new one?
Orbital775 7 月 22 日 上午 9:28 
is it one computer per gun or one computer for all guns?
Nick Name 2024 年 12 月 22 日 下午 9:14 
Ah i see, didn't know that, nvm then
Daimonfire  [作者] 2024 年 12 月 22 日 上午 6:26 
It's been a looong time since I've worked on it. It's pretty old and was made when the physics sensor wasn't even a thing. I do have a better one in work, but I am kind of on a hiatus
Nick Name 2024 年 12 月 14 日 下午 3:45 
it's bulky, most sensors could fit inside the physic sensor, and the leading is just not working? i'm using the example. definitely not the best computer.
trucksarenoisy 2023 年 4 月 29 日 上午 10:46 
the controller will correct lead but if it overshoots the leading it doesn't fix it's mistake, it just sits there for the target to come closer...
trucksarenoisy 2023 年 4 月 29 日 上午 10:44 
yeah this controller loves to overshoot target leading
trucksarenoisy 2023 年 4 月 29 日 上午 10:25 
this just flat out refuses to function no matter what i try, flipping Y and Z channels does nothing
trucksarenoisy 2023 年 4 月 29 日 上午 10:15 
what kind of positioning does this MC need? the tracking camera outputs target's map X on channel 1, target altitude at channel 2, and target map Y on channel 3, your computer seems to hate this input
trucksarenoisy 2023 年 2 月 23 日 下午 2:28 
oh ok