aiStrategicArea.setTakeable 2 0 aiStrategicArea.setTakeable 1 0
This is used in Strategicareas.con in any game mode with bots to tell the SAI (strategic AI) whether a given team can take a flag.
Argument 1: Team (1,2) Argument 2: 0=Cannot take flag, 1=Can take flag (Default)
For example, in my Berlin SSM map extension where both Bot CTF and Coop coexist, i have seperate folders that contain the strategies, strategic areas, etc for each game mode. In the coop version of strategicareas where the Russianbase is defined, "aiStrategicArea.setTakeable 1 0" tells the SAI that the axis bots can't take the flag, so they won't bother trying. In the Bot CTf strategic areas, this line is commented out so they will go for the flag. I hope that helps!
P.S. Great site!
|