Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Modding AI Pre First Turn Production?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Modding AI Pre First Turn Production? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Modding AI Pre First Turn Production? - 1/14/2021 10:50:18 PM   
sarnold2222

 

Posts: 38
Joined: 2/8/2016
Status: offline
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
Post #: 1
RE: Modding AI Pre First Turn Production? - 1/14/2021 11:20:12 PM   
ernieschwitz

 

Posts: 3893
Joined: 9/15/2009
From: Denmark
Status: offline
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.

(in reply to sarnold2222)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Modding AI Pre First Turn Production? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.609