Killing Floor 2
Оценок: 39
StartWave
   
Наградить
В избранное
В избранном
Удалить
Maps and Mods: Mutators, Survival, Holdout
Метки: Endless
Размер файла
Добавлен
Изменён
35.628 KB
20 июн. 2018 г. в 5:47
10 дек. 2018 г. в 22:12
Обновлений: 2 (просмотреть)

Подпишитесь, чтобы загрузить
StartWave

Описание
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
Популярные обсуждения Просмотреть все (3)
2
11 дек. 2018 г. в 3:25
Issues/bugs
Pharrahnox
0
28 ноя. 2020 г. в 11:20
Doesn't Start at a Preset Wave or Dosh Amount
[ROTN] StimpyPi
0
20 июн. 2018 г. в 6:01
Adjusting settings
Pharrahnox
Комментариев: 31
Mitch Murder 25 авг. 2021 г. в 11:37 
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 июн. 2021 г. в 17:07 
?Dosh=10000 doesn't work using this mod
[object Object] 10 янв. 2019 г. в 19:43 
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 дек. 2018 г. в 19:13 
@Pharrahnox I did, it works rather nicely.
Pharrahnox  [создатель] 13 дек. 2018 г. в 15:00 
@diamondpumpkin Did you end up removing the old versions and getting the mutate setwave command working?
Demolitions 12 дек. 2018 г. в 4:33 
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  [создатель] 11 дек. 2018 г. в 23:23 
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 дек. 2018 г. в 6:01 
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  [создатель] 11 дек. 2018 г. в 5:50 
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 дек. 2018 г. в 5:43 
Also, the mutate setwave command does not work.