Killing Floor 2

Killing Floor 2

AMMUNITION CONTROLLER
DeathCow 27 Sep, 2021 @ 5:06pm
AmmoControl.ini
I'm at a loss on how to get this to function properly.

So when you launch the server with the mutator for the first time it spits out the KFAmmoControl.ini file.

It looks like this:

[KFGameAmmoControl.AmmoControlMut]
AmmoPickupsMod=0.000000
WeaponPickupsMod=0.000000
PickupsRespawnTime=0.000000
GrenadePickupsCount=0
ArmorPickupsScale=0

No matter what value I put for GrenadePIckupsCount whenever you walk over an ammo box, you do not get a grenade.

I'm getting these script warnings in the console.

ScriptWarning: Accessed None 'Mutator'
KFInventoryManager_AmmoControl kf-killingzone.TheWorld:PersistentLevel.KFInventoryManager_AmmoControl_0
Function KFGameAmmoControl.KFInventoryManager_AmmoControl:GiveWeaponsAmmo:00EE
[0158.26] ScriptWarning: Accessed None 'Mutator'
KFInventoryManager_AmmoControl kf-killingzone.TheWorld:PersistentLevel.KFInventoryManager_AmmoControl_0
Function KFGameAmmoControl.KFInventoryManager_AmmoControl:AddGrenadesCount:005A

ScriptWarning: Accessed None 'Inv'
KFPawn_Human_AmmoControl kf-killingzone.TheWorld:PersistentLevel.KFPawn_Human_AmmoControl_0
Function Engine.Pawn:TossInventory:00D4

Any suggestions on how to get this to work?

Thank you!
< >
Showing 1-1 of 1 comments
DeathCow 29 Sep, 2021 @ 12:48pm 
For those having problems getting is mod to work, I have found this works for me.

[KFGameAmmoControl.AmmoControlMut]
AmmoPickupsMod=100.000000
WeaponPickupsMod=100.000000
PickupsRespawnTime=100.000000
GrenadePickupsCount=5
ArmorPickupsScale=5
< >
Showing 1-1 of 1 comments
Per page: 1530 50