Ai Questions

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
User avatar
chesmart
Posts: 904
Joined: Sun Jan 14, 2007 8:51 pm
Location: Malta

Ai Questions

Post by chesmart »

I am nearly finished with my mod and now I have started editing the AI data files. For now what I am doing is editing the AI files in Iron man V3. Till now I edited the one I found in the scenario editor. How do I edit the other scripts ?

I will be asking more questions in this thread regarding the AI files.
User avatar
chesmart
Posts: 904
Joined: Sun Jan 14, 2007 8:51 pm
Location: Malta

RE: Ai Questions

Post by chesmart »

bump hope that Andy sees it
Andy Mac
Posts: 12578
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: Ai Questions

Post by Andy Mac »

Seperate scenarios is the only way then manually rename files

So I have Scen 30 - 60 all as identical scens each AI file gets manually modified then copy all the AI files and rename 001 - 016 etc etc
User avatar
chesmart
Posts: 904
Joined: Sun Jan 14, 2007 8:51 pm
Location: Malta

RE: Ai Questions

Post by chesmart »

I did that Andy renamed all Ironman Scenarios to number 30 which is the number I am using. What I meant was is there a way to make the computer follow a particuar script. Basically what I want the AI to do is Invade Australia, India and PH at the same time. I already gave the AI parity in ships with the allies especially DDs and CLs and CVs plus I added a lot of divisions to it. Now I want the AI to attack all these territories phases. I think I already did India by expanding the North Burma Script. How do I do Australia ?
Andy Mac
Posts: 12578
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: Ai Questions

Post by Andy Mac »

Only give it one script if you weant it to follow that script - i.e delete all the others
User avatar
chesmart
Posts: 904
Joined: Sun Jan 14, 2007 8:51 pm
Location: Malta

RE: Ai Questions

Post by chesmart »

But how can I load the other scripts to see what there is in them before deleting them ?
User avatar
Sardaukar
Posts: 12843
Joined: Wed Nov 28, 2001 10:00 am
Location: Finland/Israel

RE: Ai Questions

Post by Sardaukar »

ORIGINAL: che200

But how can I load the other scripts to see what there is in them before deleting them ?

Copy the scenario to new slot and delete all others but one you want to view?
"To meaningless French Idealism, Liberty, Fraternity and Equality...we answer with German Realism, Infantry, Cavalry and Artillery" -Prince von Bülov, 1870-

Image
Andy Mac
Posts: 12578
Joined: Wed May 12, 2004 8:08 pm
Location: Alexandria, Scotland

RE: Ai Questions

Post by Andy Mac »

You need to set up 16 new scenarios delete all the AI file3s for those 16 scenarios then rename each variant to be the AI file for that scen
 
e.g.
 
Scen 38 aei10 rename to aei38
Scen 39 aei10-001 rename to aei39
 
etc etc that way you can see all the variants its ciumbersome but the only way
User avatar
Sardaukar
Posts: 12843
Joined: Wed Nov 28, 2001 10:00 am
Location: Finland/Israel

RE: Ai Questions

Post by Sardaukar »

Andy...you must have been suffering from bout of madness when you took AE AI as your task...but I am glad you did! [&o][&o][&o]
"To meaningless French Idealism, Liberty, Fraternity and Equality...we answer with German Realism, Infantry, Cavalry and Artillery" -Prince von Bülov, 1870-

Image
User avatar
chesmart
Posts: 904
Joined: Sun Jan 14, 2007 8:51 pm
Location: Malta

RE: Ai Questions

Post by chesmart »

Nice so i rename the to Ae30i. Thanks Andy again You must be a very patient parson. [&o][&o]

Sardauker playing around with scripts as well ?
User avatar
Sardaukar
Posts: 12843
Joined: Wed Nov 28, 2001 10:00 am
Location: Finland/Israel

RE: Ai Questions

Post by Sardaukar »

ORIGINAL: che200

Nice so i rename the to Ae30i. Thanks Andy again You must be a very patient parson. [&o][&o]

Sardauker playing around with scripts as well ?

I took few looks...and quickly run away! [:D]
"To meaningless French Idealism, Liberty, Fraternity and Equality...we answer with German Realism, Infantry, Cavalry and Artillery" -Prince von Bülov, 1870-

Image
User avatar
chesmart
Posts: 904
Joined: Sun Jan 14, 2007 8:51 pm
Location: Malta

RE: Ai Questions

Post by chesmart »

It does not look that bad the more i play around the more i am awed with the potential that can be done.  [:D][:D][:D][:D]
User avatar
JWE
Posts: 5039
Joined: Tue Jul 19, 2005 5:02 pm

RE: Ai Questions

Post by JWE »

ORIGINAL: Andy Mac
You need to set up 16 new scenarios delete all the AI file3s for those 16 scenarios then rename each variant to be the AI file for that scen

e.g.

Scen 38 aei10 rename to aei38
Scen 39 aei10-001 rename to aei39

etc etc that way you can see all the variants its ciumbersome but the only way
A teensy weensy easier way is to copy a scenario (using 001 for convenience) to an empty folder using a new slot (using 100 for convenience) and then copy ALL aie001(-xx) files to that empty folder, renumber them to aei101(-xx) - yes one number different - and go from there.

Start with aei101.dat - renumber it to aei100.dat; open Scen 100 in the editor and look at the AI Data.
Return aei100 to aei101; rename aei101-01 to aei100. Open Scen 100 in the editor and look at the AI Data.
Return aei100 to aei101-01; rename aei101-02 to aei100. Open Scen 100 in the editor and look at the AI Data.
Return aei100 to aei101-02; rename aei101-03 to aei100. Open Scen 100 in the editor and look at the AI Data.
Return aei100 to aei101-03; rename aei101-04 to aei100. Open Scen 100 in the editor and look at the AI Data.
.
.
Return aei100 to aei101-15; rename aei101-16 to aei100. Open Scen 100 in the editor and look at the AI Data.

Might be a bit more 'space on the hard drive' friendly and make it easier to defrag the HD on those rainy days.[;)]
User avatar
chesmart
Posts: 904
Joined: Sun Jan 14, 2007 8:51 pm
Location: Malta

RE: Ai Questions

Post by chesmart »

Thanks John that's what i did i copied all 18 scripts and am know editing my own script lets see where we go from here. The more i read in the scripts the more impressed i am by Andy scripts.
Post Reply

Return to “Scenario Design and Modding”