Killing Floor 2

Killing Floor 2

Not enough ratings
True Random Boss
   
Award
Favorite
Favorited
Unfavorite
Maps and Mods: Mutators
File Size
Posted
Updated
17.507 KB
Oct 7, 2023 @ 12:58pm
Mar 8 @ 12:36pm
2 Change Notes ( view )

Subscribe to download
True Random Boss

Description


Description
Server-side mutator that makes bosses truly random.

What does it mean?
Some players use the command to predict the boss. Here's the command:
getall kfgamereplicationinfo bossindex
Copy this command, open the console (~), paste the command and press Enter.
In response, you will receive a string, the last number of which is the boss index:
0 = Hans Volter 1 = Patriarch 2 = King Fleshpound 3 = Abomination 4 = Matriarch
This is possible because the boss is chosen at the beginning of the game.

This mutator sets a random boss index right before the start of the boss wave and thus makes the command above completely useless.

Whitelisted?
No. This mod is not whitelisted and will de-rank your server. Any XP gained will not be saved.

Usage (single player)
  1. Subscribe to this mutator;
  2. Start KF2;
  3. Open console (~) and input:
    open KF-BioticsLab?Mutator=TRB.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=3047331564
  4. Start the server and wait while the mutator is downloading;
  5. Add mutator to server start parameters: ?Mutator=TRB.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) KFTRB.ini manually. Put the following content there:
    [TRB.TRB]
    Version=0

  2. Start the game/server with TRB 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 (KFTRB.ini)
Honestly, you don't need to edit anything in the config, just make sure you create the default config correctly.
The config exists because I needed it during development ¯\_(ツ)_/¯

Notes
📌 Even if you use this mod, the boss prediction command can sometimes give correct predictions, just by chance. And that's okay. After all, this is a real random :)

Sources
https://github.com/GenZmeY/KF2-TrueRandomBoss (GNU GPLv3)
5 Comments
SuspiciouspegasusTTV Oct 17, 2023 @ 11:56am 
So wait bosses werent truly random in KF2?
IMMORTXLZ Oct 11, 2023 @ 9:46pm 
Balance in kf2. Understandable bro
Mythical Oct 9, 2023 @ 7:28pm 
Cool mod, I like how it keeps the game more balanced
GenZmeY  [author] Oct 8, 2023 @ 9:27am 
Мне просто нужен был повод чтобы опубликовать еще одну угарную картинку с этим котом
IMMORTXLZ Oct 8, 2023 @ 9:12am 
Тебе не нужно знать какой босс, когда ты можешь слить любого спамом из молотовых и думстика. Если пытаться исправлять приколы трипов, то можно ещё очень много мутаторов делать. Тебе не хватит сил)