最端手游网唯一官网:www.zuiduan.net

本站App下载  |  

首页 > 游戏资讯 > 单机游戏

魔戒中土大战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


这样就可以了,注意第一步一定要把所有兵种类型的代码一一添加上,不然会发现有些兵种可以升级,有些不会变,切记!

另外声明一点:方法是以前某些大大的,我只是把它整理出来了,因为见很多新手朋友都不懂得改,也没人写教程,所以把自己整理的一些东西贴出来给大家看看,希望大家喜欢~
 

 


玩游戏可以在很大程度上让大家放松放松,但是我建议大家不要把过多的时间投入到工作当中,因为这样的话大家很有可能上瘾,这样不利于大家的工作或者是学习。

推荐游戏

换一换