PDA

View Full Version : [FF2] [Plugin] Boss Toggle v1.0.1 (2013/04/13)


jasonfrog
03-14-2013, 16:04
FF2 Boss Toggle v1.0.1 (2013/04/13)

Description:
Allows players to toggle being selected as a Boss via a menu.
Preference is stored as a cookie.
Current queue points and position is reported players that have Boss selection enabled.
All players are reminded of their current preference and how to change it.
Players joining the server that haven't set a preference are requested to do so after a delay.


Cvars:
ff2_boss_toggle_version - Plugin version
ff2_boss_toggle_delay - Delay between joining the server and asking the player for their preference, if it is not set. (Default: 45)

Command:
!ff2toggle - Change your boss selection preference.

Installation:
Install the plugin to the normal plugin directory.
Install translations file to the translations directory.

Change Log
v1.0.1 - Queue points set to -10 for non-boss players.
v1.0 - Initial Release

oreia
03-15-2013, 07:14
Sorry for my noob question but, what this do exactly?!
Changes default queue system? Improve it? It's a modified boss_selection?
Can you give more details how its work?

jasonfrog
03-15-2013, 08:49
It allows players to toggle being selected as a Boss, so if a player doesn't want to play as a Boss, then they can set the option. For players that do want to play as a Boss, then they see a chat message at the start of each round telling them their current position in the queue and the amount of points they.
The preference option is persistent between maps and connections.

I wrote this because there are a minority of players that never want to play as a Boss, that forget to keep resetting their queues points, and end up suiciding when they are selected as a Boss, which wastes time and can cause minor annoyance.

oreia
03-15-2013, 12:06
It allows players to toggle being selected as a Boss, so if a player doesn't want to play as a Boss, then they can set the option. For players that do want to play as a Boss, then they see a chat message at the start of each round telling them their current position in the queue and the amount of points they.
The preference option is persistent between maps and connections.

I wrote this because there are a minority of players that never want to play as a Boss, that forget to keep resetting their queues points, and end up suiciding when they are selected as a Boss, which wastes time and can cause minor annoyance.

Thanks alot jasonfrog! I have some situations like that on my server too.

BBG_Theory
04-12-2013, 14:09
will this also work for original Saxton hale? cant remember if VSH did this already or not

oh and how would this behave if everyone on server choose to not be boss?

jasonfrog
04-12-2013, 21:31
will this also work for original Saxton hale? cant remember if VSH did this already or not

oh and how would this behave if everyone on server choose to not be boss?This won't work with VSH, but I guess it could be adapted.

This plugin simply resets the queue points, every round, for players that don't want to be the Boss. So, if everyone has selected not to be the Boss, then someone will end up being selected.

Just made a slight tweak so that the queue points of players that don't want to be the Boss are now set to -10, rather than 0.

Version 1.0.1 in the first point.

Donski
05-05-2013, 08:46
Hey man, when I tried to compile this myself I got an error:

undefined_symbol "sound_from_player"

Any idea? :)

jasonfrog
05-05-2013, 09:09
Hey man, when I tried to compile this myself I got an error:

undefined_symbol "sound_from_player"

Any idea? :)It's a problem to do with the sourcemod installation that you are using to compile. Are you sure it's complete? What version is it?

sound_from_player is referenced in freak_fortress_2.inc which is included in this plugin.

You need to update/fix your sourcemod install.

Donski
05-05-2013, 14:49
Yeah, at first I was getting 9 errors. Brought it down to that one by using latest Sourcemod. Fixed the error by using the other FF2 include (there were 2, for some reason).

Thanks!

snelvuur
05-09-2013, 08:52
woudl this work on vsh too?

93SHADoW
10-13-2015, 15:09
I'm considering merging this with !ff2boss, so it's all in 1 plugin.

MERGED: https://forums.alliedmods.net/showthread.php?t=273191