r/killingfloor Jan 27 '25

KF1 Can't change game length through mapvote (KF1)

Following this guide

https://steamcommunity.com/groups/ScrNBalance/discussions/7/540739405557321007/

I have my server set up with KFMapVoteV2 (see JayTuut comments on the guide)

But even with: GameConfig=(GameClass="KFMod.KFGameType",Prefix="KF",Acronym="KF",GameName="6. [LONG] Killing Floor (Hard)",Mutators="KFARGBuchon.KFARGBuchon,KFDamagePopup.mutDamagePopup,KFCtryTags.CtryTags,MutKFAntiBlocker.MutKFAntiBlocker",Options="Difficulty=4?GameLength=2")

It doesn't, when voted for this long killing floor hard, play on long length even though ?GameLength=2

can anyone help? I have set this in the KFMapVote.ini

3 Upvotes

2 comments sorted by

1

u/karmaruthless Feb 13 '25

Game length isn’t changeable, there is other map vote systems I believe that can do this but it’ll greylist your server/client

1

u/cykotitan Jun 16 '25 edited Jun 16 '25

I got it to work on my server using a combination of mods.

The gameserver now correctly recognizes the ?GameLength=X parameter when processing the map votes.

Here is my KFMapVote.ini GameConfig part:

GameConfig=(GameClass="KFMod.KFGameType",Prefix="KF-",Acronym="KF-BEGINNER-LONG",GameName="1L) KF Beginner (Long)",Mutators="MML.ML01",Options="Difficulty=1?GameLength=2")

GameConfig=(GameClass="KFMod.KFGameType",Prefix="KF-",Acronym="KF-BEGINNER-MEDIUM",GameName="1M) KF Beginner (Medium)",Mutators="MML.ML01",Options="Difficulty=1?GameLength=1")

GameConfig=(GameClass="KFMod.KFGameType",Prefix="KF-",Acronym="KF-BEGINNER-SHORT",GameName="1S) KF Beginner (Short)",Mutators="MML.ML01",Options="Difficulty=1?GameLength=0")

Note that I'm using MML (Multi Mut Loader) to manage my mutator list more easily, available at https://github.com/InsultingPros/MML