Parašė Tadziokaz· 2009 Sau. 28 17:01:27
#1
Sveiki, jeigu kas moka anglų ir netingi, gal galite šį kodą (kurį rasite apačioje) suredaguoti pagal šį gidą parašytą angliškai. Pats iš dalies suprantu, bet neviską todėl nesinori imtis, nes tikrai suklysiu....
Tekstas/gidas:
Increasing Singleplayer Bots
To increase the number of bots used in singleplayer mode, go to your \Program Files\EA Games\Battlefield 2\mods\bf2\AI directory and open the file aidefault.ai with Notepad or Wordpad (make sure to create a backup copy of it first). Read the instructions in the file which basically involves placing the word REM in front of each of the first 5 lines starting with 'aiSettings.set', then removing the REM's in front of the next 4 lines starting with 'aiSettings.set'. Change the number at the end of the aiSettings.setMaxNBots 32 line to determine the number of bots to use (e.g. aiSettings.setMaxNBots 64 for 64 bots). Note that more bots can really stress your system and hence destabilize it, causing a crash back to desktop - particularly for those with older CPUs. For example, 64 bots on most systems will cause a crash.
Koduote:
echo *****************************************************************************************
echo AIDefault.ai ****************************************************************************
echo *****************************************************************************************
aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1
aiSettings.setMaxNBots 64
aiSettings.maxBotsIncludeHumans 1
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
rem aiSettings.overrideMenuSettings 1
rem aiSettings.setMaxNBots 32
rem aiSettings.maxBotsIncludeHumans 0
rem aiSettings.setBotSkill 1.0
run BotNames.ai
aiSettings.setInformationGridDimension 32
run AIPathFinding.ai
rem EOF
Parašė Deiviux.eu· 2009 Sau. 28 17:01:44
#3
Naudok Google Nes Tikrai Bus Parasyta Paziurek Kokiam BattleField2 Forume
Parašė Meskis· 2009 Sau. 28 17:01:36
#6
http://translate.google.com/ :s kartais pievas verčia, ar sakiniai nerišlūs. naudokis dar kokiu anglonu ar kuo. bus gudriau, jei viškai nenutuoki ką čia rašo ;)
Redagavo Meskis· 2009 Sau. 28 17:01:44
Parašė Peacemaker· 2009 Sau. 28 18:01:47
#8
Pasakysiu taip - skaičių 32 gali keisti į bet kurį iš intervalo 32-64. 64 imti nepatariama.