Skip to content
View in the app

A better way to browse. Learn more.

Learn more

reserve-runner/README.txt

README.txt
44 lines · 2.1 KB · Text
Raw
Reserve Runner 1.0.0 (olds.ro)
==============================

Deathrun: a runner with spare lives can give one to a teammate who has been
eliminated. The teammate gets a yes/no menu; only a yes moves the life, and
the teammate respawns at once.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - Deathrun Mod by Mistrick (github.com/Mistrick/DeathrunMod): deathrun_core
    (dr_get_terrorist) and deathrun_lifes (dr_get_lifes, dr_set_lifes)

Install
  1. Compile scripting/olds_lifegift.sma and copy olds_lifegift.amxx to
     addons/amxmodx/plugins/, below deathrun_core and deathrun_lifes in
     plugins.ini. The compiler needs ReAPI's include files.
  2. Copy data/lang/olds_lifegift.txt to addons/amxmodx/data/lang/.

Use
  say /gift <name>        offer one of your lives to a dead runner (part of
                          the name is enough)
  olds_lifegift_status    lives, roles and pending offers (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_lifegift.cfg, created on first run)
  olds_lifegift_min 2       lives a donor needs to give one away (2-20), so
                            the donor always keeps at least one
  olds_lifegift_timeout 15  seconds an offer stays open (5-60)

Rules
  - The donor must be a living runner (counter-terrorist) with at least
    olds_lifegift_min lives. The receiver must be a runner who is dead; the
    activator (the terrorist) is never a runner and is refused.
  - One pending offer per donor and per receiver. The offer is cancelled when
    it expires, when the receiver says no, at round end, or when either player
    leaves.
  - On a yes everything is checked again (round still running, both still
    runners, receiver still dead, donor still has enough lives). Then one life
    moves: donor 3 -> 2, receiver 0 -> 1, and the receiver respawns.
  - The move is one function call: both balances are read, written and read
    back with nothing else running in between. If the lives plugin did not
    take the change, both balances are put back and nothing moves.

No downloads: the exchange uses a menu and chat text.

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.