Captain Team Draft 1.0.0 (olds.ro)
==================================
An admin starts a draft: everyone goes to spectators, two captains are
chosen (at random, by a vote, or named by the admin) and take turns picking
players from a menu. When everyone is picked the teams are set and the round
restarts.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
- AMX Mod X 1.10.0.5490 or newer (with cstrike)
Install
1. Compile scripting/olds_captain.sma and copy olds_captain.amxx to
addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
2. Copy data/lang/olds_captain.txt to addons/amxmodx/data/lang/.
Settings (addons/amxmodx/configs/plugins/olds_captain.cfg, created on first run)
olds_cap_picktime 15 seconds per pick, and the captain vote's length (5-60)
olds_cap_random 1 1 = captains at random, 0 = the players vote
olds_cap_pickorder 1 1 = alternate (A B A B), 2 = snake (A B B A A B)
Command: amx_captain (ADMIN_BAN)
amx_captain start; captains at random or by vote
amx_captain <name> <name> start with these two captains
amx_captain status the draft so far
amx_captain stop cancel; players stay where they are
Rules
- At least 4 players (bots count, HLTV does not); with fewer the command
is rejected with a message.
- Everyone moves to spectators (cs_set_user_team; living players are
killed first without losing a frag). The first captain takes the
terrorists, the second the counter-terrorists.
- The captain whose turn it is gets a menu of the players left. Without a
choice in olds_cap_picktime seconds a random player is picked for them.
- A captain who leaves is replaced by a player of their team (or, if none
yet, of the pool), who continues the draft.
- Players who join during the draft enter the pool; team changes are
blocked while it runs.
- When the pool is empty the teams are set and sv_restart 1 restarts the
round.
No downloads: menus and chat messages only.