Skip to content
View in the app

A better way to browse. Learn more.

Learn more

field-medic/README.txt

README.txt
34 lines · 1.5 KB · Text
Raw
Field Medic 1.0.0 (olds.ro)
===========================

Capture the Flag (jCTF): a teammate spends adrenaline to heal the team's flag
carrier, once per possession.

Requirements
  - AMX Mod X 1.10.0.5490 or newer (cstrike, fun)
  - jCTF (the "jctf" library with jctf_get_team, jctf_get_flagcarrier,
    jctf_get_adrenaline, jctf_add_adrenaline and the jctf_flag forward)
  Without jCTF the plugin still loads, logs one line and refuses /medic.

Install
  1. Compile scripting/olds_fieldmedic.sma and copy olds_fieldmedic.amxx to
     addons/amxmodx/plugins/ (list it after jctf.amxx in plugins.ini).
  2. Copy data/lang/olds_fieldmedic.txt to addons/amxmodx/data/lang/.
  The heal sound is the stock sound/items/smallmedkit1.wav: no downloads.

Settings (addons/amxmodx/configs/plugins/olds_fieldmedic.cfg, made on first run)
  olds_medic_hp 30     health a heal gives (1-100)
  olds_medic_cost 15   adrenaline the volunteer pays (0-100)

How it works
  - Say /medic (say or say_team). The plugin finds your team's living flag
    carrier and heals them by olds_medic_hp, capped at 100 HP.
  - Adrenaline is taken only when the heal happens: no carrier, healing
    yourself, a carrier at 100 HP, a carrier already healed during this
    carry, or too little adrenaline are all refused with nothing charged.
  - A possession starts each time the flag is stolen or picked up; drops,
    captures and a new round clear the allowance.
  - Both players get a chat notice; the heal plays smallmedkit1.wav.

Admin
  amx_medic_status   (ADMIN_KICK) carriers, their health and heal state

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.