RimWorld
119 次評價
D-FunctionalAmmunition Library
2
   
獎勵
加入最愛
已加入最愛
移除最愛
Mod, 1.5, 1.6
檔案大小
發佈於
更新時間
1.313 MB
4 月 8 日 上午 9:18
11 月 14 日 上午 1:12
37 項更新註記 (檢視)

訂閱以下載
D-FunctionalAmmunition Library

描述
D-Lib是一個主要提供功能性彈藥(例如導彈)實作的程式碼庫。如果要使用 D-Lib,請勿使用 GitHub 版的 Combat Extended。即使你不使用 Combat Extended 模組,也請務必保留 D-Lib,若您訂閱任何需要 D-Lib 前置的模組。說不定我們什麼時候就會透過 D-Lib 為原版遊戲新增功能。


本模組已為 CE 原版的幾種投射物添加了 制導功能修補檔,包括:

127mm Javelin 導彈 (FGM-148 "標槍" 反戰車飛彈)

150mm MBT LAW (NLAW 反坦克飛彈)

Tomahawk LAM ("戰斧"巡航導彈)

同時,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>的投射物,即曲射投射物上正常運作。

若有任何功能建議或錯誤回報,請優先使用 討論 功能。
熱門討論 檢視全部(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.