编辑:admin 时间:2012-02-27 14:19:44 来源:魂狼
游侠会员:gongjie123<原创>
怎样通过修改提高士兵等级(这个方法原版有效,资料片应该也是可以的,但是要注意把资料片里的兵种也加进去才行,下面的代码是只能升到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
这样就可以了,注意第一步一定要把所有兵种类型的代码一一添加上,不然会发现有些兵种可以升级,有些不会变,切记!
另外声明一点:方法是以前某些大大的,我只是把它整理出来了,因为见很多新手朋友都不懂得改,也没人写教程,所以把自己整理的一些东西贴出来给大家看看,希望大家喜欢~
集美来了最新版是一款好玩的恋爱养成手机游戏,玩家可以在游戏中体验二次元养成装扮,在集美来了最新版中给角色进行打扮,成为别人眼里的美女,玩家需要培养角色更多的
辐射2完美移植版是一款好玩的角色扮演类手机游戏,辐射2完美移植版可以重温这款游戏的魅力,并且对手机上的操作进行了优化,让你可以更加方便的用触屏来控制光标。游戏
不知道火影忍者有什么好玩的游戏吗?那么你可以来试试忍者训练师破解版,这个游戏非常的有趣,还可以体验到刺激的战斗玩法哦。忍者训练师破解版是一个火影忍者题材的含糊版游戏,通过不同的能力和等级产生影
瑞克和莫蒂回家之路免费版是一款好玩的角色扮演类手机游戏,玩家在这里扮演的莫蒂,可以遇到动画作品中出现过的许多角色,并且可以和瑞克进行一段神奇的冒险之旅。作为
奔跑吧兄弟5跑男小镇破解版是一款好玩的休闲益智类手机游戏,根据奔跑吧兄弟改编,玩家可以在跑男小镇进行奔跑,玩家还可以在游戏中进行撕名牌,玩家可以在游戏中提升人