Skip to content
View in the app

A better way to browse. Learn more.

Learn more

bot-revive/README.txt

README.txt
32 lines · 1.5 KB · Text
Raw
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
  1. Compile scripting/olds_botrevive.sma and copy olds_botrevive.amxx to
     addons/amxmodx/plugins/.
  2. 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).

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.