Steel Division: Normandy 44

Steel Division: Normandy 44

338 个评价
Reinforce Infantry
3
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
126.384 KB
2017 年 6 月 5 日 下午 1:50
2019 年 3 月 22 日 下午 4:07
31 项改动说明 ( 查看 )

订阅以下载
Reinforce Infantry

描述
This mod makes it so that infantry can be reinforced from ammo supply trucks. It includes gun crews, too!

How does it work?

By default, infantry can not reinforce from ammunition trucks, similar to how they did in WGRD. This mod changes it so that they can! Simply place your infantry within range of a nearby supply truck and you will see them replace lost members of their squad. It takes about four seconds for a single soldier to be replaced, at about 5 munitions per second, for about 20 munitions per soldier every four seconds.

How do I make this mod for my own use, or add it to an existing mod? (after Dec 2017 update)

That's easy! Just go find the right file and change the variables. Start in the following directory:

[Mod File]\GameData\Gameplay\Constantes

Find the named Ravitaillement.ndf and then look for the code on lines 27, labeled HealthSuppliableMovingTypes. The array should only have "EUnitMovingType/Track," in it. This tells the game which types of units to reinforce the health of. We're going to want to add all the other types of units to this list, so that the game will try to reinforce the health of those units, too. Replace what's in the array with this:

EUnitMovingType/Infantry,
EUnitMovingType/InfantryAmphibious,
EUnitMovingType/Track,
EUnitMovingType/TrackAmphibious,
EUnitMovingType/AllTerrainWheelAmphibious,
EUnitMovingType/HalfTrack,
EUnitMovingType/AllTerrainWheel,
EUnitMovingType/Wheel,

That will tell the game to allow supply trucks to fix up each of those types of units (which is all of the ground units in the game).


Also, huge thanks to Dekkers for helping me bugfix!
热门讨论 查看全部(1)
7
2019 年 2 月 11 日 下午 6:05
I really love this mod, why hasn't Eugen incorporated the idea?
Fuhrious
182 条留言
Citadel  [作者] 2020 年 12 月 5 日 下午 5:34 
Another good question. You'll find the file by creating a new mod, then digging around in the mod's files. I believe how the mods work is that when you create a new mod, it gives you a copy of all the game files which you can change freely, then, only the changed files are re-packed into the actual mod by the mod maker program included with the game (also known as "delta patching" or "delta modding" I believe, but perhaps a CS nerd could help me out there). You shouldn't be able to actually change the base game files, nor would you want to, I don't think. Start googling around for the mod-maker's guide, and I'm confident you'll go down the same paths as I did when I made the mod the first time.
Leenday 2020 年 12 月 5 日 下午 5:19 
Can you help with that? I know the game is kinda dead I can't complain that there are no other RI versions etc. I just want an expensive refill but I can't do it myself it seems like.
Leenday 2020 年 12 月 5 日 下午 5:17 
Where to find this exact file and how to access it? I tried Notepad++ of some .ndfs but there's cyphered stuff. I also looked for the /Constantes folder but it just does not exist.
Citadel  [作者] 2020 年 12 月 5 日 下午 1:44 
@Leenday: That's a really interesting question. I haven't experimented with changing the reinforce costs with the 2017 re-writing of the code involved. I'd recommend starting in the Ravitaillement.ndf file and looking for values which alter the coefficient for reinforcement costs.
Leenday 2020 年 12 月 5 日 上午 10:19 
In my opinion refill is too cheap. Artillery eats through supply truck in mere minutes but it sustains reinforcing like 500 people. I'm not to argue about it I'm just asking if it is possible to alter the variables and how to do it?
Vulture 2020 年 11 月 25 日 下午 2:47 
Thanks, brother
Citadel  [作者] 2020 年 11 月 25 日 下午 1:17 
@Vulture:
I do not believe so, sir. I think when you have mods active, it disables the ability to earn achievements. Sorry!
Vulture 2020 年 11 月 25 日 上午 4:44 
Compatible with Achievments?
Citadel  [作者] 2019 年 9 月 15 日 下午 3:09 
@Tank:

Not sure what you mean, but it is a gameplay modifier, so you and anyone you play with will need to be running it. AFAIK, it doesn't throw balance off that much, so, pitter patter!

Good hunting!
IDon'tHaveAName 2019 年 9 月 15 日 下午 1:54 
Is the mod "safe" with multiplayer?