Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > General Modding Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2010, 06:07 PM
Marco Marco is offline
Senior Member
 
Join Date: May 2009
Location: Finland
Posts: 515
Default Mod: Voting Handler Fix

This mod fixes some broken features on KF Voting Handler, mainly:
- Allow vote different game modes (different settings).
- Vote time countdown (messages and voice).
It also gives spectators the ability to mapvote.

This mod is whitelisted.

Download from V2 here: http://www.klankaos.com/downloads/KFMapVoteV2.rar

Useage (eighter):
- Edit KillingFloor.ini:
[Engine.GameInfo]
VotingHandlerType=KFMapVoteV2.KFVotingHandler

- On server WebAdmin and go to Server Console and type in following command:
Set GameInfo VotingHandlerType KFMapVoteV2.KFVotingHandler

Then to add more different game modes or mutator options, go on WebAdmin: Default > Voting GameConfig > Add in as many options you want:


And in game to chose between options; on map vote menu theres a combo box for selection of different game modes:

Interface in version 2:


So this way you can host on your server more different game options, enjoy!

Version history
2.0:
- Added option to like/dislike maps (players get that choise at beginning of mapvote).
- Added so vote count list also shows which game mode is voted for.
- Fixed a bug which allowed maplist to append file extension to map names.
- Changed so admins can normally mapvote now, however they can still force mapswitch by right clicking at mapname and select "Admin force map".
- Fixed maplist disabled highlighting (when using EliminationMode or Revote limit).

1.0:
- Created.

Last edited by Marco; 08-12-2012 at 01:53 AM. Reason: Version 2
Reply With Quote
  #2  
Old 04-18-2010, 06:24 PM
dextronaut's Avatar
dextronaut dextronaut is offline
Senior Member
 
Join Date: Jun 2009
Location: Pacific Northwest
Posts: 2,448
Default

awesome to see youre back marco
__________________
Reply With Quote
  #3  
Old 04-18-2010, 06:45 PM
RoBoT's Avatar
RoBoT RoBoT is offline
Senior Member
 
Join Date: Mar 2009
Location: Syria
Posts: 1,084
Default

holy **** thats awesome!
now its like in UT or KF mod
__________________
Reply With Quote
  #4  
Old 04-20-2010, 02:28 AM
krispyk krispyk is offline
Senior Member
 
Join Date: Mar 2010
Posts: 208
Default

This is a great map voting handler. Thanks Marco

Last edited by krispyk; 04-20-2010 at 08:30 AM.
Reply With Quote
  #5  
Old 04-20-2010, 03:16 PM
ffjason's Avatar
ffjason ffjason is offline
Senior Member
 
Join Date: Oct 2009
Posts: 205
Default

Can you add a feature to have multiple vote lists, so for example i could have:

Official TWI Maps:
Biotics
Manor
etc

Whitelisted Maps:
Awesome1
Awesome2
etc

Non-Whitelisted Maps:
Testing1
Beta2
etc

But all selectable from a drop down or something?


I also though it would be nice to be able to set the name in the map vote to be different from the map name itself. Just for consistency sake (caps etc).


Another point - can stopy maps be put under the "story mode" which appears on the web admin?

Edit: I forgot to say: THANK YOU! This is an awesome feature!!! We need more people like you
__________________

Last edited by ffjason; 04-20-2010 at 03:18 PM.
Reply With Quote
  #6  
Old 04-20-2010, 05:24 PM
kingkong kingkong is offline
Senior Member
 
Join Date: Jun 2009
Posts: 456
Default

great work, we must have this whitelisted immediately.
__________________
Quote:
Originally Posted by Console
> fatfingers: rrrrrss dwdsssaaaassssssssss daa
> (DeathMessage) fatfingers was eaten by the Flesh Pound.
ez log/restart batch for windows kf server
kf admin ip/steam id linker with greasemonkey
Reply With Quote
  #7  
Old 04-20-2010, 05:58 PM
No Glory's Avatar
No Glory No Glory is offline
Senior Member
 
Join Date: Dec 2009
Location: BC, Canada
Posts: 575
Default

Maybe I'm the only person, but I would love to see if Marco could try to find a way to make a mutator for selecting your skins? Matbe it's just me :S
__________________
A life lived in fear is a life half lived ~Spanish Proverb
Reply With Quote
  #8  
Old 04-20-2010, 06:33 PM
zombinex's Avatar
zombinex zombinex is offline
Senior Member
 
Join Date: Jan 2010
Location: brazil
Posts: 138
Default

why spectator should vote?? doesn't make sense to me..
the rest is ok, great work
Reply With Quote
  #9  
Old 04-28-2010, 02:26 PM
dennisc dennisc is offline
Junior Member
 
Join Date: Sep 2009
Posts: 5
Default

great!

can i use this hanlder setup a short, medium, long wave and sandbox selectable by users? how? thanks.
Reply With Quote
  #10  
Old 04-28-2010, 05:31 PM
kingkong kingkong is offline
Senior Member
 
Join Date: Jun 2009
Posts: 456
Default

Quote:
Originally Posted by zombinex View Post
why spectator should vote?? doesn't make sense to me..
the rest is ok, great work
2 good reasons I can think of -

1. those who don't know better or so greedy that they purposely take any chance they get to start maps alone, thinking they can get a head start with more cash. then they either fail at it and die, or force everyone else to get by with starting cash on the second wave. not such a big deal on easier servers, but a real setback for the rest of the team on suicidal.

2. griefers that do the same thing, only to die on purpose or immediately vote a new map as soon as the game starts. this traps the rest of the players in spec, and forces the server into an endless mapchange, until they get bored or empty the server.

so this would give other players a chance to vote for a restart right away, obviously should be admin preference since they're both open to abuse, but spec voting could be the lesser of 2 evils in some cases for the best autonomy, when you want to give players the freedom to vote.
__________________
Quote:
Originally Posted by Console
> fatfingers: rrrrrss dwdsssaaaassssssssss daa
> (DeathMessage) fatfingers was eaten by the Flesh Pound.
ez log/restart batch for windows kf server
kf admin ip/steam id linker with greasemonkey

Last edited by kingkong; 04-28-2010 at 05:35 PM.
Reply With Quote
  #11  
Old 04-29-2010, 12:36 PM
Marco Marco is offline
Senior Member
 
Join Date: May 2009
Location: Finland
Posts: 515
Default

Quote:
Originally Posted by dennisc View Post
great!

can i use this hanlder setup a short, medium, long wave and sandbox selectable by users? how? thanks.
No you can't, but could ask Tripwire to add an URL line option for game length setting.
Reply With Quote
  #12  
Old 04-29-2010, 04:18 PM
omarfw's Avatar
omarfw omarfw is offline
Senior Member
 
Join Date: Jun 2009
Location: Here Be Dragons
Posts: 2,504
Default

Quote:
Originally Posted by ffjason View Post
Can you add a feature to have multiple vote lists, so for example i could have:

Official TWI Maps:
Biotics
Manor
etc

Whitelisted Maps:
Awesome1
Awesome2
etc

Non-Whitelisted Maps:
Testing1
Beta2
etc

But all selectable from a drop down or something?


I also though it would be nice to be able to set the name in the map vote to be different from the map name itself. Just for consistency sake (caps etc).


Another point - can stopy maps be put under the "story mode" which appears on the web admin?

Edit: I forgot to say: THANK YOU! This is an awesome feature!!! We need more people like you
this would be awesome
__________________

Reply With Quote
  #13  
Old 07-02-2010, 02:10 PM
kingkong kingkong is offline
Senior Member
 
Join Date: Jun 2009
Posts: 456
Default

nice to see this whitelisted, will install asap.

edit,
how do we apply options like gamedifficulty to the gametypes? say I want to have 3 gametypes - regular kfmod on normal, hard, suicidal on the same mutators and map rotation. I tried putting the class value from [engine.gameinfo], gamedifficulty=2/4/7 into the options field of the newly created types, like we would do through the console, but it has no effect on the game difficulty when switching between them.

I see in your screenie that you have used the value difficulty=x, this is not the correct one for kfmod, no? the ui updates with the menu choices, but I have no idea how to get the voting handler to apply those kind of options. I would also like to be able to do this with the gamelength value, so they can choose between 7/10 wave games.
__________________
Quote:
Originally Posted by Console
> fatfingers: rrrrrss dwdsssaaaassssssssss daa
> (DeathMessage) fatfingers was eaten by the Flesh Pound.
ez log/restart batch for windows kf server
kf admin ip/steam id linker with greasemonkey

Last edited by kingkong; 07-02-2010 at 02:53 PM.
Reply With Quote
  #14  
Old 07-02-2010, 03:06 PM
Marco Marco is offline
Senior Member
 
Join Date: May 2009
Location: Finland
Posts: 515
Default

Quote:
Originally Posted by kingkong View Post
I see in your screenie that you have used the value difficulty=x, this is not the correct one for kfmod, no? the ui updates with the menu choices, but I have no idea how to get the voting handler to apply those kind of options. I would also like to be able to do this with the gamelength value, so they can choose between 7/10 wave games.
That is correct with the difficulty (it will use that difficulty once voted for).

As for game length, there is no way (yet at least; I have requested TW to add URL line option for that).
Reply With Quote
  #15  
Old 07-02-2010, 05:48 PM
kingkong kingkong is offline
Senior Member
 
Join Date: Jun 2009
Posts: 456
Default

ok thanks, got it working. I just thought for some reason at first that was specific to the doom mod, and voting was supposed to change ini values directly. too bad about the gamelength, would be another great option to have for voting.
__________________
Quote:
Originally Posted by Console
> fatfingers: rrrrrss dwdsssaaaassssssssss daa
> (DeathMessage) fatfingers was eaten by the Flesh Pound.
ez log/restart batch for windows kf server
kf admin ip/steam id linker with greasemonkey
Reply With Quote
  #16  
Old 07-25-2010, 10:08 AM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
Junior Member
 
Join Date: Mar 2009
Location: MI, USA.
Posts: 13
Default

I tried adding this recently to my servers and all I see is the new button and when I click it the page just refreshes... There is nothing else



I see the [Engine.GameInfo]
and VotingHandlerType=KFMapVote.KFVotingHandler is there for voting...

And I did use the console command and rebooted the server and I have full access to the admin commands...

Any ideas?
__________________
Reply With Quote
  #17  
Old 08-05-2010, 01:04 PM
[KJ]'s Avatar
[KJ] [KJ] is offline
Member
 
Join Date: May 2009
Posts: 52
Default

I installed on my server and got it working but not correctly; i mean,

whenever I choose different game mode from the mapvoting, it screws up map list.

ex) I choose to play KF-Bioticslab with dif mods/mutations, but then the map is changed to somethingelse other than the map I want to play.
Reply With Quote
  #18  
Old 09-27-2010, 09:45 AM
Demon_333's Avatar
Demon_333 Demon_333 is offline
Senior Member
 
Join Date: Apr 2010
Location: Australia
Posts: 320
Default

Some reason ever since i added this KFMapVote and i did this VotingHandlerType=KFMapVote.KFVotingHandler. Ingame when anyone trys to bring up the menu by pressing esc doesn't work can anyone please help?

Last edited by Demon_333; 09-27-2010 at 09:47 AM.
Reply With Quote
  #19  
Old 09-28-2010, 02:07 PM
Demon_333's Avatar
Demon_333 Demon_333 is offline
Senior Member
 
Join Date: Apr 2010
Location: Australia
Posts: 320
Default

There's some other thing i found out, i don't know if it's a bug or not but if i put more than 14 gametypes in "Voting Gameconfig" the server will crash when i click the "Defaults" button at the top in Webadmin. Has anyone else had this issue?
Reply With Quote
  #20  
Old 09-28-2010, 02:14 PM
StarpictuR's Avatar
StarpictuR StarpictuR is offline
Member
 
Join Date: Oct 2009
Location: Brussels
Posts: 55
Default

I've had 17 gametypes for more than a month now without any of the problems you mentioned.

Sorry I can't help more...
__________________

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 2005 - 2014, Tripwire Interactive, LLC