I wrote this on another forum so thought I might aswell post it here- this is to add AI for generlas worldbuilder
Lets say this is for a 2-player map-one human and one computer.
You've got your map sorted and now want to add AI. First of all click the polygon tool(next to waypoint). Decide where the main point of your map is. Then make any shape around that area using the polygon tool (*note* do not drag just left click in various places). You should end up with a joined shaped all the way round e.g. Square(which is the easiest). Now name that area CombatZone (notice no space but capital letters for C and Z-important).
This is where it starts to get more complicated. Now you have already added your player start positions... right? If not do so now. Then if you used temp building size use that as a template but if you havent it doesnt matter. Anyway, go to player one's start position and once again use the polygon tool to draw a box(or whatever shape) around the start position. Once you have done that click the down arrow which then brings up a list and then name it outer perimeter 1. Then slightly on the inner side of outer perimeter1 draw another box and name that innerperimeter1. Now do the same for player 2 start except name the perimeters 2 because its player 2 start. If it was player 3 start it would be outer perimeter3 and inner perimeter 3, see the pattern?
Now you have you perimeters sorted. Now click the waypoint tool and DRAG this time FROM the CombatZone to the inside of the perimeters. lets say you dragged it into player 1 start position you would then name it ....1 (not 2,3,4,5,6,7 or 8)WAIT, STOP. Don't name it in the usual place you see in that extra window there is 3 boxes at the bottom, that is where you name the waypoint.(type it in the third from bottom box) Name it Center1(notice the capital letter again)and now drag 2 more lines from the CombatZone but label these Flank1 and Backdoor1 (it DOES NOT matter in which order you name the waypoint). Now do the exact same for player 2 start position but because this time its player 2 start position name the waypoints Center2, Flank2, Backdoor2 (if it was player 3 start you would name them Center3, Flank3, Backdoor3 and once again do you notice the pattern?)
You now have your perimeters and waypoints set up but there is still one more key thing. Click edit-->player list-->add skirmish players. You have now successfully added AI to your map.
|