在descr_hero_abilities.xml 文件中找到你想修改的英雄技,以狮心王为例子,就是:
</hero_ability>
<hero_ability>
<name>The_Heart_of_the_Lion</name>
<duration>0</duration>
<normal_tooltip_label>EMT_THE_HEART_OF_THE_LION_NORMAL</normal_tooltip_label>
<disabled_tooltip_label>EMT_THE_HEART_OF_THE_LION_DISABLED</disabled_tooltip_label>
<normal_sprite>HERO_ABILITY_THE_HEART_OF_THE_LION_BUTTON_IMAGE</normal_sprite>
<selected_sprite>HERO_ABILITY_THE_HEART_OF_THE_LION_BUTTON_IMAGE</selected_sprite>
<disabled_sprite>HERO_ABILITY_THE_HEART_OF_THE_LION_BUTTON_IMAGE_DISABLED</disabled_sprite>
<sound_effect>The_Heart_of_the_Lion</sound_effect>
<hero_ability_effects>
<hero_ability_effect>
<name>rally_units</name>
<target>own_army</target>
<morale_level>firm</morale_level>
<min_time_before_rout>15</min_time_before_rout>
</hero_ability_effect>
</hero_ability_effects>
这里是没有使用次数的,所以就是默认的一次,那么我们添加一个使用的次数如下(红色文字部分):
</hero_ability>
<hero_ability>
<name>The_Heart_of_the_Lion</name>
<duration>0</duration>
<activations>99</activations>
<normal_tooltip_label>EMT_THE_HEART_OF_THE_LION_NORMAL</normal_tooltip_label>
<disabled_tooltip_label>EMT_THE_HEART_OF_THE_LION_DISABLED</disabled_tooltip_label>
<normal_sprite>HERO_ABILITY_THE_HEART_OF_THE_LION_BUTTON_IMAGE</normal_sprite>
<selected_sprite>HERO_ABILITY_THE_HEART_OF_THE_LION_BUTTON_IMAGE</selected_sprite>
<disabled_sprite>HERO_ABILITY_THE_HEART_OF_THE_LION_BUTTON_IMAGE_DISABLED</disabled_sprite>
<sound_effect>The_Heart_of_the_Lion</sound_effect>
<hero_ability_effects>
<hero_ability_effect>
<name>rally_units</name>
<target>own_army</target>
<morale_level>firm</morale_level>
<min_time_before_rout>15</min_time_before_rout>
</hero_ability_effect>
</hero_ability_effects>
保存,退出!修改完成!进游戏爽吧!!![开心] [开心] [开心]
另外每个英雄出现的地点、初始部队、经验值、盔甲等级等等也都可以改,修改campaign_script.txt文件就可以了。
作者:aazj /游侠会员
更多相关内容请关注:中世纪2:全面战争专区