I might be wrong but I don't think your idea is going to work. Any buildings placed on the map will be sold when turned over to an AI player. One way you could do this is to import the default AI scripts and spawn buildings for the third player. You would need to script it so the condition checks the players start position and whether they have built a supply center. If these conditions are met you can spawn your buildings. You would need to make a copy of these scripts in each AI folder. This does give you the option of making each base different depending on the faction starting in position three. As far as the AI using the boss war factory, I believe you would need to script some subroutines for them to build the unique units. I think this is all doable. So I would do the following to check this out.
*Import the AI scripts.
*Place waypoints where you want buildings placed.
*Starting with one AI, make a folder to contain these scripts and script the spawn script checking for start location and if a supply center has been built in the condition.
IF this checks out when testing, export this folder then import it into each of the AI folders. Modify the supply condition check for each faction. Then test again for all factions.
This will at least get you started. Let us know how it's coming.
I've attached the default scripts for Zero Hour.
***
You might also want to check out the tutorial on
making AOD map . That's kind of what you're wanting to make anyway.
***
AI_Scripts for Zero Hour.zip
(225kb) downloaded 16 time(s). Edited by user
17 years ago |
Reason: Not specified