phoenixf129
Poster
Posts: 476
I Rise from the Ashes.
|
|
« on: October 27, 2010, 12:26:43 PM » |
|
You probably know whats coming, just by reading the title but for those that don't i'll explain.
Basically, we all know Fretta voting does GAMEMODE votes, but thats for fretta, not Terrortown dedicated servers!
So basically, im asking for a convar, which we can change from 0 to 1, which wont affect those running fretta ttt.
ttt_fretta_maponly (Default 0.) // Allows you to set TerrorTown to only do MAP votes, instead of triggering Fretta to do Gamemode votes.
This would allow us, the dedicated server owners, to have a votemap, without having to remove all the other gamemodes except sandbox, fretta and terrortown from the gamemodes/ directory.
This would also change the text in the "Vote to change gamemode" in fretta_must_die to "Vote to change map".
Thanks for reading.
|
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
|
|
|
bigbadboo
Poster
Posts: 287
|
|
« Reply #1 on: October 27, 2010, 02:14:21 PM » |
|
Just use sourcemod, I have no idea why people don't. Compatibility is not really an issue.
|
|
|
|
Manmax75
Poster
Posts: 254
Programming Guy
|
|
« Reply #2 on: October 27, 2010, 07:55:35 PM » |
|
I am making something.
|
Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
|
|
|
Handy_man
Poster
Posts: 308
SNG community admin
|
|
« Reply #3 on: October 27, 2010, 08:16:20 PM » |
|
This idea would be great would work very well for the dedicated TTT servers out there in terms of picking and choosing maps something ECG would like to use.
|
|
|
|
Bad King Urgrain
|
|
« Reply #4 on: October 28, 2010, 07:51:10 AM » |
|
This has been high on my list for the last two weeks or so, but I just haven't had that much time.
|
|
|
|
Manmax75
Poster
Posts: 254
Programming Guy
|
|
« Reply #5 on: October 28, 2010, 07:53:09 AM » |
|
Its k bku, u worry bout other things I'll work on this.
|
Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
|
|
|
Bad King Urgrain
|
|
« Reply #6 on: October 30, 2010, 04:58:36 PM » |
|
This is in SVN now as ttt_fretta_mapvoting (def. 0). Turns out reusing fretta's mapvote stuff was pretty easy.
|
|
|
|
phoenixf129
Poster
Posts: 476
I Rise from the Ashes.
|
|
« Reply #7 on: October 30, 2010, 07:39:38 PM » |
|
Woohoo!
|
Software Upgrade Paradox - If you improve a piece of software enough times, you eventually ruin it.
|
|
|
Handy_man
Poster
Posts: 308
SNG community admin
|
|
« Reply #8 on: October 31, 2010, 12:26:12 AM » |
|
Ok So this works kinda basically i had the server running all fine and what not and 3 players voted to change and 2 voted to stay then the vote for a new map did not come up.
What are the percentages required for change and if there is a convar i can change to reduce/ increase this number?
|
|
« Last Edit: October 31, 2010, 12:29:28 AM by Handy_man »
|
|
|
|
hayhay89
Poster
Posts: 100
|
|
« Reply #9 on: October 31, 2010, 03:21:45 AM » |
|
Also had this ^^^^^
|
|
|
|
Manmax75
Poster
Posts: 254
Programming Guy
|
|
« Reply #10 on: October 31, 2010, 04:59:15 AM » |
|
Err... well I will keep going with my thing anyway.
|
Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
|
|
|
hayhay89
Poster
Posts: 100
|
|
« Reply #11 on: October 31, 2010, 05:40:06 AM » |
|
lol manmax
Also i had someone trying to vote For a gamemode or something bku? So maybe disable that
|
|
|
|
Bad King Urgrain
|
|
« Reply #12 on: October 31, 2010, 09:04:46 AM » |
|
Ok So this works kinda basically i had the server running all fine and what not and 3 players voted to change and 2 voted to stay then the vote for a new map did not come up.
What are the percentages required for change and if there is a convar i can change to reduce/ increase this number?
The Fretta convar fretta_votesneeded defines this. It's 0.7 by default, meaning 70% of the vote. 3 players out of 5 is 60% so that's why it didn't change. lol manmax
Also i had someone trying to vote For a gamemode or something bku? So maybe disable that
Do you mean the "Bob voted to change the gamemode" chat message? That comes up when someone presses the vote for change button in the F1 menu. It won't actually start a gamemode vote, only a map vote, I just haven't changed it to say "map" yet.
|
|
|
|
hayhay89
Poster
Posts: 100
|
|
« Reply #13 on: October 31, 2010, 12:27:04 PM » |
|
oh lol kk then other then that it seems to work fine.
|
|
|
|
Redcow
Poster
Posts: 87
|
|
« Reply #14 on: November 01, 2010, 12:46:43 AM » |
|
Is there a way you can make it so it doesn't vote every single round?
|
|
« Last Edit: November 01, 2010, 01:55:26 AM by Redcow »
|
|
|
|
Manmax75
Poster
Posts: 254
Programming Guy
|
|
« Reply #15 on: November 01, 2010, 05:45:42 AM » |
|
double post???.....
|
Ride Forward and Thrust Your Pelvis In The Dark Void. The One Induced By Pleasure Yet Cast By The Bigger Picture.
|
|
|