Killing Floor 2

Killing Floor 2

Not enough ratings
Dropped Pickup Lifespan
   
Award
Favorite
Favorited
Unfavorite
Maps and Mods: Mutators
File Size
Posted
Updated
13.740 KB
18 Sep, 2022 @ 7:54pm
8 Mar @ 11:27am
3 Change Notes ( view )

Subscribe to download
Dropped Pickup Lifespan

Description


Description
Small server-side mutator that changes the lifespan of thrown weapons and dosh.

Whitelisted?
No. But I really hope that it will be whitelisted.

⚠️ I submitted whitelist request here:
https://forums.tripwireinteractive.com/index.php?threads/whitelisting-mods-and-mutators.120340/post-2353663

Usage (single player)
  1. Subscribe to this mutator;
  2. Start KF2;
  3. Open console (~) and input:
    open KF-BioticsLab?Mutator=DPL.Mut
    (replace the map and add the parameters you need)
  4. <Enter>.
Usage (server)
Note: If you don't understand what is written here, read the article Dedicated Server (KF2 wiki)[wiki.killingfloor2.com] before following these instructions.
  1. Open your PCServer-KFEngine.ini / LinuxServer-KFEngine.ini;
  2. Find the [IpDrv.TcpNetDriver] section and make sure that there is a line (add if not):
    DownloadManagers=OnlineSubsystemSteamworks.SteamWorkshopDownload
    ❗️ If there are several DownloadManagers= then the line above should be the first ❗️
  3. Add the following string to the [OnlineSubsystemSteamworks.KFWorkshopSteamworks] section (create one if it doesn't exist):
    ServerSubscribedWorkshopItems=2864944858
  4. Start the server and wait while the mutator is downloading;
  5. Add mutator to server start parameters: ?Mutator=DPL.Mut and restart the server.

Important setup information
The config should be created on first start, but now the game contains a bug that initializes the config values ​​randomly if they are not explicitly set. Thus, the config may have incorrect values ​​or not be created at all.
So if you are using this mutator for the first time, I highly recommend doing the following:
  1. Create (modify) KFDPL.ini manually. Put the following content there:
    [DPL.DPL]
    Version=0

  2. Start the game/server with DPL to generate the contents of the config
  3. Close the game/server
Right now this is the only way to correctly create the default config.
Unfortunately I can't do anything about it because it's a game problem (not mutator). I hope TWI fixes this someday.

Setup (KFDPL.ini)
  • Weap - time in seconds after which weapon disappears. If zero or less the default value is used.
  • Dosh - time in seconds after which dosh disappears. If zero or less the default value is used.

❗️ Note that a large number of objects on the map can cause lags.
Some unscrupulous players can use this to harm your server: for example, they can throw a lot of money or weapons in a place inaccessible to other players (for example, in the pool on KF-KillingPool).
So do not use too large values when you configure the mutator.

Notes
📌 Unfortunately there is no way to change ammo lifespan for technical reasons (the CheckRelevance() function is never called on Projectile objects). Ammo will disappear within 1-3 minutes depending on the type of projectile..

Sources
https://github.com/GenZmeY/KF2-DroppedPickupLifespan (GNU GPLv3)
5 Comments
Schamyl006 16 Mar, 2023 @ 5:04am 
What other servers have this feature?
GenZmeY  [author] 7 Oct, 2022 @ 1:59pm 
@snusmeister, love this cat :D

btw the author of the cat is Cotton Valent. He has good comics about meowbin (that's the name of this cat). and he has a lot of beautiful creations, maybe you will like some of these
nuke france 4 Oct, 2022 @ 4:07am 
bro i love these cat thumbs
あさぴっぴ 1020 19 Sep, 2022 @ 4:38am 
Great! :Janitor_Heart: :steamthumbsup::steamthumbsup: