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