Killing Floor 2

Killing Floor 2

39 ratings
StartWave
   
Award
Favorite
Favorited
Unfavorite
Maps and Mods: Mutators, Survival, Holdout
Tags: Endless
File Size
Posted
Updated
35.628 KB
20 Jun, 2018 @ 5:47am
10 Dec, 2018 @ 10:12pm
2 Change Notes ( view )

Subscribe to download
StartWave

Description
This mod is not whitelisted and will unrank your server. Any XP gained will not be saved.

Details
A utility mod that allows users to specify the starting wave and the boss that will spawn. Additionally, users can jump between waves during the match with a console command (mutate setwave, see below).
The purpose of this mod is to allow mappers to more efficiently test their maps for later waves or for the boss. It could also be used to skip early waves if you find them boring, or to test strategies against a specific boss.
It is designed to be compatible with every mutator and wave-based gamemode, and to require little to no maintenance after game updates.

Source code
The source code can be found at: https://bitbucket.org/Pharrahnox/startwave/src/master/
You are welcome to use the code for learning purposes, and you can alter or reuse the code in your own mods.

How to use the mod
To use this mod on solo, enter this into the console (opened using the tilde key in-game):
open KF-BurningParis?Mutator=StartWave.StartWave?Difficulty=3?GameLength=1
To use this on a server, the Mutator parameter must include StartWave.StartWave, e.g.
start .\Binaries\win64\kfserver KF-BurningParis?Mutator=StartWave.StartWave?Difficulty=3?GameLength=1?adminpassword=123
Difficulty can be 0, 1, 2 or 3 for Normal, Hard, Suicidal and Hell on Earth, respectively. GameLength can be 0, 1 or 2, for Short, Medium and Long, respectively. The example shown would be 7 waves on Hell on Earth.
The above commands will use the settings in the config file. Refer to the “Adjusting settings” thread for details on how to adjust settings through the launch command or the config.

The setwave command
To jump to any wave during the match, use the setwave command which has the definition: mutate setwave WaveNum bSkipTraderTime. Cheats must be enabled for this command to work.

Example usages (all to be typed into the console):
mutate setwave 5 true -- jump to wave 5 with no trader time.
mutate setwave 3 false -- jump to wave 3 with trader time.
mutate setwave 3 -- identical to the above (the last parameter defaults to false).

You can jump forwards or backwards between waves (e.g. from 5 -> 2 -> 8 -> 3, etc.)

Thanks to Kore for reminding me of the mutate function.

Config file download for Linux users: https://drive.google.com/open?id=1aUykOzxDHYvHp_2gBcPoccP9nqhPO8S8
Popular Discussions View All (3)
2
11 Dec, 2018 @ 3:25am
Issues/bugs
Pharrahnox
0
28 Nov, 2020 @ 11:20am
Doesn't Start at a Preset Wave or Dosh Amount
[ROTN] StimpyPi
0
20 Jun, 2018 @ 6:01am
Adjusting settings
Pharrahnox
31 Comments
Mitch Murder 25 Aug, 2021 @ 11:37am 
hello, I know this is an old thead but I would be in great debt if someone could point me to a full step by step guide. i own a server through G-Portal and I am really confuse as to where I am putting all these commands and how. many thanks in advance
Dr. Smoke 16 Jun, 2021 @ 5:07pm 
?Dosh=10000 doesn't work using this mod
[object Object] 10 Jan, 2019 @ 7:43pm 
This is a great mutator for kf2.
For the endless mode, Dosh charging does not work.
I found the solution, if you put the HELL ON FIRE mod, then in a bundle, they both work as if not strange in the endless, Dosh too charging.

As a temporary solution, I think it will do.
Demolitions 13 Dec, 2018 @ 7:13pm 
@Pharrahnox I did, it works rather nicely.
Pharrahnox  [author] 13 Dec, 2018 @ 3:00pm 
@diamondpumpkin Did you end up removing the old versions and getting the mutate setwave command working?
Demolitions 12 Dec, 2018 @ 4:33am 
Turns out the configuration file does start and there's multiple areas where workshop content is downloaded (On linux)

1. <KF2 Install directory>/KFGame/Cache
2. <KF2 Install directory>/Binaries/Win64/steamapps/workshop/content/232090

The configuration does generate and I'll delete everything to ensure the workshop is the latest.


Pharrahnox  [author] 11 Dec, 2018 @ 11:23pm 
I got a friend to try it out - one who hadn't subscribed to the mod before. The mutate setwave command worked correctly for them. This means your game must be using an old version. It was a pain for me to remove the old versions too. Try unsubscribing, deleting any traces of it in the Cache and in the workshop downloads folder, then resubscribing. I don't know where the workshop downloads folder would be for you, on Windows it is <Steam installation directory>\steamapps\workshop\content\232090\1417081496.

If you continue to have trouble with the old version being used or others have the issue, I could reupload this new version as a separate workshop item.
Demolitions 11 Dec, 2018 @ 6:01am 
I have the latest version and it still doesn't work. I deleted the Cache folder for the mod it also still doesn't work. I've enabled cheats as well.
Pharrahnox  [author] 11 Dec, 2018 @ 5:50am 
That is most likely due to the old version being used instead. If system messages still appear when the match starts ("System: spawn suspended" or something like that) then it's the old version. If these messages don't appear, make sure you have enabled cheats.

You might need to delete the 1417081496 folder from your Cache if it exists. I had the same issue when I was checking if the new workshop item was working correctly.

Currently, I don't know how to address the config issue for Linux. In the meantime you can append all necessary parameters in the launch command. It's cumbersome, but at least it works.
Demolitions 11 Dec, 2018 @ 5:43am 
Also, the mutate setwave command does not work.