围攻
26 个评价
Predict Cannon Trajectory
   
奖励
收藏
已收藏
取消收藏
Types: Mods
文件大小
发表于
更新日期
64.189 KB
2020 年 6 月 12 日 下午 8:36
2020 年 6 月 30 日 下午 1:03
5 项改动说明 ( 查看 )

订阅以下载
Predict Cannon Trajectory

描述
When Predict Cannon is toggled, predicts the trajectory of cannon balls and draws it.

When Show Error is toggled, draws another two trajectories showing the range of possible trajectories.

The code is hosted at https://github.com/fanzhuyifan/ShowTrajectory.

Feedback is welcome!

弹道预测

勾选"Predict Cannon"后,可预测并显示炮弹弹道。
勾选“Show Error"后,可预测并显示误差范围。
B站视频:https://www.bilibili.com/video/BV115411W7or
热门讨论 查看全部(2)
0
2020 年 6 月 30 日 下午 1:12
吐槽(中文)
fanzhuyifan
0
2020 年 6 月 30 日 下午 1:11
Bugs and Feedback (English)
fanzhuyifan
11 条留言
1274711674 2020 年 8 月 28 日 上午 1:31 
我正需要这个:steamhappy:
fiao 2020 年 8 月 16 日 上午 12:46 
这事好的
dagriefaa 2020 年 7 月 8 日 下午 6:36 
For me, it always inherits velocity. Certainly, if it didn't, it would be very difficult to put cannons on aircraft.
fanzhuyifan  [作者] 2020 年 7 月 8 日 下午 2:46 
@dagriefaa I filed a bug report (https://psteamcommunity.yuanyoumao.com/app/346010/discussions/2/2566438792568984086/) and let's see what the developers do about it. Once they fix it I will update the mod.
fanzhuyifan  [作者] 2020 年 7 月 8 日 下午 2:28 
@dagriefaa Hi! I did some experiments with firing from a moving car straight upwards, but apparently sometimes the cannon ball inherits the horizontal velocity of the car, while sometimes it does not (horizontal velocity = 0). It might be an issue of the game and I am hesitant to update the mod if there is no consistent behavior in the game itself. It would be nice if you could provide me with more information!
dagriefaa 2020 年 7 月 8 日 上午 1:06 
This mod doesn't appear to take the velocity of the cannon into account. It'd be really cool if it did.
fanzhuyifan  [作者] 2020 年 6 月 30 日 下午 1:05 
[update] Now the mod works with scaled cannons! Sorry it did not work before.
TTaJIac 2020 年 6 月 30 日 上午 3:58 
@fanzhuyifan I'm sorry I can't send you a screenshot.
If you set the power of the gun to x3, the errors in the calculations are catastrophic. The spread with this power even in" show error " does not show. If you can call it a spread.
I don't know if you can see it, but I shared a screenshot that shows that the cores are flying much higher than the specified trajectory.
fanzhuyifan  [作者] 2020 年 6 月 29 日 下午 7:05 
@TTaJIac What kind of mistakes are you talking about? There is some inherent uncertainty in the initial speed of cannon balls which is built into the game. If you click show error you can see the range of predictions. Also because of how the physics engine works, choosing different frame rates will actually result in different trajectories.... There's nothing much I can do about that either...
TTaJIac 2020 年 6 月 29 日 下午 12:57 
As sad as it is. This mod sometimes (though almost always) makes mistakes in calculations.