Skip to content
View in the app

A better way to browse. Learn more.

Learn more

GunGame Core

Featured Replies

  • Administrator

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 or map.

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

  • Compile scripting/olds_gungame.sma and copy olds_gungame.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_gungame.txt to addons/amxmodx/data/lang/ and configs/gungame.ini to addons/amxmodx/configs/.
  • 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.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_gungame.sma, test/gg_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-0838).

GunGame Core
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads6.3 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 391 lines
/*
 * GunGame Core (olds.ro workshop card LIB-0838)
 *
 * 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, and everyone starts again at level
 * 1 the next round.
Show all 391 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.