Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Captain's Succession Card

Featured Replies

  • Administrator

Show both teams' captain successions after the round.

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

  • Compile scripting/olds_succession.sma and copy olds_succession.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_succession.txt to addons/amxmodx/data/lang/.
  • 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.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/include/olds_succession.inc, addons/amxmodx/scripting/olds_succession.sma, test/captain_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-099).

Captain's Succession Card
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.6 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 252 lines
/*
 * Captain's Succession Card (olds.ro workshop card AMX-099)
 *
 * 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
Show all 252 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.