User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

AI Includes files question!

Mon Aug 18, 2008 12:21 am

AICmnGuide.inc and AIGuide_XXXX Campaign.inc files are enlisted in the INCLUDES section of Setup excel foil for any campaign.

Copy of the two files, (AICmnGuide.inc and AIGuide_XXXX Campaign.inc) are also present in Includes folder of NCP default installation: all of these files are void indeed!

Do I we to edit a void AIGuide_XXXX Campaign.inc file for any 3rd party edited campaign too?

What the way, if any, these two files should be edited?

Thanks in advance for explanations

JastaV

User avatar
PhilThib
Posts: 13705
Joined: Tue Oct 18, 2005 5:21 pm
Location: Meylan (France)

Mon Aug 18, 2008 7:21 am

For the time being, these two files are void because the AI instructions are still in the code. As long as the file is mentioned in the include, you must provide it, even if empty....if you do not include it in the setup, then you do not need it :indien:
Image

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Mon Aug 18, 2008 10:35 am

PhilThib wrote:For the time being, these two files are void because the AI instructions are still in the code. As long as the file is mentioned in the include, you must provide it, even if empty....if you do not include it in the setup, then you do not need it :indien:


Suppose, AI guide file for any specific campaign dictates informations useful to influence AI planning for that scenery.
That done, guess it will be not recommended to use AI guide file for a default campaign in a modded one where a mess of data, as VP, objectives, and so far have been changed........
AFAIK, it could be useful to do not mentione any AI guide file in the Includes section of Setup file, in new 3rd party campaigns

BTW, in future I hope modders and 3rd party editors will have chance to edit Ai guide file too!

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Aug 18, 2008 1:21 pm

There are now 3 commands that can be used to alter the AI behavior and Lodilefty is making use of them in some of the WIA scenarios. I guess he is using these files to put them there.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Mon Aug 18, 2008 1:31 pm

AFAIK, these files don't exist in WIA.

I'm simply putting the AI commands in the scenario events file, with a check on the event to be AI >=1.... This way, we don't have to recompile the scenario to make changes.
Of course, the AI commands will thus only be active on turn 2, so the AI won't benefit on turn 1.... :(

Any "include" in Setup is simply a way to write common code to be used in several scenarios. WIA uses it for AutoRaise definitions, subfactions, and Cities....

"include' in events usually references another event file. Again, common code.

In WIA: Indian winter quarters, options, and in the campaigns, common code [1775 references all of the 1776 events this way] to avoid dulicating efforts
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 17 guests