Raised This Month: $51 Target: $400
 12% 

Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Plugin ID:
67
Plugin Version:
0.9
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Adds a range of not-so-essential votes to Base Votes.
Unapprover:
Reason for Unapproving:
Rolled into base Sourcemod
Old 07-05-2007 , 15:41   Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#1

Extended Votes
Version 0.9

By: ferret!

Description

This plugin adds a range off voting commands that are not considered 'essential'. Basic Votes was meant to provided the basic votes all admin plugins have and need. This plugin provides the stuff that fun but not necessary.

This plugin requires Basic Votes, Version 1.3, to be installed.

Installation
  1. Place the extendedvotes.smx file inside of the addons/sourcemod/plugins/ folder.
  2. Place the pluginsextendedvotes.txt file inside of the addons/sourcemod/translations/ folder.
Commands
  • sm_votegravity <gravity> [gravity2] ... [gravity5]
    • Issues a vote to change gravity.
    • Single gravity votes will display as a Yes or No vote.
    • Up to five gravity values may be specified.
    • See sm_vote_gravity cvar.
  • sm_voteff
    • Changes mp_friendlyfire. Yes vote is on, no vote is off.
    • See sm_vote_ff cvar.
  • sm_votealltalk
    • Changes sv_alltalk. Yes vote is on, no vote is off.
    • See sm_vote_alltalk cvar.
  • sm_votefootsteps
    • Changes mp_footsteps. Yes vote is on, no vote is off.
    • See sm_vote_footsteps cvar.
  • sm_voteburn <player>
    • Issues a vote to burn a player for 15 seconds.
    • See sm_vote_burn cvar.
  • sm_votefreeze <player>
    • Issues a vote to freeze a player for 15 seconds.
    • See sm_vote_freeze cvar.
  • sm_votebury <player>
    • Issues a vote to bury a player for 15 seconds.
    • See sm_vote_bury cvar.
  • sm_votecancel
    • Cancels any vote currently in progress.
    • sm_votecancel is not part of Extended Votes. It comes from Basic Votes.
Cvars
  • sm_vote_master
    • Percentage of votes needed for any vote to succeed. This Cvar only takes effect when set greater than 0%. When active, all other sm_vote_* cvars will not be used.
    • Default is 0.0 (0%)
    • Ranges from 0.00 (0%) to 1.0 (100%)
    • sm_vote_master is not part of Extended Votes. It comes from Basic Votes.
  • sm_vote_gravity
    • Percentage of votes needed to change the gravity.
    • Default is 0.60 (60%)
    • Ranges from 0.05 (5%) to 1.0 (00%)
  • sm_vote_ff
    • Percentage of votes to change mp_friendlyfire.
    • Default is 0.60 (60%)
    • Ranges from 0.05 (5%) to 1.0 (00%)
  • sm_vote_alltalk
    • Percentage of votes to change sv_alltalk.
    • Default is 0.60 (60%)
    • Ranges from 0.05 (5%) to 1.0 (00%)
  • sm_vote_footsteps
    • Percentage of votes to change mp_footsteps.
    • Default is 0.60 (60%)
    • Ranges from 0.05 (5%) to 1.0 (00%)
  • sm_vote_burn
    • Percentage of votes to burn a player.
    • Default is 0.60 (60%)
    • Ranges from 0.05 (5%) to 1.0 (00%)
  • sm_vote_freeze
    • Percentage of votes to freeze a player.
    • Default is 0.60 (60%)
    • Ranges from 0.05 (5%) to 1.0 (00%)
  • sm_vote_bury
    • Percentage of votes to bury a player.
    • Default is 0.60 (60%)
    • Ranges from 0.05 (5%) to 1.0 (00%)
  • sm_vote_show
    • Controls whether or not player's choices are broadcast to everyone.
    • Default is on. Set to 0 to turn off.
    • sm_vote_show is not part of Extended Votes. It comes from Basic Votes.
  • sm_vote_say
    • Controls whether or not players can start votes by saying them.
    • Default is OFF. Set to 1 to turn on.
    • BE VERY CAREFUL. PLAYERS CAN POTENTIALLY CAUSE VOTES AGAINST ADMINS.
    • sm_vote_say is not part of Extended Votes. It comes from Basic Votes.
Changelog
  • Version 0.9 (July 5th)
    • Initial Release.
Todo
  1. Finish freeze code
  2. Find a new solution for changing mp_footsteps
Bugs, Requests, Translations, or Other Issues

Please use my project area on the Allied Modders Bug Tracker to report any issues or make requests. Your login for the bug tracker is the same as your forum login. Set the category to this plugin's name.
__________________
I'm a blast from the past!

Last edited by ferret; 08-17-2007 at 12:04.
ferret is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-05-2007 , 15:43   Re: Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#2

This plugin is incomplete. I wrote it at work (Boring day) and am posting it cause I'm going home. Will finish from home.

To-do:
  • Finish BaseVotes 1.3, which is required for this
  • Finish freeze vote punishment
  • Finish deciding how to handle translations (Trying to be dynamic and not repeat stuff 19287123 times)
  • Finish say command hooks
Use at your own risk.
__________________
I'm a blast from the past!
ferret is offline
Fisch.666
Junior Member
Join Date: May 2004
Old 07-05-2007 , 19:23   Re: Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#3

Hi!

When i compile the version 0.1 of this plugin with the latest sourcemod i get this warning:

Quote:
./spcomp extendedvotes.sp
SourcePawn Compiler 1.0.0.882
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2007 AlliedModders, LLC

extendedvotes.sp(116) : warning 203: symbol is never used: "type"

1 Warning.
but the plugin compiles. Can i ignore this warning?

Thanks in advance for an reply.
Fisch.666 is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-05-2007 , 19:32   Re: Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#4

You can ignore it, but it's because it's not finished What you have right now has a bunch of bugs, which I'm almost done fixing.
__________________
I'm a blast from the past!
ferret is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-05-2007 , 22:29   Re: Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#5

Version 0.9

Only things not working right now are votefreeze and votefootsteps.

Changing mp_footsteps doesn't stop footsteps, I'm looking for another method.

The rest work.
__________________
I'm a blast from the past!
ferret is offline
Onix.fr
Member
Join Date: Nov 2006
Location: Mer, (FRANCE) 41
Old 07-06-2007 , 09:37   Re: Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#6

translation in FR
Attached Files
File Type: txt plugin.extendedvotes.txt (2.9 KB, 307 views)
Onix.fr is offline
supermj
Senior Member
Join Date: May 2004
Location: Georgia
Old 07-07-2007 , 16:34   Re: Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#7

Failing to load with latest sm...57 I believe.
__________________
supermj is offline
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 07-08-2007 , 23:24   Re: Extended Votes (votegravity, voteff, voteburn, votealltalk, etc)
#8

This plugin will no longer be supported or updated. I have created a new voting system that provides these votes. This plugin can continue to be used however, until the new system is a bit more mature.

http://forums.alliedmods.net/showthread.php?t=57636
__________________
I'm a blast from the past!
ferret is offline
Closed Thread



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 06:47.


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