Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Captain Knife Duel

Featured Replies

  • Administrator

Before the draft the two captains fight a one-round knife duel on a cleared spot of the map while everyone else watches. The winner chooses either first pick or the starting side.

Captain Knife Duel (olds.ro workshop idea IDEA-03C1F3999BB7F7B5) Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.

Before a captain draft the two captains fight a knife duel while everyone else watches; the winner chooses the first pick or the starting side.

  • When the core names the captains, the duel holds the draft. Captain A plays the Terrorists, captain B the Counter-Terrorists. Both are (re)spawned, stripped (rg_remove_all_items), given weapon_knife and 100 health, and stand on the map's spots from configs/olds_capduel.ini (or, for maps not listed, the first T and the first CT spawn).
  • Everyone else is frozen (FL_FROZEN) and moved to the spectators: only the captains can move or attack. Captains cannot buy or pick up.
  • A kill (RG_CBasePlayer_Killed) wins the duel. After olds_capduel_time seconds the captain with more health wins; equal health: random. A captain who leaves loses.
  • The winner gets a menu: "The first pick" or "The starting side" (then Terrorists / Counter-Terrorists). The loser gets the other: picking a side gives the loser the first pick. No choice in 15 seconds: the first pick. Then the draft goes on.
  • olds_capduel 0: no duel, the draft starts directly.

The draft core: this plugin needs a core with the API in scripting/include/olds_captain_duel.inc (library "olds_captain"): forward olds_cap_captains_ready(captainA, captainB) called with ET_STOP (an add-on returning PLUGIN_HANDLED holds the draft), natives olds_cap_set_first_pick(captain), olds_cap_set_side(captain, team) and olds_cap_release_draft(). Without a core the plugin loads and stays idle.

Cvars (configs/plugins/olds_capduel.cfg): olds_capduel 1, olds_capduel_time 60 (10-600). Admin: amx_capduel_status (ADMIN_RCON).

Install: compile scripting/olds_capduel.sma with amxxpc 1.10 (with include/olds_captain_duel.inc), add olds_capduel.amxx to plugins.ini after the draft core, copy data/lang/olds_capduel.txt and configs/olds_capduel.ini. Needs ReAPI and fakemeta. No downloads.

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_captain_duel.inc, addons/amxmodx/scripting/olds_capduel.sma, test/core_stub.sma

Idea: daemon · 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 (IDEA-03C1F3999BB7F7B5).

Captain Knife Duel
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads6.7 KBUpdated 6 hours ago
Sign in to download
Pawn (AMX Mod X) · 424 lines
/*
 * Captain Knife Duel (olds.ro workshop idea IDEA-03C1F3999BB7F7B5)
 * Copyright (C) 2026 daemon (olds.ro)
 *
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 424 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.