Resources on modding AI

TK3600
Private
Posts: 3
Joined: Thu 31 Dec 2020 02:32
Contact:

Resources on modding AI

Postby TK3600 » Tue 23 Mar 2021 19:37

https://drive.google.com/file/d/12y_RPK ... sp=sharing

You can access those in modding suite by NDF_Win.dat > everything > TPoolElement
Those are what the TPoolElement really meant. At first it is a bunch of numbers, but I have managed to decrypt what those numbers mean. You can see there is a bunch of silly stuff like AI wanting to build heavy tanks for 20pt, recon helicopters for 5pt. That is why AI sucks at recon, and why they never open with heavier tanks.

https://drive.google.com/file/d/1o0uJbE ... sp=sharing

These are TPoolModel, the class that organizes TPoolElement into a pattern of attack. If TPoolElement determines what to build, TPoolModel is how the order and pattern of them are used together in a combined arm push. While unlike TPoolElement they are referenced by multiple TMacroAction, generally each model serves one types of purpose, like Attack or defend of resupply.

The class in charge of TPoolModel would be TMacroAction, those I presume are in charge of how they units are microed, like how likely are they to withdrawl, whether to stop when return fire or keep pushing under fire.

https://drive.google.com/file/d/1A7b6D4 ... sp=sharing

Then it is TSequenceGenerator and TIAGeneralStrategy, which determines how AI picks whether to attack or defend and etc. It has conditions like comparing what types of units you have vs AI has, how much time has passed and etc. The names are in a localisation hash. I have not managed to find the full version of it, this is the best I can do.

Lastly, I want to talk about IAStratModule under the unit section of everything > TUniteAusoldecriptor > Modules.

https://drive.google.com/file/d/1HoF-hl ... sp=sharing

ComportementIAStrat affects how AI unit behaves individually.
Typeforpoolselection is how AI categorize each unit into specific types for deciding what types of unit to buy.

Thank you, ask me if you got any more questions. I have made a mod that includes improved AI. If you want to see how much AI can improve with just moderate tweaking you would be pleasantly surprised!

https://www.moddb.com/mods/wargame-red- ... /downloads

Special thanks to The W:RD Noob, he make these neat csv file from the data of game. I can't have done it without him!

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 5 guests