魔戒中土大战2-提高士兵等级
作者:佚名 来源:本站 时间:2023-01-08 点击:次
怎样通过修改提高士兵等级(这个方法原版有效,资料片应该也是可以的,但是要注意把资料片里的兵种也加进去才行,下面的代码是只能升到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 怪物全介绍
相关阅读
- 魂斗罗归来手游提前预约兑好礼活动_魂斗罗归来手游提前预约兑好礼活动福利内容
- 和平精英惊喜瓶活动怎么参加_和平精英许愿瓶打捞活动攻略
- VGAME高级点数收集副本需要多少战力_消零世界高级点数收集副本战力需求介绍
- 和平精英沙漠雄狮套装怎么获得_和平精英沙漠雄狮套装获得方法
- 元气骑士武器怎么镀金_元气骑士武器镀金方式技巧攻略
- VGAME十连抽和单抽哪个好_VGAME十连抽和单抽对比分析详解
- 和平精英超能勇士套装怎么获得_和平精英超能勇士套装获得方法
- VGAME无限循环BUG怎么回事_VGAME喝完饮料无限循环BUG原因分析攻略
- 元气骑士死亡笔记怎么获得_元气骑士死亡笔记获得方法
- 魂斗罗归来手游秋分好礼继续送活动_魂斗罗归来手游秋分好礼继续送活动福利内容