diff --git a/config/Acedia.ini b/config/Acedia.ini index 79bcc76..43565dc 100644 --- a/config/Acedia.ini +++ b/config/Acedia.ini @@ -222,4 +222,29 @@ autoEnable=true ; So we add this option. ; Set it to 'false' if you only want to fix ammo printing ; and leave the rest of the bullshit as-is. -allowSellValueIncrease=true \ No newline at end of file +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') \ No newline at end of file