[TF2] GB.CritVote (v1.3.5, Updated 2011-09-08)
2 Attachment(s)
GB.CritVote Do you want to crit today? Description This plugin displays a vote at the beginning of each map, allowing the players on the server to decide if they want to enable, disable or have no preference in regards to random crits (normally set by the convar tf_weapon_criticals) for the upcoming round. It also makes it possible for a given player to store a vote preference, so they will vote their preference automatically on each round start. REMEMBER! Disabling random crits sets the nocrit servertag, which deduces points in quickplay for your server. Inspiration This plugin is inspired by TF2 Permanent Critvote by Sillium, which in turn was inspired by TF2 Critvote by r5053. I started by modifying Silliums script, but, as I got more comfortable, I rewrote the script entirely, and have just copied a couple of his good ideas, like vote-delays. Installation Simply unpack the ZIP file into your TF2 folder, everything should end up where it belongs. Edit \cfg\sourcemods\gb_critvote.cfg to your liking, and load the plugin, or restart your server, whichever you prefer. Dependencies Sourcemod 1.3.8+ Clientprefs, if you want to use permanent votes. The plugin makes use of colors.inc by excel, which is included in the ZIP file. Incompatabilities Its not directly incompatible, but it should go without saying that you should not run any plugins that modify tf_weapon_criticals alongside this, especially on of the two plugs mentioned in the Inspiration section Settings Quote:
!crit Shows the current random crit setting, and if the player has a vote preference, shows it to him. !deletecrit Deletes the players vote preference, if set. Translation
Plugin is ready for translation, if you want to submit a translation file, PM me. ToDo - Changelog
|
Re: [TF2] GB.CritVote (v1.0.0, 2011-08-02)
In regards to the only point in the ToDo list, does anyone know if its possible to translate a panel, broadcast to all players, or should I change it to using a menu instead?
|
Re: [TF2] GB.CritVote (v1.0.0, 2011-08-02)
Quote:
|
Re: [TF2] GB.CritVote (v1.0.0, 2011-08-02)
Quote:
Its a vote at the start of a round, instead of letting people set something mid-game, which has no effect until next round. The settings are more advanced, its easier to customize it just to your need. Its translateable (if we ignore the panel-thing atm, but this will be fixed in the coming days, when I find out if its possible to do or not) Generally, the code is nicer, i've taken great pains to use suggested functions like AddCommandListener instead of RegConsoleCmd, and also not passing around clientids where they might be causing trouble. (I've had a couple of those during testing on my own servers) This is ofcourse all IMHO, and the plugin is made primarily for my servers, as the existing ones missed parts that I felt were needed. :) |
Re: [TF2] GB.CritVote (v1.1.0, Updated 2011-08-03)
Updated, now the entire plugin is translateable, I found a way to translate the panel for each player.
|
Re: [TF2] GB.CritVote (v1.1.1, Updated 2011-08-08)
Fixed a minor bug, and added a danish translation
|
Re: [TF2] GB.CritVote (v1.1.1, Updated 2011-08-08)
Put in a option to set the crits on/off swapped in the menu. Some people always vote 1 for instance, so if thats crits on .. it will always be on. I changed the other critvote to do the other way around since my regulars prefer no crits and since f2p players usually just hit 1... well you know what i mean :P
Other then that, good work. |
Re: [TF2] GB.CritVote (v1.1.1, Updated 2011-08-08)
Quote:
Just to be sure, what you're asking for is to change the order of the votechoices? |
Re: [TF2] GB.CritVote (v1.1.1, Updated 2011-08-08)
Yes, so instead of say:
1. Crits on 2. Crits off Make a cvar that you can change that around (since usually people hit 1 anyway) Or at least skip the first couple of digits, since those are used for weapon selections. (these are just suggestions though, thinking out loud here) |
Re: [TF2] GB.CritVote (v1.1.1, Updated 2011-08-08)
Sounds like a good idea, i'll take a look at implementing this via a variable.
|
All times are GMT -4. The time now is 18:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.