Modding AI Pre First Turn Production?

Advanced Tactics is a versatile turn-based strategy system that gives gamers the chance to wage almost any battle in any time period. The initial release focuses on World War II and includes a number of historical scenarios as well as a full editor! This forum supports both the original Advanced Tactics and the new and improved Advanced Tactics: Gold Edition.

Moderator: Vic

Post Reply
sarnold2222
Posts: 38
Joined: Mon Feb 08, 2016 2:54 pm

Modding AI Pre First Turn Production?

Post 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
User avatar
ernieschwitz
Posts: 4557
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: Modding AI Pre First Turn Production?

Post 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.
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
Post Reply

Return to “Advanced Tactics Series”