Browse Source

Add config entry for `FixDualiesCost`

develop
Anton Tarasenko 5 years ago
parent
commit
2c887bf513
  1. 25
      config/Acedia.ini

25
config/Acedia.ini

@ -223,3 +223,28 @@ autoEnable=true
; Set it to 'false' if you only want to fix ammo printing ; Set it to 'false' if you only want to fix ammo printing
; and leave the rest of the bullshit as-is. ; and leave the rest of the bullshit as-is.
allowSellValueIncrease=true allowSellValueIncrease=true
; This feature addressed two inventory issues:
; 1. Players carrying amount of weapons that shouldn't be allowed by the
; weight limit.
; 2. Players carrying two variants of the same gun.
; For example carrying both M32 and camo M32.
; Single and dual version of the same weapon are also considered
; the same gun, so you can't carry both MK23 and dual MK23 or
; dual handcannons and golden handcannon.
[Acedia.FixInventoryAbuse]
autoEnable=true
; How often (in seconds) should we do our inventory validations?
; We shouldn't really worry about performance, but there's also no need to
; do this check too often.
checkInterval=0.25
; For this fix to properly work, this array must contain an entry for
; every dual weapon in the game (like pistols, with single and dual versions).
; It's made configurable in case of custom dual weapons.
dualiesClasses=(single=class'KFMod.SinglePickup',dual=class'KFMod.DualiesPickup')
dualiesClasses=(single=class'KFMod.Magnum44Pickup',dual=class'KFMod.Dual44MagnumPickup')
dualiesClasses=(single=class'KFMod.MK23Pickup',dual=class'KFMod.DualMK23Pickup')
dualiesClasses=(single=class'KFMod.DeaglePickup',dual=class'KFMod.DualDeaglePickup')
dualiesClasses=(single=class'KFMod.GoldenDeaglePickup',dual=class'KFMod.GoldenDualDeaglePickup')
dualiesClasses=(single=class'KFMod.FlareRevolverPickup',dual=class'KFMod.DualFlareRevolverPickup')
Loading…
Cancel
Save