• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

Custom AI plans

Started by Axx0, July 25, 2005, 03:38:09 AM

Previous topic - Next topic

Axx0

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.

どうもãâ,,¢Ã£Ââ€žÃ£ÂÂ¾Ã£Ââ€ºÃ£â€šâ€œ

General BlackDragon

I dont know myself, anyone have any ideas?



*****General BlackDragon*****

Commando

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

Axx0

Nice. TY.

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

There is no reference to 2, is that file ever used?

Spawn

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...

wug

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!