Skip to content
View in the app

A better way to browse. Learn more.

Learn more

captain-s-succession-card/README.txt

README.txt
41 lines · 1.8 KB · Text
Raw
Captain's Succession Card 1.0.0 (olds.ro)
=========================================

Captain modes: records who was each team's captain during the round, when
the role changed hands, and how long it stood vacant, and shows both teams'
cards to everyone once the round has ended:
    T: (vacant) 0:00-0:20, Alpha 0:20-1:45
    CT: Bravo 0:00-0:52, Charlie 0:52-1:45
Times are from the start of the round.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - A captain mod that reports the captains through this plugin's native
    (directly, or through a small bridge plugin)

Install
  1. Compile scripting/olds_succession.sma and copy olds_succession.amxx to
     addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  2. Copy data/lang/olds_succession.txt to addons/amxmodx/data/lang/.
  3. Copy scripting/include/olds_succession.inc next to the mod's sources.

Use
  say /captains    the last round's card (only once the round has ended)

Settings (addons/amxmodx/configs/plugins/olds_succession.cfg, created on first run)
  olds_succession_max 6   entries kept per team per round (2-12); more are
                          shown as "..."

For the captain mod (include/olds_succession.inc, library "olds_succession")
  olds_succession_set(team, id)   team 1 = T, 2 = CT; id = new captain, or 0
                                  when the role is vacant
  Call it on every assignment, replacement or vacancy. Each team starts every
  round vacant until a captain is named; a captain leaving the server leaves
  the role vacant. Vacancies under one second are not listed.

Rounds: the card is revealed only at the real round end (also a round closed
by another plugin, checked every second). Game Commencing or sv_restart
clears everything.

No downloads: chat text.

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.