Battlezone Universe

Battlezone Universe => Archive Vault => Public 1.3 Beta Archive => Topic started by: Axx0 on July 25, 2005, 09:38:09 AM

Title: Custom AI plans
Post by: Axx0 on July 25, 2005, 09:38:09 AM
I would like to a custom AI plan for MPI games, but the documentation is very thin on how to actually implement it.

I would appreciate some information on where to place the new AI files, how to make them selectable and when a specific AI file is used.

どうもãâ,,¢Ã£Ââ€žÃ£ÂÂ¾Ã£Ââ€ºÃ£â€šâ€œ
Title: Custom AI plans
Post by: General BlackDragon on July 25, 2005, 02:04:36 PM
I dont know myself, anyone have any ideas?
Title: Custom AI plans
Post by: Commando on July 25, 2005, 03:45:50 PM
Ai Plan files end with the extension .aip.  Custom aip files go into your addon folder.  When you create your own aip files, you you create your aip files, aiplist.txt needs to be changed to include your own aip files.  Below is what is in aiplist.txt so you can use the following to create an aiplist.txt without extracting it from patch13.pak.

Quote
//
// AIPlist.txt - List for alternate AIP sets to be picked from before
// a MPI game. [IA also soon?]
//
// Translation: a way to pick a MOD before a game, and have it not
// cause bad assets, assuming the author wrote it well.
//
// Format of lines: AIP basename, space separator, description.  Lines
// starting with // are ignored.
//
// For each base name, there need to be at least 24 AIP files on disk:
// [basename][CPURace][HumanRace][PlanType].aip
//
// where CPURace & HumanRace are 'f' (Scion) or 'i' (ISDF). PlanType
// is one of the following:
// 0 - Startup
// 1 - Early game (50/50 chance of 1 or 3 being used)
// 3 - Early game (50/50 chance of 1 or 3 being used)
// a - Anti-Assault (when the humans have some heavy units)
// l - Late game
// s - Anti-siege (humans near CPU recycler)
//
// The first field on each line must be 5 characters or longer, or the
// line will be ignored.

stock13_ 1.3 Default AIPs
Title: nice
Post by: Axx0 on July 25, 2005, 09:54:30 PM
Nice. TY.

Now just to figure out what all the parameters mean :)

There is no reference to 2, is that file ever used?
Title: Custom AI plans
Post by: Spawn on July 25, 2005, 11:10:09 PM
you can either edit them in notepad or use the aip editor
a new version was released for 1.3 even, it is probablly here somewhere...
Title: Custom AI plans
Post by: wug on July 26, 2005, 12:37:56 AM
Search the map and mods forum... the question has been asked more than once (like by me, for example :lol:).

The AIP editor is a great help... grab it from:
http://www.leinensoft.com/bz2/aipeditor.htm

I remember that the AIP logging is enabled an .ini file.  No, plan 2 is never used.  The default AIPs are in the patch13.pak file.

Good luck!