Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Featured Replies

  • Administrator

Revives dead human players when playing deathmatch with bots, so a lone human gets a continuous game.

Bot Revive 1.0.0 (olds.ro)

For deathmatch with bots: while at least one bot is on the server, a human who dies is revived after olds_botrevive_delay seconds with the standard spawn loadout, and a HUD line counts down. A lone human playing against bots gets a continuous game. Without bots the plugin does nothing and deaths stay final for the round.

Requirements

  • AMX Mod X 1.10.0.5490 or newer, with ReAPI (ReGameDLL_CS)

Install

  • Compile scripting/olds_botrevive.sma and copy olds_botrevive.amxx to addons/amxmodx/plugins/.
  • Copy data/lang/olds_botrevive.txt to addons/amxmodx/data/lang/. No downloads: the countdown is HUD text.

Settings (addons/amxmodx/configs/plugins/olds_botrevive.cfg, made on first run)

  olds_botrevive_delay 5       seconds before the revive
  olds_botrevive_bots_only 1   1 = only humans are revived (when bots are
                               present); 0 = bots are revived too
  olds_botrevive_max 0         revives per player per round (0 = no limit);
                               past it the player is told and stays dead

How it works

  • RG_CBasePlayer_Killed (post) starts the countdown when a bot is on the server (is_user_bot); at its end the player, still dead and still on T or CT, is respawned with rg_round_respawn - unless the bots have left in the meantime or the round is already ending.
  • Spawning by other means cancels a pending revive; the counts are reset at every round restart (RG_CSGameRules_RestartRound).

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/olds_botrevive.sma, test/br_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 (LIB-0779).

Bot Revive
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads2.8 KBUpdated 2 hours ago
Sign in to download
Pawn (AMX Mod X) · 138 lines
/*
 * Bot Revive (olds.ro workshop card LIB-0779) - Deathmatch with bots
 *
 * While at least one bot is on the server, a human who dies is revived after
 * olds_botrevive_delay seconds (rg_round_respawn, the standard spawn loadout), with a HUD
 * countdown, so a lone human playing against bots gets a continuous game. With
 * olds_botrevive_bots_only 0 bots are revived too. olds_botrevive_max limits the revives
Show all 138 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.