Modding AI Pre First Turn Production? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series



Message


sarnold2222 -> Modding AI Pre First Turn Production? (1/14/2021 10:50:18 PM)

In ND3, before the first turn begins, each city produces units.

Usually it is some supply, some pp, and a lot of riflemen.
This is different than the "starting" units that you can set in Settings/RuleVars/Random Map Instructions in the # 400's

Is there a way to set what the cities produce on this pre first turn?

Thanks in advance




ernieschwitz -> RE: Modding AI Pre First Turn Production? (1/14/2021 11:20:12 PM)

Yes, there is, but it would require you to do some event coding of your own.

You would make that event at the end of all the current events, and there you would say to it, what to produce for the first turn. In ANewDawn there is some code showing how you do this each turn, basically you can reuse that code, and make it produce anything you want. The code uses SFT groups, for instance infantry, which would be rifle and smg units. The AI would then determine which of those it would be. You can also change it so that it produces specific SFTs... that is light tanks for instance.

You can really do a lot with code. So much so that you can change the game completely.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.578125