it works. the entire scale is green at 200kg. there is no yellow or red at all. but there is an issue with stamina consumption. it drops instantly as if overloaded. with a weight of only 50 kg. without the mod, stamina with the same weight and gear decreases significantly slower. I checked on the same save with and without the mod.
it seems the problem lies in the inconsistent order of weight changes for different effects. I did this. stamina stopped dropping instantly. it works in patch 1.1.4.
// Inventory consts
InventorySPDrainCoef = 0.024
InventorySPOverweightDrainCoef = 0.05
InventoryPenaltyLessWeight = 300.0 // Copy from line 9 of ObjWeightParamsPrototypes
bAutoEquipArtifacts = false
MediumEffectStartUI = 300 // Copy from line 9 of ObjWeightParamsPrototypes
CriticalEffectStartUI = 360 // Copy from line 17 of ObjWeightParamsPrototypes
DefaultWeightParams : struct.begin {refkey=[0]}
SID = DefaultWeightParams
MaxInventoryMass = 380
InventoryPenaltyLessWeight = 269.99
WeightEffectParams : struct.begin
[0] : struct.begin
Threshold = 200.f
EffectPrototypeSIDs : struct.begin
struct.end
struct.end
[1] : struct.begin
Threshold = 360.f
EffectPrototypeSIDs : struct.begin
[0] = OverweightMovementVelocityChange_3
struct.end
struct.end
[2] : struct.begin
Threshold = 330.f
EffectPrototypeSIDs : struct.begin
[0] = OverweightMovementVelocityChange_2
struct.end
struct.end
[3] : struct.begin
Threshold = 300.f
EffectPrototypeSIDs : struct.begin
[0] = OverweightMovementVelocityChange_1
struct.end
struct.end
struct.end
struct.end
Работает. Вся шкала на 200кг зеленая. Желтой и красной нет совсем. НО есть проблема с расходованием выносливости. Улетает моментально как при перегрузе. С весом всего 50 кг. Без мода выносливость с тем же весом и в той же экипировке падает значительно медленнее. Проверил на одном и том же сейве с модом и без него.
Похоже проблема в несогласованном порядке изменения весов для разных эффектов. Сделал так. Улетать моментом выносливость перестала. В патче 1.1.4 работает.
// Inventory consts
InventorySPDrainCoef = 0.024
InventorySPOverweightDrainCoef = 0.05
InventoryPenaltyLessWeight = 300.0 // Copy from line 9 of ObjWeightParamsPrototypes
bAutoEquipArtifacts = false
MediumEffectStartUI = 300 // Copy from line 9 of ObjWeightParamsPrototypes
CriticalEffectStartUI = 360 // Copy from line 17 of ObjWeightParamsPrototypes
DefaultWeightParams : struct.begin {refkey=[0]}
SID = DefaultWeightParams
MaxInventoryMass = 380
InventoryPenaltyLessWeight = 269.99
WeightEffectParams : struct.begin
[0] : struct.begin
Threshold = 200.f
EffectPrototypeSIDs : struct.begin
struct.end
struct.end
[1] : struct.begin
Threshold = 360.f
EffectPrototypeSIDs : struct.begin
[0] = OverweightMovementVelocityChange_3
struct.end
struct.end
[2] : struct.begin
Threshold = 330.f
EffectPrototypeSIDs : struct.begin
[0] = OverweightMovementVelocityChange_2
struct.end
struct.end
[3] : struct.begin
Threshold = 300.f
EffectPrototypeSIDs : struct.begin
[0] = OverweightMovementVelocityChange_1
struct.end
struct.end
struct.end
struct.end