Le dossier du jeu : " C:\Program Files\EA GAMES\Battlefield 2".
Le chemin complet pour trouver le fichier : C:\Program Files\EA GAMES\Battlefield 2\mods\bf2\AI. Le fichier s´appelle " AIdefault".
Ouvre avec l´éditeur de texte ( notepad ) change le texte pour que ca ressemble a ca :
echo
- ***********************************************
- ************************************
echo AIDefault.ai
- ***********************************************
- ***********************
echo
- ***********************************************
- ************************************
aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1
rem aiSettings.setMaxNBots 64
rem aiSettings.maxBotsIncludeHumans 1
rem aiSettings.setBotSkill 0.4
rem To spawn more than 15 bots in SP, use the following lines instead of the three lines above.
rem Note that this is totaly unsupported, it will affect your system´s performance
rem and may even crash your game. That being said, you will most likely be able to run a lot
rem more bots than 15 on your system.
rem Example for 32 bot game with expert bots
aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 32
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.4
run BotNames.ai
aiSettings.setInformationGridDimension 32
run AIPathFinding.ai
rem EOF
Voili voilou!
@+