Page 1 of 1

Modding AI Pre First Turn Production?

Posted: Thu Jan 14, 2021 8:50 pm
by sarnold2222
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

RE: Modding AI Pre First Turn Production?

Posted: Thu Jan 14, 2021 9:20 pm
by ernieschwitz
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.