有夥伴不知道這個AIX2 Reality4.5模組的人數爲什麽調了ai文件夾中的aidefault.ai文件后人數不生效,要麽就是對面只有24個,我們這邊多得多,
這個原因很簡單,因爲這個模組的每張地圖裏面,作者爲了測試的平衡性,當時寫了些代碼進去,下面這個圖是作者當時在moddb發佈模組的時候在summary頁面寫下的如何更改人數限制的方法:
懶得自己翻譯了,機翻的情況是這樣的:
确切地说,如何更改地图上的机器人数量?
-首先,如果你想按设计播放地图,你需要使用默认的嵌入式设置。更改它可能会破坏游戏性-在每个地图上进行数百次测试后进行调整。你真正能改变的是票号,因为在CP capture中添加了票号丢失后,它需要一些修正。
但是,如果你真的需要改变机器人的数量(你想学习地图/战术,或者这对你来说太难),那么AIX2 Reality有两种方法来调整机器人的比例。
默认情况下,AIDFultAAI中定义的BOT的最大数量为58:AISETTIN .SETMAXNBOTS 58
有些地图将其作为机器人程序的默认数目,使用这种方式的标志是in it*.con中缺少ai.*字符串。
但是,如果你真的需要改变机器人的数值,那这里有两个方法去调整AIX2 Reality 的机器人参数
The maximum number of bots defined in aidefault.ai - it is 58 by default: aiSettings.setMaxNBots 58
Some maps is it as the default number of bots, the signs of using this way is the missing ai.* strings in Init*.con.
So, lets take a look at Dragon Valley 64:
sv.coopBotCount 22
sv.coopBotDifficulty 80
sv.teamRatioPercent 100
sv.coopBotRatio 100
Then it means that the first team (ch) will have 22 bots, and the second (nl) will have 58-22=36 bots. Very simple.
Another example, Dalian Plant 16.
We don't need whole bunch of 58 bots on such small map, so we need to redefine the maxi