装备属性规则指南(v2.0)
字数
1178 字
阅读时间
5 分钟
本文档对应当前 C# 版装备规则链路,内容以 RealismItemRules/gear_rules.json 为准,并与 RealismPatchGenerator.Core/GearRuleData.cs、RealismPatchGenerator.Core/RealismPatchGenerator.cs 的当前行为保持一致。
1. 规则文件结构
当前装备规则文件包含 3 组核心数据:
- gearClampRules:最终安全夹紧范围
- gearProfileRanges:各装备 profile 的字段区间
- gearPriceRanges:各装备 profile 的价格区间
2. 全局夹紧范围
当前 gearClampRules 为:
- ReloadSpeedMulti:0.85 到 1.25
- Comfort:0.6 到 1.4
- speedPenaltyPercent:-40 到 10
- Price:500 到 150000
3. 价格规则
当前 gearPriceRanges 覆盖与 gearProfileRanges 相同的 profile 集,并用于统一生成最终输出里的 Price。
- Price 不再默认沿用输入源 Price 或 HandbookPrice
- 生成器会先识别 gear profile,再结合最终性能字段计算该物品在所属 profile 区间内的位置
- 定价会综合参考防护等级、ArmorClass、SpallReduction、舒适度、机动惩罚、容量、耳机增益、防毒/防辐射能力等信号
几个代表性价格区间:
- armor_vest_light:12000 到 25000
- armor_vest_heavy:22000 到 35000
- armor_chest_rig_heavy:26000 到 38000
- helmet_light:6000 到 15000
- helmet_heavy:18000 到 30000
- backpack_compact:12000 到 18000
- backpack_full:18000 到 26000
- cosmetic_gasmask:5000 到 12000
4. 当前装备 profile
gearProfileRanges 当前覆盖:
- armor_vest_light
- armor_vest_heavy
- armor_chest_rig_light
- armor_chest_rig_heavy
- chest_rig_light
- chest_rig_heavy
- helmet_light
- helmet_heavy
- armor_component_accessory
- armor_component_faceshield
- armor_mask_decorative
- armor_mask_ballistic
- armor_plate_hard
- armor_plate_helmet
- armor_plate_soft
- backpack_compact
- backpack_full
- back_panel
- belt_harness
- headset
- cosmetic_headwear
- protective_eyewear_standard
- protective_eyewear_ballistic
- cosmetic_gasmask
5. 当前常见字段
这些 profile 主要覆盖:
- SpallReduction
- ReloadSpeedMulti
- Comfort
- speedPenaltyPercent
- weaponErgonomicPenalty
- dB
- GasProtection
- RadProtection
- Price
6. 当前几类典型区间
几个当前最有代表性的档位:
- armor_vest_light:SpallReduction 0.15 到 0.55,Comfort 0.9 到 1.08,speedPenaltyPercent -4.5 到 0
- armor_vest_heavy:SpallReduction 0.55 到 0.92,Comfort 1 到 1.14,speedPenaltyPercent -8 到 -0.8
- armor_plate_soft:SpallReduction 0.1 到 0.45
- armor_plate_hard:SpallReduction 0.18 到 0.85
- backpack_compact:Comfort 0.9 到 1.18,speedPenaltyPercent -2.8 到 -0.6
- backpack_full:Comfort 0.74 到 0.96,speedPenaltyPercent -4.8 到 -2
- headset:dB 19 到 26
- cosmetic_gasmask:GasProtection 0.75 到 0.96,RadProtection 0.5 到 0.92,weaponErgonomicPenalty -20 到 -2
7. 当前规则特点
- 装备规则重点覆盖功能字段和惩罚字段,不把经济字段当主调参目标
- 现在 Price 已进入 gear 专属规则体系,由 gearPriceRanges 和最终性能共同决定
- IsGasMask、GasProtection、RadProtection、MaskToUse 这类字段现在应优先结合真实 output 结果与 gear 规则一起看
- 普通 cosmetic 仍不作为主规则审计范围,但具备防毒/防辐射语义的条目会命中 cosmetic_gasmask
8. 调整建议
- 想改整类装备手感,先改 gearProfileRanges
- 想只收口极端值,先改 gearClampRules
- 想改整类装备定价,先改 gearPriceRanges
- 少量特殊物品结构问题优先用 item_exceptions 微调,不要把整类问题都塞给例外物品
9. 审计说明
- consumable 与普通 cosmetic 不作为主审计范围
- 已在 item_exceptions 中明确覆盖的字段会按字段豁免
- 文档里写的是结构和代表性区间,完整真值以 RealismItemRules/gear_rules.json 为准
11. 常见属性解释
- SpallReduction:破片或飞溅伤害抑制能力。数值越低通常表示越能降低二次破片影响,数值为 1 则接近不额外干预。
- ReloadSpeedMulti:换弹速度倍率。大于 1 通常表示换弹更快,小于 1 表示换弹受阻。
- Comfort:穿戴舒适度或负载友好度。越高通常表示穿着负担更轻、长期操作更舒服。
- speedPenaltyPercent:移动速度惩罚百分比。负值越大通常代表机动性损失越明显。
- weaponErgonomicPenalty:对武器操控的人机惩罚。负值越大,通常表示开镜、持枪和转枪体验越差。
- dB:耳机类的声音增益或拾音强度指标,用于描述环境声音放大能力。
- GasProtection:防毒保护能力,越高通常表示对毒气环境的防护越强。
- RadProtection:防辐射保护能力,越高通常表示对辐射环境的防护越强。
- mousePenalty:鼠标操控惩罚。当前 gear 规则不主动重算它,但它通常表示穿戴后对操作灵敏度的负面影响。
- Price:装备最终价格。当前不再直接取输入源价格,而是在 gear profile 的价格区间内按最终性能和品质信号重新计算。
12. 文档策略
本指南描述当前 gear 规则结构、覆盖字段与命中逻辑;精确区间以 RealismItemRules/gear_rules.json 为准。涉及字段语义时,可与武器、附件、弹药三份规则指南交叉对照。