[PPB] Pharse's Player Balancer

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

[PPB] Pharse's Player Balancer

Post by greenie »

Comment:
This plugin is a team balancing tool which focuses on each player instead of a whole team. Thus less frustration compared to other non-player-switching balancers and a dynamic adaptation is guaranteed. According to the motto "encouraging instead of spoiling" it supports players in the losing team and players with a bad kill-death-ratio.

I tested it on our CS1.6 server running AMXModX v1.8.0.3 and mp_autoteambalance enabled. Though I see no reason why it shouldn't be used with other player-switching plugins like PTB.


Since this plugin should get the initial damage, I recommend to put it before all other custom plugins in the plugins.ini

Installation:
Download ppb.sma and put it in the following folder: addons\amxmodx\scripting
Open ppb.sma with compile.exe (should be in the same folder). Alternatively drag knife_blink.sma on compile.exe
Copy ppb.amxx from addons\amxmodx\scripting\compiled and paste it into addons\amxmodx\plugins
Go to the following folder: addons\amxmodx\configs ; and open plugins.ini
Scroll down to the end of the file and add there the following line: ppb.amxx ; save and close plugins.ini
You can add your custom CVars in amxx.cfg located in addons\amxmodx\configs
Restart your server or change the map.
Tested and compiled with AMX Mod X v1.8.0
/*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

[PPB] Pharse's Player Balancer

Description:

This plugin tries to help balancing the teams by focusing on each player.
It changes the damage a player takes and deals depending on his/her rounds in the losing team and on the kill/death ratio.
The players will be informed that they deal more / take less damage, however they may not know the exact values.

CVARs:

ppb_enable <1/0> -- enables / disables the plugin (default: 1)
ppb_startatround <1/2/...> -- the round when PPB starts balancing (default: 2)
ppb_winlead <1/2/...> -- the amount of lost rounds in a row that a team needs to be defined as
"losing team" (default: 2)
ppb_maxdamagemod <0.1/0.2/...> -- damage modifier; 0.1 would result in a maximum in-/decrease of 10% (default: 0.5)
ppb_severity <1/2/...> -- defines the lost rounds that the losing team needs to reach
the MaxDamageMod (default: 3)
ppb_startatkd <2/3/...> -- PPB starts balancing the K/D ratio when kills+deaths reach this value. -1 disables
this feature. NOTE: PPB sets both kills and deaths to a minimum of 1. (default: 6)
ppb_friendlyfire <1/0> -- enables / disables the damage effect for teammates, including the attacking
player him-/herself. (default: 0)
ppb_debug <1/0> -- enables / disables debug mode. Debug messages are only visible for admins with
the ADMIN_KICK flag. (default: 0)

Changelog:

1.0
-- Initial release

*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*/
get plugin
Post Reply

Return to “Server Management”