@璐村惂鐢ㄦ埛_000076K馃惥 off
title 战地2 BOT 修改
rem Get to the right spot to insert the AI file
cd AI
rem Preload the two variables
set botcount=
set botskill=
rem Attendez le demmarage du progarmme ...
echo 按'Enter'确认
echo.
set /p botcount=你想要多少BOT (如果你想64个BOT,请输入 63) ?
echo.
set /p botskill=BOT的难度是: (最简单 0.1 —— 1.0 最难)
echo.
echo 请等待, 更改文件中 ...
del AIDefault.ai
echo rem File generated by %USERNAME% with the Bot changer >> AIDefault.ai
echo aiSettings.setNSides 2 >> AIDefault.ai
echo aiSettings.setAutoSpawnBots 1 >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.overrideMenuSettings 1 >> AIDefault.ai
echo aiSettings.setMaxNBots %botcount% >> AIDefault.ai
echo aiSettings.maxBotsIncludeHumans 0 >> AIDefault.ai
echo aiSettings.setBotSkill %botskill% >> AIDefault.ai
echo. >> AIDefault.ai
echo run BotNames.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.setInformationGridDimension 32 >> AIDefault.ai
echo. >> AIDefault.ai
echo run AIPathFinding.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo rem EOF >> AIDefault.ai
echo.
echo 更改完成 !
pause
上面的复制下来,保存为.bat的文件,放入X-BF2-mods-你需要修改MOD的文件夹下,双击运行,按提示填入数字即可
title 战地2 BOT 修改
rem Get to the right spot to insert the AI file
cd AI
rem Preload the two variables
set botcount=
set botskill=
rem Attendez le demmarage du progarmme ...
echo 按'Enter'确认
echo.
set /p botcount=你想要多少BOT (如果你想64个BOT,请输入 63) ?
echo.
set /p botskill=BOT的难度是: (最简单 0.1 —— 1.0 最难)
echo.
echo 请等待, 更改文件中 ...
del AIDefault.ai
echo rem File generated by %USERNAME% with the Bot changer >> AIDefault.ai
echo aiSettings.setNSides 2 >> AIDefault.ai
echo aiSettings.setAutoSpawnBots 1 >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.overrideMenuSettings 1 >> AIDefault.ai
echo aiSettings.setMaxNBots %botcount% >> AIDefault.ai
echo aiSettings.maxBotsIncludeHumans 0 >> AIDefault.ai
echo aiSettings.setBotSkill %botskill% >> AIDefault.ai
echo. >> AIDefault.ai
echo run BotNames.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo aiSettings.setInformationGridDimension 32 >> AIDefault.ai
echo. >> AIDefault.ai
echo run AIPathFinding.ai >> AIDefault.ai
echo. >> AIDefault.ai
echo rem EOF >> AIDefault.ai
echo.
echo 更改完成 !
pause
上面的复制下来,保存为.bat的文件,放入X-BF2-mods-你需要修改MOD的文件夹下,双击运行,按提示填入数字即可