超级玩家
 
- 贡献度
- 37
- 金元
- 8119
- 积分
- 960
- 精华
- 0
- 注册时间
- 2009-8-28
|
6首先打开INI文件夹
一.修改英雄能力值:
打开要修改的自创英雄对应种族的.INC文件
例如:
西方英雄对应的文件是createaherosystemmenofthewest.inc
里面写了两个结构,分别对应两种西方英雄
如果我们要修改剑盾女神,那么找到Shield Maiden对应的子类SubClass // Shield Maiden
IconImage是图标
UsableFactions是种族
!!重要:SpendableAttributePoints是新建英雄的可分配点数!!原始是30点,要多少大家看着办吧
其他的Weapons什么的也可以改,不过改了可能和体形模型对不上号
!!重要:下面的Attribute项的4个字段:
Attribute
GroupName = CreateAHero_ArmorAttribute //这个标志是护甲
MinValueUpgrade = Upgrade_ArmorAttribute05 //该英雄初始能力为5
MaxValueUpgrade = Upgrade_ArmorAttribute17 //该英雄的该能力上限为17,只要我们修改成Upgrade_ArmorAttribute20就可以分配20点护甲
DefaultValueUpgrade = Upgrade_ArmorAttribute12//系统推荐护甲为12
End
其他几个属性同理可改
修改例子:
例如我们要加强自创剑盾女神的能力,可按如下步骤:
1.参照以前的精华帖子的INI修改办法
2.找到配置文件createaherosystemmenofthewest.inc,用文本编辑器打开
3.找到剑盾女神对应的SubClass // Shield Maiden
4.修改SpendableAttributePoints = 30 到你想要的点数,例如= 60
5.修改下面的所有的Attribute中的第二个字段MaxValueUpgrade到20
6.保存文件,关闭
7.进入游戏,创建或者修改你以前的自创剑盾女神,你会发现有60点能力点数可以加,而且各项能力都能加到20
二.把自创英雄改成在中默认出场
首先要打开INI文件夹的campaignscommon目录
在这里我们需要修改两个文件
一个是livingworldstartingunits.inc
在这里修改每个种族的可选出厂部队
例如要修改西方英雄只要找到// Men of the West starting armies对应的段
这里有四个部队分别是三个英雄Theoden,Aragorn,Boromir,还有一支普通部队
如果我要把Boromir部队修改自创英雄带领的部队只要:
LivingWorldPlayerArmy
Name = BoromirPlayerArmy
DisplayNameTag = LWA:MenHeroArmy
ArmyEntry
ThingTemplate = GondorBoromir
Quantity = 1
End
End
修改成:
LivingWorldPlayerArmy
Name = CreateAHeroPlayerArmy
DisplayNameTag = LWA:MenHeroArmy
ArmyEntry
ThingTemplate = CreateAHero
Quantity = 1
End
End
另一个要修改的文件是livingworlddefaultarmies.inc
在这里修改出场的默认设置:
同样找到// Men of the West对应的段
要把刚才修改的Boromir部队在这里也改成修改自创英雄带领的部队:
把Boromir对应的队伍改成如下:
SpawnArmy
ScriptingName = HeroArmy3
SpawnForTemplates = PlayerMen
HeroTemplateName = CreateAHero //这里原来是Boromir
PlayerArmy = CreateAHeroPlayerArmy //这里原来是BoromirPlayerArmy
Icon = HeroWitchKingIcon //这里是Boromir的头像,我换成了坏人老大的
Banner = BannerMen
End
自定义英雄的文件在datainiobjectcreateahero 文件夹
" createahero.ini " 是自定义英雄的文件
" createaheroaipowers.inc " 是自定义英雄的技能自动使用文件
" createaheroarmorupgrades.inc " 是自定义英雄的护甲文件
(不同的种族有不同的护甲值,至于英文,我在下面翻译)
“ createaheroattributemodifiers.inc ” 是自定义英雄的护甲属性文件
(最小值1,最大值209)
“ createaherodesign.inc ” 是自定义英雄的某些设置
(例如建造金额、攻击、技能指令)
“ createaheromodelconditionupgrades.inc ” 是自定义英雄的技能设置
(不同种族有不同的技能使用表)
“ createaheromodels.inc ” 是自定义英雄的技能动作设置
(不同种族使用技能有不同的动作)
" createaheropowers.inc " 自定义英雄的技能表
" createaheroremoveupgradeupgrades.inc " 自定义英雄的武器设置
(不同种族的所使用的武器表)
" createaherorespawn.inc " 自定义英雄复活和生命设置
" createaheroweaponupgrades.inc " 自定义英雄的武器
" createaherogamedata.inc " 自定义英雄的资料(跟 gamedata.ini 一样)
" createaherospecialpowers.ini " 自定义英雄的技能资料 (跟 specialpower.ini 一样)
" createaherosystemappearancebling.inc " 自定义英雄的外观设置
(准确就是装备,不同种族的装备设定)
" createaherosystemarcher.inc " 精灵的自定义英雄的资料设定
(有,属性点数,所属阵营,装备、武器、护甲等设定)
" createaherosystemattributes.inc " 自定义英雄属性值
" createaherosystemcorruptedman.inc " 邪恶人类的自定义英雄的资料设定
" createaherosystemdwarf.inc " 矮人的自定义英雄的资料设定
" createaherosystemmenofthewest.inc " 西方人类的自定义英雄的资料设定
" createaherosystemologhai.inc " 食人妖的自定义英雄的资料设定
" createaherosystemservantsofsauron.inc " 索伦的仆人的自定义英雄的资料设定
" createaherosystemweapons.inc " 自定义英雄的武器外观设定
" createaherosystemwizard.inc " 巫师的自定义英雄的资料设定 |
|