准备好CommandButton.ini SpecialPower.ini CommandSet.ini Science.ini FactionBuilding.ini
这五个文件
首先,在CommandButton.ini中加入以下内容
[color=red] CommandButton Command_PurchaseScienceCarpetBomb
Command = PURCHASE_SCIENCE
Science = SCIENCE_CarpetBomb
ButtonImage = SSCarpetBomb
ButtonBorderType = UPGRADE
End[/color]
然后打开SpecialPower.ini
找到SpecialPower SuperweaponCarpetBomb这一行,添加 RequiredScience = SCIENCE_CarpetBomb
打开CommandSet.ini
找到CommandSet ChinaAirfieldCommandSet加入这一句 3 = Command_CarpetBomb (中国机场命令设置,地毯轰炸在机场进行部署)
再找 CommandSet SCIENCE_CHINA_CommandSetRank3 (等级3将军技能)加入 2 = Command_PurchaseScienceCarpetBomb
接着开Science.ini
查找 Science SCIENCE_CarpetBomb 将 PrerequisiteSciences = 后的NONE改为 [color=red]SCIENCE_CHINA SCIENCE_Rank3
“SciencePurchasePointCost = 0[/color] “将0改为1
最后打开FactionBuilding.ini
找到中国机场 Object ChinaAirfield
插入以下内容
[color=red]Behavior = OCLSpecialPower ModuleTag_19
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End [/color]
将军的INI文件比起RA2可真是繁的多
