【教程】【红警2】AI强化 电脑多造兵营 、空指部等生产类建筑教程

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【教程】【红警2】AI强化电脑多造兵营、空指部等生产类建筑教程

By meiyousuowei

我看没有人发过类似的教程,就自己写了一个。如有雷同,纯属巧合。

本人手打的,言语切词若有不当,敬请谅解。

这个教程是教大家,如何在只修改rule.ini(rulemd.ini)和ai.ini(aimd.ini)的情况下,

实现电脑AI多造【生产类建筑】——兵营、战车工厂、空指部、造船厂,

电脑在数个【生产类建筑】的情况下,会同时生产多个战斗单位,从而某程度上提升电脑的战斗力和基地的丰富性。

必备的工具:XCC Mixer、记事本(呵呵)

准备工作:

用XCC Mixer提取rule.ini(rulemd.ini)i和ai.ini(aimd.ini),

提取路径为:rad2.mix(rad2md.mix)--local.mix(localmd.mix)--rule.ini(rulemd.ini)和ai.ini(aimd.ini)

PS:括号中带“md”的为尤里的复仇

很多人认为:只需修改rule.ini(rulemd.ini)里面的[AI],就可以实现电脑多造【生产类建筑】。

其实不然,我们先来看看[AI]小结的部分内容:

AttackInterval=0.5 ; average delay between computer attacks ; gs obsolete (since forever) use TeamDelays instead

AttackDelay=0.5 ; average delay time before computer begins first attack

PatrolScan=.016 ; minute interval between scanning for enemys while patrolling.

CreditReserve=100 ; Structure repair will not begin if available cash falls below this amount.

PathDelay=.01 ; Delay (minutes) between retrying when path is blocked.

BlockagePathDelay=60 ; delay (frames) before unit paths around all blockage

AutocreateTime=1 ; average minutes between creating an 'autocreate' team

InfantryReserve=50000 ; always build infantry if cash reserve is greater than this

InfantryBaseMult=1 ; build infantry if building count times this number is less than current infantry quantity

PowerSurplus=50 ; build power plants until power surplus is at least

this amount

BaseSizeAdd=3 ; computer base size can be no larger than the largest human opponent, plus this quantity

RefineryRatio=.16 ; ratio of base that should be composed of refineries RefineryLimit=4 ; never build more than this many refineries BarracksRatio=.16 ; ratio of base that should be composed of barracks BarracksLimit=2 ; never build more than this many barracks WarRatio=.1 ; ratio of base that should be composed of war factories

WarLimit=2 ; never build more than this many war factories DefenseRatio=.4 ; ratio of base that should be defensive structures DefenseLimit=40 ; maximum number of defensive buildings to build AARatio=.14 ; ratio of base that should be anti-aircraft defense

AALimit=10 ; maximum number of anti-aircraft buildings to build

TeslaRatio=.16 ; ratio of base that should be telsa coils TeslaLimit=10 ; maximum number of tesla coils to build HelipadRatio=.1 ; ratio of base that should be composed of helipads HelipadLimit=2 ; maximum number of helipads to build AirstripRatio=.12 ; ratio of base that should be composed of airstrips AirstripLimit=0 ; maximum number of airstrips to build CompEasyBonus=no ; When more than one human in game, computer player goes to "easy" mode?

Paranoid=yes ; Will computer players ally with each other if the situation looks bleak?

PowerEmergency=75% ; sell buildings to raise power level if it falls below this percentage

AIBaseSpacing=1 ; spacing between buildings when AI is building a base

举个例子,如果想让电脑多造兵营,大家就会去修改“BarracksRatio=”和“BarracksLimit=”,

但是修改完之后会发现,无论等号后面填入多大的数值,电脑还是无动于衷,只造1个兵营。

所以,以上这个方法我们必须摒弃。

下面,我将介绍我的方法。

方法分为两大类 (以下所有MCV指的是基地,即价值3000的建造厂):

单MCV,多【生产类建筑】和多MCV,多【生产类建筑】

相关文档
最新文档