动态外观变化

动态外观变化

使NPC(及玩家)的头发和面部毛发生长/剃除,并让他们增重/减重或增加/减少肌肉。战斗受伤后还有几率留下疤痕。可自定义。

角色

Description: This mod makes NPC (and player) hair and beards grow / shave, and gain / lose weight/muscle. Also adds a chance to gain scars from combat injuries. Shaving does not consider the player, as the player can change / shave hairstyles by pressing V to go to the barbershop or via the custom menu. Can be enabled / disabled anytime during the game. Settings: (To change settings without exiting the game, just minimize the game, edit the config, save and reload the save file) Configuration file is located at ..\DynamicLooksChange\bin\Win64_Shipping_Client Configuration file name:  config.json (If configuration file is not found, it will be created with default settings (if some settings are missing in the file, they will be loaded as defaults) {   // Days between checks for changes.   // 1 = every day, 7 = once a week, etc.   "变更间隔天数": 1,   // Maximum number of heroes per interval check.   // Low → less CPU usage; High → more heroes see their appearance updated.   "英雄最大变更次数": 50,   // Chance of hair growing on a specific check.   "头发生长概率": 0.3,   // Age influence coefficient on hair growth chance. (Hair Growth Chance|Facial Hair Growth Chance - (Age * Age Growth Coefficient * Hair Growth Chance|Facial Hair Growth Chance))   "年龄增长": 0.01,   // Age influence coefficient on hair shave chance. (Shave Chance - (Age * Age Reduction Coefficient * Shave Chance))   "年龄减少": 0.01,   // Chance of hair being shaved on a specific check.   "剃发概率": 0.15,   // Chance of facial hair growing on a specific check.   "胡须生长概率": 0.25,   // (false - very short -> short -> medium -> etc.) (true - short -> medium, long, very long | medium -> long, very long, etc.)   "第二成长模式": false,   // (false - e.g., medium <- long <- very long) (true - short -> very short, none | medium -> short, very short, none, etc.)   "二次剃须模式": false,   // Base chance of gaining or losing body type (muscle).   "获得概率": 0.2,   "损失概率": 0.2,   // Age correction factor for weight/physique gain or loss.   // Gain chance – (Age * Age Gain * Gain chance)   // Loss chance - (Age * Age Loss * Gain chance)   "年龄增长": 0.01,   "年龄损失": 0.01,   // Minimum/Maximum value for build or weight change after each successful roll.   "最小值": 0.1,   "最大值": 1.0,   // Cultural specific weight gain/loss bonuses/penalties.   // Applied as: chance + culture probability weight[culture]   "文化概率权重": {     "阿塞莱": 0.1,     "巴塔尼亚": -0.1,     "帝国": 0.0,     "库赛特": -0.1,     "斯特吉亚": 0.1,     "瓦兰迪亚": 0.0   },   // Cultural specific build gain bonus/penalty   "文化概率建造": {     "aserai": 0.0,     "巴塔尼亚": 0.1,     "帝国": 0.0,     "库赛特": -0.1,     "斯特吉亚": 0.1,     "瓦兰迪亚": 0.0   },   // Existing hair length categories and their style indices (0 = bald in game custom menu, etc.)   "ManHair": {     "无":      [0],     "非常短": [6,8,10,12,13,14,15,17,18,26,27,28],     "短":     [4,5,9],     "中等":    [1,3,11,19,25],     "长":      [2,7,16,20,24],     "非常长":  [21,22,23]   },   // Facial hair categories   "男性面部": {     "无":      [0],     "非常短": [1,11,23,25,26,27],     "短":     [2,3,4,5,6,7,10,12,24,31,32,33],     "中等":    [8,9,13,20,21,22,28,29,35,36],     "长":      [14,15,30,34,37,38],     "超长":  [16,17,18,19,39,40,41]   },   // Female hair categories   "女性发型": {     "无":      [0],     "极短": [9,20],     "短":     [7,12,21],     "中等":    [5,6,11,14,16,19],     "长":      [3,8,15,18],     "超长":  [1,2,4,10,13,17]   },   // Cultural bonuses/penalties to growth/shave probabilities   "文化生长概率": {     "阿塞莱": 0.1,     "巴塔尼亚": 0.1,     "帝国": 0.0,     "库赛特": 0.0,     "斯特吉亚": 0.1,     "瓦兰迪亚": 0.0   },   "文化概率剃除": {     "阿塞莱": -0.1,     "巴塔尼亚": -0.1,     "帝国": 0.1,     "库赛特": 0.0,     "斯特吉亚": -0.1,     "瓦兰迪亚": 0.0   },   // Chance of getting a scar (tattoo) from combat injuries   "疤痕概率": 0.2,   // Pool of available scar/tattoo IDs (0 = no tattoo in game custom menu, etc.)   "疤痕": [14,15,16,17,18,19,20,21,22,23,24,25,26,29,30],   // If false, heroes of this type will never change   "允许显著": false,   "允许漫游者": true,   "允许玩家": true,   "允许玩家氏族": true,   // Toggle in-game debug messages   "调试": false,   // Notify the player when clan members change   "通知玩家氏族": true,   // Notify the player when the player themselves changes   "通知玩家": true,   // Display settings values at session start   "状态信息": true }