边缘世界 RimWorld

边缘世界 RimWorld

109 个评价
D-FunctionalAmmunition Library
2
   
奖励
收藏
已收藏
取消收藏
Mod, 1.5, 1.6
文件大小
发表于
更新日期
1.298 MB
4 月 8 日 上午 9:18
10 月 23 日 上午 4:23
34 项改动说明 ( 查看 )

订阅以下载
D-FunctionalAmmunition Library

描述
D-Lib是一个主要提供功能性弹药(例如导弹)实现的代码库。不要使用GitHub版的Combat Extended,如果你要使用D-Lib的话。即使你不玩CE也请你带着,如果你要订阅我们的要求D-Lib前置的mod,因为你不知道我会在什么时候用D-Lib为原版环境添加新功能。

本Mod已经为CE自带的几个投射物提供了制导功能Patch。
D-Lib提供了制导功能的投射物:
127mmJavelinMissile(FGM-148 "标枪" 反坦克导弹)

150mmMBTLAW(NLAW)

TomahawkLAM(战斧巡航导弹)

同时还为FGM-148"标枪"提供了贴近现实的弹道动画。


你可以在Local's CE Launchers中找到127mm FGM-148"标枪"和150mm MBT LAW(即NLAW)。

以html格式撰写的使用方法在mod目录下。

1.6版本D-Lib完成了代码重构,现在如果你不需要其他特殊功能(如:串联弹头)而只需要制导功能,你可以在不占用ThingClass的前提下调用制导弹药功能了,加上<trajectoryWorker>D_FuncAmmoLib.MissileTrajectoryWorker</trajectoryWorker>然后加上制导功能comp即可。具体内容请看本地文件中的html格式的介绍。



需要注意的是,D-Lib介绍文档中提到的SpeedGain功能是CE内置功能,不带D-Lib也能用,但是它暂时只能在<flyOverhead>true</flyOverhead>的投射物,即曲射投射物上正常工作。

如果你有任何需求建议或bug反馈,请最好使用讨论功能.
使用Ctrl+F12上传日志
热门讨论 查看全部(2)
4
10 月 16 日 上午 3:26
Bug Report & Suggestions(错误报告与建议区)
PolandBall
3
5 月 13 日 上午 8:47
Error spam when firing artillery turrets to other tiles in the world and shell does not comes out.
Mayano Topgun
37 条留言
Griffon 10 月 19 日 上午 10:14 
Just noticed the update yesterday. It doesn't seem to crash anymore. Really good job and thanks for a great library for modders :)
奥拉西斯的地雷 10 月 17 日 上午 3:29 
中文范例好评
Griffon 10 月 17 日 上午 3:27 
Big thanks for the 1.6 update. I noticed one issue though :

In the case of a missile with keepTracking true. If the target is killed before the projectile hits, the projectile hangs in the air and keep generating red error messages.

Exception ticking Bullet_Typhon39855 (at (103, 0, 168)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 94C1ACA]
at D_FuncAmmoLib.CompGuidanceCE.CompTick () [0x0029d] in <f5fb0aa2dab74d4d97c1355ced6b4b45>:0
at Verse.ThingWithComps.Tick () [0x00025] in <24d25868955f4df08b02c73b55f389fe>:0
at CombatExtended.ProjectileCE.Tick () [0x00001] in <fb4c7875773b4d4e8d309407c7a64d23>:0
at D_FuncAmmoLib.Projectile.Tick () [0x00001] in <f5fb0aa2dab74d4d97c1355ced6b4b45>:0

Is there some kind of param that can make a projectile self destruct (may kill the launcher) or even better dumb guided once the target is killed ?
I tried the TicksCrashPorjectile but it seems the error prevents the projectile tick
Benjamin Proverb Test 10 月 6 日 下午 9:55 
can understand. making the library work well (and with minimal overhead) is important. as is DsW-4's day job. things take time.
PolandBall  [作者] 10 月 6 日 下午 9:11 
I know everyone is looking forward to the 1.6 update, but right now, DsW-4 is busy with work while also trying to find time to optimize the guidance function code and maintain other features. Additionally, efforts are underway to adapt the guidance function code from D-Lib for use with Combat Extended.

The planned optimization aims to enable guided ammunition functionality using only comp, without the need to occupy ThingClass.

我知道各位很期待1.6版本更新,但现在DsW-4要在忙于工作的同时抽时间优化制导功能代码和维护其他功能,并且还在准备把D-Lib的制导功能代码搬运给Combat Extended使用。

计划中的优化效果是只需要comp而不需要占用ThingClass即可启用制导弹药功能。
FIB010666 9 月 28 日 上午 1:35 
佬,加油!
纸齿轮 9 月 26 日 下午 9:40 
好事多磨,牛逼的东西不怕等
SilkMoth 9 月 24 日 上午 11:01 
damm that sucks to hear, hope everythign will be alr tho, take ur time!
DsW-4  [作者] 9 月 24 日 上午 11:01 
Due to an error during code synchronization, part of the development progress was lost. As a result, the release of this program may be postponed, with the latest expected release date in October:steamsad:
DsW-4  [作者] 9 月 22 日 上午 11:20 
@SilkMoth Normally there will be no problems.