Raised This Month: $32 Target: $400
 8% 

[TF2] Permanent Crit Vote


Post New Thread Reply   
 
Thread Tools Display Modes
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-26-2010 , 12:32   Re: [TF2] Permanent Crit Vote
Reply With Quote #21

included the one that has the 50% in favor of crits off and first option is crits disabled, works fine here. (forgot to attach it at some point)
Attached Files
File Type: sp Get Plugin or Get Source (tf2_perm_crit-swapped.sp - 356 views - 9.0 KB)
__________________
Arguing with a fool only proves there are two

Last edited by snelvuur; 10-27-2010 at 20:29.
snelvuur is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-27-2010 , 20:31   Re: [TF2] Permanent Crit Vote
Reply With Quote #22

Code:
        {
                PrintToChatAll("\x04[\x03TF2-Crit Pref\x04]\x01 Crits Disabled. %d Voted On, %d voted Off", prefYes, prefNo);
                ServerCommand("tf_weapon_criticals 0");
        }
        else
        {
                ServerCommand("tf_weapon_criticals 1");
                PrintToChatAll("\x04[\x03TF2-Crit Pref\x04]\x01 Crits Enabled. %d Voted On, %d voted Off", prefYes, prefNo);
        }
Nobody really complaint, but i had to change this then too for it to work ;)

I assume you can also change the topline from prefYes to prefNo, but it works.. (adjusted this in my previous post)
__________________
Arguing with a fool only proves there are two
snelvuur is offline
tcviper
Veteran Member
Join Date: Oct 2005
Location: Netherlands
Old 10-29-2010 , 04:35   Re: [TF2] Permanent Crit Vote
Reply With Quote #23

Might be an idea for both your plugins to actually also integrate the setting in the !settings menu for clients?
__________________
tcviper is offline
Send a message via MSN to tcviper
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 10-29-2010 , 07:25   Re: [TF2] Permanent Crit Vote
Reply With Quote #24

I haven't worked with it yet.. I'll look into it
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
Arthurp
Junior Member
Join Date: Mar 2010
Old 11-04-2010 , 05:49   Re: [TF2] Permanent Crit Vote
Reply With Quote #25

Would you consider doing a highlander one as well ?
Arthurp is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 11-23-2010 , 03:36   Re: [TF2] Permanent Crit Vote
Reply With Quote #26

Hi again Arthurp.

As said in my PM I was ill for a while and didn't watch the forums.
So you want a plugin to change the cvar "mp_highlander"?

edit:
Try this one here
Attached Files
File Type: sp Get Plugin or Get Source (tf2_perm_highlander.sp - 312 views - 7.7 KB)
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 11-23-2010 at 03:47.
Sillium is offline
Alan
Junior Member
Join Date: Jul 2011
Old 02-15-2014 , 18:03   Re: [TF2] Permanent Crit Vote
Reply With Quote #27

thanks for the plugin. Any chance of having !crit print out the current server crit settings and percentage below the preference options, so players know if crits are on or off?
Alan is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 02-17-2014 , 02:24   Re: [TF2] Permanent Crit Vote
Reply With Quote #28

This might work, I can't test it atm
Attached Files
File Type: sp Get Plugin or Get Source (tf2_perm_crit.sp - 239 views - 8.5 KB)
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 02-17-2014 at 02:31.
Sillium is offline
Alan
Junior Member
Join Date: Jul 2011
Old 02-17-2014 , 08:31   Re: [TF2] Permanent Crit Vote
Reply With Quote #29

Tested it, but no luck... It still shows "Set crit preference" 1. ON 2. OFF and 0 Exit but doesn't print out the current server status which is a bit confusing for a newly joined user who doesnt know if crits are on or off, or even during the play where a player can quickly check if crits are on or off.

It would be nice to have something like this: A player types !crit in the chat and receives the following popup:

Set crit preference:
1. Prefer crits on
2. Prefer crits off

Currently server Crits are: enabled (or disabled according the vote)
0. Exit
Alan is offline
takkyu
Member
Join Date: Jan 2010
Old 02-25-2014 , 05:13   Re: [TF2] Permanent Crit Vote
Reply With Quote #30

Quote:
Originally Posted by Alan View Post
Tested it, but no luck... It still shows "Set crit preference" 1. ON 2. OFF and 0 Exit but doesn't print out the current server status which is a bit confusing for a newly joined user who doesnt know if crits are on or off, or even during the play where a player can quickly check if crits are on or off.

It would be nice to have something like this: A player types !crit in the chat and receives the following popup:

Set crit preference:
1. Prefer crits on
2. Prefer crits off

Currently server Crits are: enabled (or disabled according the vote)
0. Exit
Yes this would be nice. Like if you type "FF" and recieve "Friendly fire is on"
takkyu is offline
Reply



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 09:58.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode