关于玩家等级
玩家可以通过杀死 NPC 或动物来获得经验值并升级。随着等级的提高,他们会获得一定的伤害减免加成。可设置挂机多长时间获取多少经验值和配置不同击杀获得经验值
/SetLevel 玩家名称 等级
ConfigFIle:
{ "EXP gained when killing an object (Key is entity.ShortPrefabName)": { "chicken": 10, "stag": 50, "boar": 100, "wolf": 250, "bear": 200, "polarbear": 250, "simpleshark": 600, "scientist_junkpile_pistol": 300, "npc_tunneldweller": 300, "npc_tunneldwellerspawned": 300, "npc_underwaterdweller": 300, "scientistnpc_heavy": 400, "scientistnpc_roam_nvg_variant": 400, "bradleyapc": 3000, "patrolhelicopter": 3000, "OTHER_SCIENTIST_NPC": 300 }, "EXP required to level up for each level": { "1": { "Exp": 100, "DamageReductionRate": 1.0 }, "2": { "Exp": 200, "DamageReductionRate": 2.0 }, "3": { "Exp": 300, "DamageReductionRate": 3.0 }, "4": { "Exp": 400, "DamageReductionRate": 4.0 }, "5": { "Exp": 600, "DamageReductionRate": 5.0 }, "6": { "Exp": 900, "DamageReductionRate": 6.0 }, "7": { "Exp": 1200, "DamageReductionRate": 7.0 }, "8": { "Exp": 1700, "DamageReductionRate": 8.0 }, "9": { "Exp": 2500, "DamageReductionRate": 9.0 }, "10": { "Exp": 6000, "DamageReductionRate": 10.0 }, "11": { "Exp": 8000, "DamageReductionRate": 11.0 }, "12": { "Exp": 10000, "DamageReductionRate": 12.0 }, "13": { "Exp": 15000, "DamageReductionRate": 13.0 }, "14": { "Exp": 30000, "DamageReductionRate": 14.0 }, "15": { "Exp": 40000, "DamageReductionRate": 15.0 }, "16": { "Exp": 50000, "DamageReductionRate": 16.0 }, "17": { "Exp": 70000, "DamageReductionRate": 17.0 }, "18": { "Exp": 100000, "DamageReductionRate": 18.0 }, "19": { "Exp": 120000, "DamageReductionRate": 19.0 }, "20": { "Exp": 140000, "DamageReductionRate": 20.0 }, "21": { "Exp": 250000, "DamageReductionRate": 21.0 }, "22": { "Exp": 300000, "DamageReductionRate": 22.0 }, "23": { "Exp": 350000, "DamageReductionRate": 23.0 }, "24": { "Exp": 400000, "DamageReductionRate": 24.0 }, "25": { "Exp": 500000, "DamageReductionRate": 25.0 }, "26": { "Exp": 700000, "DamageReductionRate": 26.0 }, "27": { "Exp": 1000000, "DamageReductionRate": 27.0 }, "28": { "Exp": 1400000, "DamageReductionRate": 28.0 }, "29": { "Exp": 1800000, "DamageReductionRate": 29.0 }, "30": { "Exp": 2000000, "DamageReductionRate": 30.0 }, "31": { "Exp": 2400000, "DamageReductionRate": 31.0 }, "32": { "Exp": 2800000, "DamageReductionRate": 32.0 }, "33": { "Exp": 3200000, "DamageReductionRate": 33.0 }, "34": { "Exp": 3600000, "DamageReductionRate": 34.0 }, "35": { "Exp": 4000000, "DamageReductionRate": 35.0 }, "36": { "Exp": 4800000, "DamageReductionRate": 36.0 }, "37": { "Exp": 5600000, "DamageReductionRate": 37.0 }, "38": { "Exp": 8200000, "DamageReductionRate": 38.0 }, "39": { "Exp": 9000000, "DamageReductionRate": 39.0 } }, "Online Exp": 300, "Online Exp Seconds": 600, "Chat Prefix": "[Level]:", "Chat Prefix color": "#00FFFF", "Chat steamID icon": 0 }
LanguageFile:
{ "PlayerLevel": "Lv. {0}", "GetExpByrustAI": "You killed {0} and gained {1} experience points", "GetExpByOnline": "You gained {0} experience points (Server online reward every {1} minutes)", "DamageReduction": "Damage Reduction {0}%", "BroadcastUpLevel": "Congratulations <color=green>{0}</color> for leveling up to <color=red>{1}</color>", "LevelNotFound": "You need to specify the level to set", "CommandArgsError": "The command format you entered is incorrect, missing parameters or the parameter format is wrong.", "AdminOnlyCommand": "Only administrators can execute this command!" }