教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx

上传人:b****3 文档编号:13853848 上传时间:2022-10-14 格式:DOCX 页数:8 大小:20.07KB
下载 相关 举报
教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx_第1页
第1页 / 共8页
教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx_第2页
第2页 / 共8页
教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx_第3页
第3页 / 共8页
教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx_第4页
第4页 / 共8页
教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx_第5页
第5页 / 共8页
点击查看更多>>
下载资源
资源描述

教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx

《教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx》由会员分享,可在线阅读,更多相关《教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx(8页珍藏版)》请在冰豆网上搜索。

教程红警AI强化电脑多造兵营空指部等生产类建筑教程BymeiyousuoweiWord下载.docx

准备工作:

用XCCMixer提取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 

 

;

averagedelaybetweencomputerattacks;

gsobsolete(sinceforever)useTeamDelaysinstead

AttackDelay=0.5 

averagedelaytimebeforecomputerbeginsfirstattack

PatrolScan=.016 

minuteintervalbetweenscanningforenemyswhilepatrolling.

CreditReserve=100 

;

Structurerepairwillnotbeginifavailablecashfallsbelowthisamount.

PathDelay=.01 

Delay(minutes)betweenretryingwhenpathisblocked.

BlockagePathDelay=60 

delay(frames)beforeunitpathsaroundallblockage

AutocreateTime=1 

averageminutesbetweencreatingan'

autocreate'

team

InfantryReserve=50000 

alwaysbuildinfantryifcashreserveisgreaterthanthis

InfantryBaseMult=1 

buildinfantryifbuildingcounttimesthisnumberislessthancurrentinfantryquantity

PowerSurplus=50 

buildpowerplantsuntilpowersurplusisatleastthisamount

BaseSizeAdd=3 

computerbasesizecanbenolargerthanthelargesthumanopponent,plusthisquantity

RefineryRatio=.16 

ratioofbasethatshouldbecomposedofrefineries

RefineryLimit=4 

neverbuildmorethanthismanyrefineries

BarracksRatio=.16 

ratioofbasethatshouldbecomposedofbarracks

BarracksLimit=2 

neverbuildmorethanthismanybarracks

WarRatio=.1 

ratioofbasethatshouldbecomposedofwarfactories

WarLimit=2 

neverbuildmorethanthismanywarfactories

DefenseRatio=.4 

ratioofbasethatshouldbedefensivestructures

DefenseLimit=40 

maximumnumberofdefensivebuildingstobuild

AARatio=.14 

ratioofbasethatshouldbeanti-aircraftdefense

AALimit=10 

maximumnumberofanti-aircraftbuildingstobuild

TeslaRatio=.16 

ratioofbasethatshouldbetelsacoils

TeslaLimit=10 

maximumnumberofteslacoilstobuild

HelipadRatio=.1 

ratioofbasethatshouldbecomposedofhelipads

HelipadLimit=2 

maximumnumberofhelipadstobuild

AirstripRatio=.12 

ratioofbasethatshouldbecomposedofairstrips

AirstripLimit=0 

maximumnumberofairstripstobuild

CompEasyBonus=no 

Whenmorethanonehumaningame,computerplayergoesto"

easy"

mode?

Paranoid=yes 

Willcomputerplayersallywitheachotherifthesituationlooksbleak?

PowerEmergency=75% 

sellbuildingstoraisepowerlevelifitfallsbelowthispercentage

AIBaseSpacing=1 

spacingbetweenbuildingswhenAIisbuildingabase

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

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

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

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

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

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

多MCV,多【生产类建筑】

A.单MCV,多【生产类建筑】

本帖隐藏的内容

以盟军兵营(GAPILE)为例子,假设我想让电脑一共造3个GAPILE,

也就是说,在原来的基础上要增加2个。

我所用到的方法是“新增单位”。

也就是说,创造出2个和GAPILE一模一样的建筑。

将他们分别命名代码为“GAPILE1”“GAPILE2”。

以尤里的复仇为例:

第一步,注册。

打开rulemd.ini,找到[BuildingTypes],即游戏中所有建筑的注册栏,

在[BuildingTypes]最下方注册这2个新盟军兵营的代码。

即:

395=CALA11

396=CALA12

397=CALA13

398=CAPARK04

399=CAPARK05

400=CAPARK06

401=CALA14

402=CALA15

403=CABUNK03

404=CABUNK04

405=CALUNR01

406=CALUNR02

407=GAPILE1

408=GAPILE2

第二步,调整AI。

找到[AI],在“BuildBarracks=”后面加上2个新盟军兵营,即:

BuildConst=GACNST,NACNST,YACNST

BuildPower=NAPOWR,GAPOWR,YAPOWR;

DBNANRCT;

gsNAAPWR 

buildingstobuildtogeneratepower

BuildRefinery=NAREFN,GAREFN,YAREFN;

gs 

refineryratiobasedonthesebuildings

BuildBarracks=NAHAND,GAPILE,YABRCK,GAPILE1,GAPILE2 

barracksratiobasedonthesebuildings

第三步,创建新单位。

找到[GAPILE],复制全部代码,在下方粘贴2份,分别改名为[GAPILE1]和[GAPILE2],

修改TechLevel数值为-1,把Cost弄便宜些,并各增加一行代码“Image=GAPILE”。

也就是说,要造的新单位想跟谁长得一摸一样,就加入“Image=XXX”就可以了。

[GAPILE1]

UIName=Name:

GAPILE

Name=AlliedBarracks;

needsdifferentGivenNametoavoideditorconfusion

BuildCat=Tech

Image=GAPILE

Prerequisite=POWER,GACNST

Strength=500

Armor=steel

Factory=InfantryType

Adjacent=2

TechLevel=-1

Sight=5

Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry

AIBasePlanningSide=0;

gs0forGood,1forEvil

Cost=1

Points=30

Power=-1

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 数学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1