《战地2142》BOT修改 - 单机游戏秘籍 - 齐云社区!
热门搜索:
您的位置 :
浏览次数:533840 次
更新时间: 19:05:34
所属专题:&
记事本打开D:\Battlefield 2142\mods\bf2142\AI\AIDefault.ai
echo *****************************************************************************************
echo AIDefault.ai ****************************************************************************
echo *****************************************************************************************
aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1
aiSettings.setMaxNAutoControllers 64
aiSettings.maxBotsIncludeHumans 1
aiSettings.setMaxNBots 64(这里就是最大数量下面还有一个)
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
begin&===================这里
aiSettings.overrideMenuSettings 1
aiSettings.maxBotsIncludeHumans 0
aiSettings.setMaxNBots 64&======这里
aiSettings.setBotSkill 1.0
end&===================这里
run BotNames.ai
aiSettings.setInformationGridDimension 32
aiSettings.setDiscoverCloakedEnemiesDistance 3.0
run AIPathFinding.ai
run AutoControllers.ai
rem EOF
【】【】【】
【】【】【】微信:doyo_game
兵力值为0的解决方法
理论解决方法。不行的还是看置顶。
找到…Battlefield 2142modsbf2142pythongamegamemodes 文件夹里的gpm_sp
用记事本打开 找到
def calcStartTickets(mapDefaultTickets):
return int(mapDefaultTickets * (bf2.serverSettings.getTicketRatio() / 100.0))
将括号里的100修改
例如我的改为了
def calcStartTickets(mapDefaultTickets):
return int(mapDefaultTickets * (bf2.serverSettings.getTicketRatio() / 30.0))
出来的兵力值就是666
记得之前一定保留个原始文件存档 至于修改数值的大小和BF2一样的
100 =200 兵力值 500 =22 兵力值 10 =2000 兵力值 1 =9999 兵力值
/article/64205
阅读本文后,您的心情是:(选择后可查看结果)
今日关注游戏