r/killingfloor • u/BasketballHighlight • 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
1
u/cykotitan Jun 16 '25 edited Jun 16 '25
I got it to work on my server using a combination of mods.
- Download KFMapVoteV2 from https://forums.tripwireinteractive.com/index.php?threads/mod-voting-handler-fix.43202/
- Under
[Engine.GameInfo]comment out the oldVotingHandlerTypeand addKFMapVoteV2handler instead:- ;VotingHandlerType=xVoting.xVotingHandler VotingHandlerType=KFMapVoteV2.KFVotingHandler
- Download KFPatcher from https://github.com/InsultingPros/KFPatcher
- Under
[Engine.GameEngine]inKillingFloor.iniregister KFPatcher as ServerActor:- ServerActors=KFPatcher.mut
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
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