魔戒中土大战2-提高士兵等级
作者:佚名 来源:本站 时间:2023-08-24 点击:次
怎样通过修改提高士兵等级(这个方法原版有效,资料片应该也是可以的,但是要注意把资料片里的兵种也加进去才行,下面的代码是只能升到10级的,如果想升到更高级的话请自己添加)
1.修改experiencelevels.ini文件。打开experiencelevels.ini,找到每个兵种的等级代码。下面具体说说怎么操作。首先查找第一个兵种类型的等级代码:ExperienceLevel EvilWeakLevel5(打开experiencelevels.ini后用查找功能)开头的这一段,然后把下面的代码复制进去:
ExperienceLevel EvilWeakLevel6
TargetNames = EVIL_WEAK ; defined at top of file
RequiredExperience = EXPERIENCE_REQUIRED_GENERAL_6
ExperienceAward = EXPERIENCE_AWARD_GENERAL_6
InformUpdateModule = Yes
AttributeModifiers = GeneralBonusRank6
ExperienceAwardOwnGuysDie = 0
ShowLevelUpTint = Yes
Rank = 6
LevelUpFx = FX:GenericLevelUp4FX
LevelUpTintColor = R:255 G:255 B:255
LevelUpTintPreColorTime = 500
LevelUpTintPostColorTime = 3000
LevelUpTintSustainColorTime = 500
EmotionType = CHEER
SelectionDecal
Texture = decal_I_level4
Texture2 = decal_evil_CO
Style = SHADOW_MERGE_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = HORDE_DECAL_MIN_RADIUS
MaxRadius = 200
MaxSelectedUnits = 40
End
END
ExperienceLevel EvilWeakLevel7
TargetNames = EVIL_WEAK ; defined at top of file
RequiredExperience = EXPERIENCE_REQUIRED_GENERAL_7
ExperienceAward = EXPERIENCE_AWARD_GENERAL_7
InformUpdateModule = Yes
AttributeModifiers = GeneralBonusRank7
ExperienceAwardOwnGuysDie = 0
ShowLevelUpTint = Yes
Rank = 7
LevelUpFx = FX:GenericLevelUp4FX
LevelUpTintColor = R:255 G:255 B:255
LevelUpTintPreColorTime = 500
LevelUpTintPostColorTime = 3000
LevelUpTintSustainColorTime = 500
EmotionType = CHEER
SelectionDecal
Texture = decal_I_level4
Texture2 = decal_evil_CO
Style = SHADOW_MERGE_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = HORDE_DECAL_MIN_RADIUS
MaxRadius = 200
MaxSelectedUnits = 40
End
END
ExperienceLevel EvilWeakLevel8
TargetNames = EVIL_WEAK ; defined at top of file
RequiredExperience = EXPERIENCE_REQUIRED_GENERAL_8
ExperienceAward = EXPERIENCE_AWARD_GENERAL_8
InformUpdateModule = Yes
AttributeModifiers = GeneralBonusRank8
ExperienceAwardOwnGuysDie = 0
ShowLevelUpTint = Yes
Rank = 8
LevelUpFx = FX:GenericLevelUp4FX
LevelUpTintColor = R:255 G:255 B:255
LevelUpTintPreColorTime = 500
LevelUpTintPostColorTime = 3000
LevelUpTintSustainColorTime = 500
EmotionType = CHEER
SelectionDecal
Texture = decal_I_level4
Texture2 = decal_evil_CO
Style = SHADOW_MERGE_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = HORDE_DECAL_MIN_RADIUS
MaxRadius = 200
MaxSelectedUnits = 40
End
END
ExperienceLevel EvilWeakLevel9
TargetNames = EVIL_WEAK ; defined at top of file
RequiredExperience = EXPERIENCE_REQUIRED_GENERAL_9
ExperienceAward = EXPERIENCE_AWARD_GENERAL_9
InformUpdateModule = Yes
AttributeModifiers = GeneralBonusRank9
ExperienceAwardOwnGuysDie = 0
ShowLevelUpTint = Yes
Rank = 9
LevelUpFx = FX:GenericLevelUp4FX
LevelUpTintColor = R:255 G:255 B:255
LevelUpTintPreColorTime = 500
LevelUpTintPostColorTime = 3000
LevelUpTintSustainColorTime = 500
EmotionType = CHEER
SelectionDecal
Texture = decal_I_level4
Texture2 = decal_evil_CO
Style = SHADOW_MERGE_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = HORDE_DECAL_MIN_RADIUS
MaxRadius = 200
MaxSelectedUnits = 40
End
END
ExperienceLevel EvilWeakLevel10
TargetNames = EVIL_WEAK ; defined at top of file
RequiredExperience = EXPERIENCE_REQUIRED_GENERAL_10
ExperienceAward = EXPERIENCE_AWARD_GENERAL_10
InformUpdateModule = Yes
AttributeModifiers = GeneralBonusRank10
ExperienceAwardOwnGuysDie = 0
ShowLevelUpTint = Yes
Rank = 10
LevelUpFx = FX:GenericLevelUp4FX
LevelUpTintColor = R:255 G:255 B:255
LevelUpTintPreColorTime = 500
LevelUpTintPostColorTime = 3000
LevelUpTintSustainColorTime = 500
EmotionType = CHEER
SelectionDecal
Texture = decal_I_level4
Texture2 = decal_evil_CO
Style = SHADOW_MERGE_DECAL
OpacityMin = 80%
OpacityMax = 100%
MinRadius = HORDE_DECAL_MIN_RADIUS
MaxRadius = 200
MaxSelectedUnits = 40
End
END
其它的还有很多类似的兵种类型,请自己添加相应代码.(其实就是改一下后面的数字就可以了)
2.修改gamedata.ini文件。打开gamedata.ini文件,把下面的这一段代码放在最前面或最后面都可以。
//----------------------------------Level 6-10---------------------------------------
#define EXPERIENCE_REQUIRED_GENERAL_6 500
#define EXPERIENCE_REQUIRED_GENERAL_7 700
#define EXPERIENCE_REQUIRED_GENERAL_8 900
#define EXPERIENCE_REQUIRED_GENERAL_9 1000
#define EXPERIENCE_REQUIRED_GENERAL_10 1200
#define EXPERIENCE_AWARD_GENERAL_6 10
#define EXPERIENCE_AWARD_GENERAL_7 11
#define EXPERIENCE_AWARD_GENERAL_8 12
#define EXPERIENCE_AWARD_GENERAL_9 13
#define EXPERIENCE_AWARD_GENERAL_10 14
#define GENERAL_DAMAGE_ADD_LVL6 10
#define GENERAL_DAMAGE_ADD_LVL7 20
#define GENERAL_DAMAGE_ADD_LVL8 30
#define GENERAL_DAMAGE_ADD_LVL9 40
#define GENERAL_DAMAGE_ADD_LVL10 50
#define GENERAL_HP_ADD_LVL6 120
#define GENERAL_HP_ADD_LVL7 240
#define GENERAL_HP_ADD_LVL9 480
#define GENERAL_HP_ADD_LVL10 960
//---------------------------------------------------------------------
3.修改attributemodifier.ini文件。打开attributemodifier.ini文件,在最后加入下面的代码:
//---------------------------------Level 6-10-----------------------------------------
ModifierList GeneralBonusRank6
Category = LEVEL
Modifier = HEALTH GENERAL_HP_ADD_LVL6
Modifier = DAMAGE_ADD GENERAL_DAMAGE_ADD_LVL6
Modifier = RESIST_KNOCKBACK 7%
Modifier = ARMOR 7%
Modifier = RECHARGE_TIME 80%
Duration = 0
End
ModifierList GeneralBonusRank7
Category = LEVEL
Modifier = HEALTH GENERAL_HP_ADD_LVL7
Modifier = DAMAGE_ADD GENERAL_DAMAGE_ADD_LVL7
Modifier = RESIST_KNOCKBACK 14%
Modifier = ARMOR 14%
Modifier = RECHARGE_TIME 60%
Duration = 0
End
ModifierList GeneralBonusRank8
Category = LEVEL
Modifier = HEALTH GENERAL_HP_ADD_LVL8
Modifier = DAMAGE_ADD GENERAL_DAMAGE_ADD_LVL8
Modifier = RESIST_KNOCKBACK 21%
Modifier = ARMOR 21%
Modifier = RECHARGE_TIME 40%
Duration = 0
End
ModifierList GeneralBonusRank9
Category = LEVEL
Modifier = HEALTH GENERAL_HP_ADD_LVL9
Modifier = DAMAGE_ADD GENERAL_DAMAGE_ADD_LVL9
Modifier = RESIST_KNOCKBACK 28%
Modifier = ARMOR 28%
Modifier = RECHARGE_TIME 20%
Duration = 0
End
ModifierList GeneralBonusRank10
Category = LEVEL
Modifier = HEALTH GENERAL_HP_ADD_LVL10
Modifier = DAMAGE_ADD GENERAL_DAMAGE_ADD_LVL10
Modifier = RESIST_KNOCKBACK 35%
Modifier = ARMOR 35%
Modifier = RECHARGE_TIME 10%
Duration = 0
End
这样就可以了,注意第一步一定要把所有兵种类型的代码一一添加上,不然会发现有些兵种可以升级,有些不会变,切记!
另外声明一点:方法是以前某些大大的,我只是把它整理出来了,因为见很多新手朋友都不懂得改,也没人写教程,所以把自己整理的一些东西贴出来给大家看看,希望大家喜欢~
- 上一篇: 哥特王朝3 主线体会
- 下一篇: 哥特王朝3 怪物全介绍
相关阅读
更多资讯
热门文章
推荐游戏
换一换- 超级红包群红包版-超级红包群游戏下载v1.00领红包版
- 关羽英杰传游戏-关羽英杰传手游下载v3.3.2安卓版
- 封神之战送千元红包版-封神之战免费送红包版提供下载v1.1送红包版
- 圣境之塔卡巴拉游戏-圣境之塔卡巴拉手游下载v1.11.22050701最新版
- 美食大百科红包版-美食大百科赚钱游戏提供下载v2.7.5正版
- Construction Simulator 3破解版-Construction Simulator 3内置修改器下载v1.2修改版
- 修罗王送两万充值卡版-修罗王送两万真充版v2.97送20000真充版
- 赶海王破解版无限爱心-赶海王破解版无限钻石下载v1.10.0去广告版
- 魔法欢乐消除红包版(暂未上线)-魔法欢乐消除游戏预约v1.0领红包版
- 人气排行