Skip to content
View in the app

A better way to browse. Learn more.

Learn more

double-kill-reward/README.txt

README.txt
65 lines · 2.9 KB · Text
Raw
Double Kill Reward 1.0.0 (olds.ro)
==================================

For a short window in each round every kill counts double: the killer gets
one extra frag and some extra money on top of the game's own reward. The
window opens when the round starts or with the round's first kill, and a
HUD line shows everyone how many seconds are left.

  - olds_dk_start 1: the window opens when the freeze time ends.
    olds_dk_start 2: it opens with the round's first kill on an enemy (that
    kill itself counts once).
  - The window lasts olds_dk_time seconds (20). A HUD timer at the top of
    the screen counts down and disappears when it closes.
  - Each kill on an enemy in the window gives +1 frag (the scoreboard shows
    it at once) and olds_dk_money extra money (300), with a bell sound and
    a chat line for the killer.
  - With olds_dk_headshot 1 only headshot kills count double; body kills
    count as normal.
  - A team kill gets no bonus, and the game's own team-kill penalty applies
    as usual.
  - The window opens at most once per round. A new round shuts it and
    clears the HUD, then it opens again as olds_dk_start says.
  - Money never goes above mp_maxmoney (16000 by default).
  - With mp_freeforall 1 (ReGameDLL_CS) every other player is an enemy.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer, with the cstrike and fun modules
    (enabled by default)

Install
  1. Compile scripting/olds_doublekill.sma and copy olds_doublekill.amxx to
     addons/amxmodx/plugins/. The compiler needs ReAPI's include files
     (reapi.inc and the reapi_*.inc files from the ReAPI release, in
     addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.
  2. Copy data/lang/olds_doublekill.txt to addons/amxmodx/data/lang/.
  3. Copy configs/plugins/olds_doublekill.cfg to
     addons/amxmodx/configs/plugins/ and change the values you want.
     (If the file is missing, the plugin writes one with the defaults the
     first time it starts.)
  4. Add olds_doublekill.amxx to addons/amxmodx/configs/plugins.ini.

Settings (addons/amxmodx/configs/plugins/olds_doublekill.cfg)
  olds_dk_start 1          1 = the window opens when the round starts;
                           2 = it opens with the round's first kill
  olds_dk_time 20          seconds the window stays open
  olds_dk_money 300        extra money for a kill in the window
  olds_dk_headshot 0       1 = only headshot kills count double

Commands
  None.

Texts
  The chat lines and the HUD timer ("DOUBLE KILLS: 15 s", HUD channel 2)
  are in data/lang/olds_doublekill.txt and can be translated there. The
  sound is the game's own buttons/bell1.wav, so nothing is downloaded.

Tested on
  ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149,
  AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358.

Credits and licence
  Written from scratch by alexit (olds.ro workshop) for workshop card
  LIB-0222. Licence: GNU General Public License v3.0 or later
  (GPL-3.0-or-later).

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.