Tremulous Forum

Community => Mod Ideas and Desires => Topic started by: Overdose on September 01, 2009, 08:24:35 pm

Title: Vote confirmation thingy
Post by: Overdose on September 01, 2009, 08:24:35 pm
After accidentally selecting yes on a map vote for Mission One today I came up with an idea. What if when you voted it showed some type of confirmation for your choice? For instance:

Code: [Select]
"Vote: Change to map ATCS?"
<Pressed F1>
"Vote cast (F1) to change to map ATCS."
<Press F1 again while vote still in progress>
"Vote already cast (F1) to change to map ATCS."

Obviously, the syntax could be different so that it would work for more than just map votes. But overall I think it's a decent idea. Comments? Suggestions? Someone willing to try it?


P.S. - I can't code so don't even mention it, I'm just throwing this out there.
Title: Re: Vote confirmation thingy
Post by: Helix. on September 02, 2009, 02:58:34 am
I agree. I'll accidentally hit F1/F2 and mean the other.
Title: Re: Vote confirmation thingy
Post by: Hendrich on September 02, 2009, 03:27:47 am
I also agree, especially during a tough fire fight. It can become a simple mistake when your too busy playing to mind the votes and have to pay for it after the game.

But this in mind that it could mean that the votes could change drastically for the better or for the worst.
Title: Re: Vote confirmation thingy
Post by: Ellohir on September 02, 2009, 01:15:52 pm
I think this could work:

seta F1_first "echo Press again F1 to vote yes; bind F1 vstr F1_confirm"
seta F1_confirm "vote yes; echo Voted yes; bind F1 vstr F1_first"
bind F1 "vstr F1_first"

seta F2_first "echo Press again F2 to vote no; bind F2 vstr F2_confirm"
seta F2_confirm "vote yes; echo Voted no; bind F1 vstr F2_first"
bind F2 "vstr F2_first"

Add it to the "autogen.cfg" on your base folder ^^
I can't try it now, but I think it should work.
Title: Re: Vote confirmation thingy
Post by: Overdose on September 02, 2009, 08:02:52 pm
I know how to do it in my own config files but I thought it would be simpler to implement it server side so that everyone would be able to use it.
Title: Re: Vote confirmation thingy
Post by: KillerWhale on September 04, 2009, 02:09:33 am
You could change your vote in R1CH's QVM. Bring it back?  :police:
Title: Re: Vote confirmation thingy
Post by: khalsa on September 26, 2009, 03:25:32 pm
One of the few things I miss from R1's server.
Title: Re: Vote confirmation thingy
Post by: MitSugna on September 26, 2009, 08:46:40 pm
*presses F1
console: So, you want to vote yes...
*presses F1
console: Are you sure you want to vote yes?
*presses F1
console: If this is what you want, press F1 again to vote yes.
*presses F1
console: This is your last chance. Do you really want to vote yes?
*presses F1
console: Come on! he might be a good guy. Why do you want to kick him?
*presses F1 *presses F1 *presses F1 *presses F1 *presses F1
console: Vote failed.
*presses F1 *presses F1 *presses F1 *presses F1 *presses F1
console: Would you stop pressing F1. There is no vote.
*presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1 *presses F1
console: You are muted by vote F1 protection!
*types F*CK YOU!
console: Nice try. But you are still muted. HA HA
Title: Re: Vote confirmation thingy
Post by: Spartan-039 on October 16, 2009, 10:17:26 pm
lol. sounds like Vista.