Re: Eliminating Resupply Depots... =)
Yes. Add AI Tag ## abilities to the facilities you actually want them to build. Next, go into each Mod\Pictures\Races\Racename\Racename_AI_Constructi on_Facilities.txt file and do a find/replace operation of the offending ability with the new AI tag.
This is necessary for any ability with values (ie: not space port or resupply). With valueless abilities, you can fool the AI into thinking the facility you want them to build is more advanced by making it require more total tech levels. They can be redundant.
This method does not require any editing of AI files, so is generally preferable for valueless abilities. Valued abilities only use the value of the ability in question when determining what is "more advanced," whereas valueless abilities are compared by total levels of tech reqs. Last position in the file is a tie breaker in both cases.
For example, you could make Space Port appear to require 5 tech levels thusly:
Name := Space Port
...
Tech Area Req 1 := Cargo
Tech Level Req 1 := 1
Tech Area Req 2 := Cargo
Tech Level Req 2 := 1
Tech Area Req 3 := Cargo
Tech Level Req 3 := 1
Tech Area Req 4 := Cargo
Tech Level Req 4 := 1
Tech Area Req 5 := Cargo
Tech Level Req 5 := 1
A possibly cleaner way is to add an AI Tech tech area with, say, 15 levels. Set its start and raise levels to 15. Make it so that it is unremovable, since you will never want it to be removed. It is only meant to be used to fool AI into using the correct facility. Humans will have AI Tech too, but this is fine because it will allow the ministers to function properly. With the same 5 tech levels example above, it would more cleanly look like:
Name := Space Port
...
Tech Area Req 1 := Cargo
Tech Level Req 1 := 1
Tech Area Req 2 := AI Tech
Tech Level Req 2 := 4
These redundant tech reqs do not change anything in-game; the facilities appear in the same place in the tech tree.
|