From The Depths

From The Depths

评价数不足
AmmoProc
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
89.318 MB
2019 年 12 月 22 日 上午 4:44
2020 年 3 月 25 日 上午 3:22
2 项改动说明 ( 查看 )

订阅以下载
AmmoProc

描述
v2.6.1.95にて、致命的な問題が発生。問題個所は判明しているものの、私の知識では解決できない。

v2.6.1.4に対応
マテリアルを消費しない弾薬生成機を追加するMODです。

v2.5.3.0から、弾薬の自然回復が無くなったことが気に入らないことと、FTD自体の既存値がMOD禁止になったため、別ブロックとして作成しました。

生成時マテリアル消費 : 0
消費電力:1
弾薬生成量:1000(MOD編集で変更可能)

コードもつけておいたので、任意で改造してください。

A fatal problem occurred in v2.6.1.95.
The problem areas are known, but to my knowledge they cannot be solved.
Apparently, FTD wants to ban the MOD.

Compatible with v2.6.1.4
A MOD that adds an ammo generator that does not consume materials.
Since v2.5.3.0, I don't like the fact that the ammunition has no natural recovery and the existing value of the FTD itself has been banned from mods, so it was created as a separate block.

Material consumption at creation: 0
Power consumption: 1
Ammunition production: 20 (can be changed by editing MOD)

The code is also attached, so please modify it arbitrarily.
21 条留言
skytow  [作者] 2020 年 6 月 30 日 上午 2:44 
It would be a long story to write in the comments section here, so just the gist of it would be as follows.

1) Run dnSpy and type "AmmoProcessor".
2) public static float AmmoCreatedPerBatch = AmmoProcessor.MaterialsUsePerBatch * GameConstants.MaterialToAmmoRatio * 1.5f;
In the code, we set 1.5 to an even larger value.

It feels like this
Big Skelestonks 2020 年 6 月 29 日 下午 5:48 
How do I edit the mod using dnSpy? Where would I go to change the ammunion production?
skytow  [作者] 2020 年 4 月 30 日 上午 7:34 
A fatal problem occurred in v2.6.1.95.
The problem areas are known, but to my knowledge they cannot be solved.
Apparently, FTD wants to ban the MOD.
skytow  [作者] 2020 年 4 月 17 日 下午 7:11 
If you only want to find the code for this "ammo processor", you can use ILSpy.exe to look in FTD.exe.

If you want to search and modify the related code, use dnSpy.exe.

If you want to create an independent DLL like this MOD, you need a C# development environment.
Flaming Dumpster Gaming. 2020 年 4 月 17 日 下午 5:49 
where do you find ammo barrels/ ammo processor in the game coding and also how do you change the amount of ammo that is converted per second
skytow  [作者] 2020 年 3 月 25 日 上午 3:30 
Apparently, it was uploading an older version. A new version has been updated.
I'm sorry.
Regarding compatibility with v2.5, the compatibility of v2.5 and v2.6 cannot be maintained because the names of ammunition methods in ftd.dll are different.
Scaramanga 2020 年 3 月 24 日 上午 8:37 
I still have a problem with compatibility 2.6.1.4, did you upload the correct file? Any solution? Thank
skytow  [作者] 2020 年 3 月 23 日 下午 6:37 
Compatible with v2.6.1.4.
Instead, it is now incompatible with v2.5 series.
V2.6 is due to the different method names and class names of ftd.dll in v2.5.
If you use this MOD on v2.6, please use the latest version of this MOD.
skytow  [作者] 2020 年 3 月 22 日 下午 2:53 
I want to go up Tuesday or Wednesday.
I created the code that was already applied to v2.6.
Scaramanga 2020 年 3 月 22 日 上午 7:41 
The newest development branch update 2.6.6 broke your mode :( Is there any hope of you updating it? Thanks