Skip to content
View in the app

A better way to browse. Learn more.

Learn more

gungame-core/README.txt

README.txt
48 lines · 2.3 KB · Text
Raw
GunGame Core 1.0.0 (olds.ro)
============================

The base gun game: every kill moves the killer one weapon up a fixed ladder,
and the first player to kill with the final weapon wins. The round ends with
the winner announced (rg_round_end), and everyone starts again at level 1
the next round.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer

Install
  1. Compile scripting/olds_gungame.sma and copy olds_gungame.amxx to
     addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  2. Copy data/lang/olds_gungame.txt to addons/amxmodx/data/lang/ and
     configs/gungame.ini to addons/amxmodx/configs/.
  3. Optional sounds: sound/olds/gg/levelup.wav and
     sound/olds/gg/levelsteal.wav. Without them the stock
     sound/buttons/bell1.wav is used (nothing to download).

Ladder (addons/amxmodx/configs/gungame.ini)
  One weapon per line, first to last (glock18, usp, ..., hegrenade, knife;
  "weapon_" is optional). Unknown names are logged and skipped. Without the
  file, or with fewer than two valid weapons, the same 26-level ladder is
  built in.

Settings (addons/amxmodx/configs/plugins/olds_gungame.cfg, created on first run)
  olds_gg_knifelevel 1         levels a knife kill takes from the victim (0-5)
  olds_gg_winlevel 0           level whose kill wins; 0 = the last level
  olds_gg_reset_on_suicide 1   1 = a suicide (fall, world, own grenade) costs one level
  olds_gg_hs_bonus 0           1 = a headshot kill is worth two levels (never
                               past the winning level: the win needs a kill on it)

Commands (ADMIN_CFG)
  amx_gg_status                    the ladder and every player's level
  amx_gg_setlevel <name> <level>   set a player's level

Rules
  - Every spawn strips all weapons and gives the knife plus the level's
    weapon with full ammo. After a level-up the new weapon comes on the
    next frame (RG_CBasePlayer_Killed, then rg_give_item).
  - Buying, picking up and dropping weapons are blocked. On an HE grenade
    level a new grenade comes a second after each throw.
  - Knife kill (not on the knife level): the victim loses
    olds_gg_knifelevel levels, the killer gains one.
  - RG_CBasePlayer_TakeDamage notes headshots for olds_gg_hs_bonus.
  - Team kills change nothing.

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.