Skip to content
View in the app

A better way to browse. Learn more.

Learn more

pair-balance/README.txt

README.txt
51 lines · 2.2 KB · Text
Raw
Pair Balance 1.0.0 (olds.ro)
============================

Offers a volunteer move instead of forcing one. When the teams start several
rounds in a row with a gap of at least two players, the player who joined most
recently on the bigger team gets a Yes/No menu for 10 seconds:

    Teams are uneven (7 v 4). Move to the Counter-Terrorists?
    1. Yes, move me
    2. No, I stay

  Yes: the team counts are checked again. If the gap is still there, the
       player moves (at once during the freeze time, otherwise at the start of
       the next round, checked once more then), hears a short click, and
       everyone reads who helped. If the gap has closed meanwhile, nothing
       happens and the player is told so.
  No, or no answer in 10 seconds: nobody moves and the count starts over.

An open offer ends when a new round starts or the offered player changes team.
Only one offer is open at a time. Nobody is ever moved without saying yes.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI (the move uses rg_set_user_team)
  - AMX Mod X 1.10 or newer
  - Tested on AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReGameDLL_CS 5.30.0.814,
    ReHLDS 3.15.0.896

Install
  1. Compile scripting/olds_pairbalance.sma with amxxpc 1.10 and copy
     olds_pairbalance.amxx to addons/amxmodx/plugins/. The compiler needs
     ReAPI's include files (reapi.inc and reapi_*.inc) in
     addons/amxmodx/scripting/include/.
  2. Copy data/lang/olds_pairbalance.txt to addons/amxmodx/data/lang/.
  3. Copy configs/plugins/olds_pairbalance.cfg to addons/amxmodx/configs/plugins/.
  4. Add olds_pairbalance.amxx to addons/amxmodx/configs/plugins.ini.
  It works next to the game's own mp_autoteambalance; if you want only
  volunteer moves, set mp_autoteambalance 0.

Settings (addons/amxmodx/configs/plugins/olds_pairbalance.cfg)
  olds_pairbal_rounds 3   uneven round starts in a row before an offer (1 - 20)
  olds_pairbal_gap    2   least difference in players that counts as uneven (2 - 16)

Commands
  None.

The click is the stock buttons/button9.wav, so nothing is downloaded. Texts
are in data/lang/olds_pairbalance.txt (English).

Credits and licence
  Written from scratch by alexit (olds.ro workshop) for workshop card AMX-026.
  Licence: GPL-3.0-or-later.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.