Fun vote
2 Attachment(s)
Author: mICKE
WWW: None, Yet Version: 0.40 Requires: Nothing Special Updated: 25st November 04 Allows you to have a vote before every game if you wants fun mode. When the vote is it will pause or unpause the plugins you have defined. Works for NS, CS and should work for any other mod. Commands: amx_funvote_start - Starts a new fun vote Cvars: amx_funvote_wait 60 - How long the server shall wait before it starts the vote, NOT for NS amx_funvote_hud 1 - 0/1 . Decides if the hud with the changes should be displayed amx_funvote_uservote 1 - 0/1 . Decides if users could start a vote amx_funvote_delay 60 - The delay to next vote nomination amx_funvote_ratio 0.30 - How many players that shall nominate before the vote starts How To Define Plugins: Define the plugins you want to have in fun mode in the funvote.ini file. If you dont have it: Start the server with the plugin and it will create the file for you. The syntax is as following: plugin statsu.amxx - Adds a plugin into fun vote (you must also have it in plugins.ini. its a limit in AMXX) pause sv_cheats 0 - when voted off, the cvars with pause first will be run. enable sv_cheats 1 - when voted on, the cvars with enable will be run. hud Low Gravity - adds a line to the changes hud Please tell me if you know some bugs/have any suggestions/ideas or something like that. Quote:
|
That's good. I know somebody requested this, I'm not sure if it was you or you are doing this for them. However, I wouldn't name this plugin Fun Mode since it isn't really Fun Mode, it's a Fun Mode Vote.
|
so....im not sure i get this....we just put like uwc3.amxx in the fumode.ini and say superhero and eevery map it will have a vote for what mod they vote for?
|
Right now its for ns, but i can make it work for cs too if somebody wants it
|
It works like this:
You define which plugins you want to have in funmode like test.amxx. When the vote is it will pause or unpause the plugins. Does anyone want me to "port" this plugin to cs? |
?
Should the plugins be in the plugins.ini also or just the funmode.ini?
|
I'd like this plugin ported to cs if ya can sounds like a good idea for a server that doesn't always want to be a custom map server 8)
|
Quote:
This plugin "only" pauses and unpauses the plugins. Do you want that you only have to specify them in funmode.ini? Quote:
Is a vote when every map starts ok? |
when pause UWC3 and warcraft 3 and csdm the still have settings running on the server. i mean you cant pause them. you can only place a command to turn them on or off like csdm_enable 1
|
a vote at like 1 minute into the map for the different plugins would be nice so everyone has time to load the map or if its possible make it so an admin can start the vote but having them both would be best
|
Im working on cs compability right now.
Shall i add configuration options in the funmode.ini file? like: pause csdm_enable 0 and: unpause csdm_enable 1 |
Here you have the new version!
Check first post for description |
thanx alot I'm putting it on my server right now :D
Questions...So to add missiles I would put this in the .ini file: plugin missiles.amxx? Then when the vote happens it lets you vote yes or no on the plugin? Or when the vote happens it shows all the plugins and you vote for 1 of the plugins to be turned on or off? Another thing is when the plugin missiles is unpaused it still wont be enabled by default so is there any way to have it also do a command for the plugin like amx_missiles 1 or something like that? |
So to add missiles I would put this in the .ini file: plugin missiles.amxx?
Yes Then when the vote happens it lets you vote yes or no on the plugin Or when the vote happens it shows all the plugins and you vote for 1 of the plugins to be turned on or off? You will vote for every plugin in one vote, not a vote for every plugin Another thing is when the plugin missiles is unpaused it still wont be enabled by default so is there any way to have it also do a command for the plugin like amx_missiles 1 or something like that? I dont understand this question but: Every time you change map all the plugins will be enabled because they are in plugins.ini. |
for question number 3 what if a plugin is running but it is off by default so the you would need to type a command like amx_missiles 1 to enable the firing of missiles. any way of making this plugin not only unpause the plugin but also turn the missiles on by using the amx_missiles 1 command?
|
New Version released!
* Changed Name because fun mode vote was not good (mode) * Cleaned up some code in plugin_init * Added the command amx_funvote_wait * Fixed so the names in funvote.ini isn't case sensitive * Added a small debug for file handler Quote:
with pause and enable commands you can run cvars (enable amx_missiles 1) |
I'm not sure if I'm doing this right but this is what I put in my funvote.ini:
Code:
plugin amx_ejl_missiles.amxx |
Quote:
So it you run "amxx list" or "amx_plugins" the plugins wont be showed paused? Are you checking cvar from server console? Btw, what is amx_luds_missiles? |
amx_luds_missiles is the cvar that turns on and off the missiles plugin I have on my server. Its set to 0 by default so I wasted to have people vote for funmode and if it passes then missiles get turned on.
|
New version!
Version 0.23 * Added more debug and changed how it works atambo: Can you tell me more about your problem? Please let me know if you want any more feuture in the plugin. Should i have a cvar for debug or a define (it is a define now)? |
thanx for all the help mICKE I've got it all setup and works great :D even got the new hud messages working so now people know what they are enabling heh
|
New Version! Version 0.24
* Added a new hud that says what it would change * Added a cvar amx_funvote_hud The same that atambo got . |
New version again! Version 0.26
* Optimized debug code. * Optimized ini file comment. |
1 Attachment(s)
Here you have a screenshot in ns:
Its much brighter in game. Can someone give me a screenshot in cs? |
New version! Version 0.28
* Removed a stupid effect on hud * Changed how vote random works |
New Version! Version 0.40.
* Added a way so the users can start a vote too. Rewrote some parts because of this. I think everyone should update. it has bugfixes too. |
can you explain how the voting system works..
i have say 15 mods that we place on the server now and again..,, i was wondering if you place all 15 mods in the .ini file and a vote comes up which chooses 4 mods out of the file and places them in the vote. and that decides the mods for the nest map or current map. ill show you my .ini file to see what i mean. i havent set it up fully yet. Code:
|
Quote:
if you want the users to see the goodies :D i suggest that you use the command hud |
if your using weaponarena you can always add:
Code:
enable weaponarena random this is what my .ini looks like: Code:
enable sv_gravity 200 |
Quote:
You should wait until this next version comes out k. sorry about that. |
i been waiting all week for it
|
Quote:
Sorry that i have forgotten this thread. Is there anything that i should add to coming versions? |
is there a way to get it so they can vote for each plug in individually
ps this is for cs 1.6 |
Re: Fun vote
What should I do to make the player able to use it! Voting instructions?
|
All times are GMT -4. The time now is 10:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.