Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Tue Jun 17, 2025 11:07 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Thu Oct 25, 2007 9:16 pm 
Offline

Joined: Wed Oct 10, 2007 10:01 pm
Posts: 43
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!


Top
 Profile Send private message E-mail  
 
PostPosted: Fri Oct 26, 2007 8:20 am 
Offline

Joined: Thu Mar 15, 2007 2:22 pm
Posts: 1253
Thanks!

And welcome to the forum :)


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 30 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group