Skip to content
View in the app

A better way to browse. Learn more.

Learn more

team-gun-game/README.txt

README.txt
48 lines · 2.4 KB · Text
Raw
Team Gun Game 1.0.0 (olds.ro)
=============================

Gun game for teams: kills by any teammate raise the whole team's shared
weapon level, and the first team to finish the ladder wins.

Requirements
  - AMX Mod X 1.10.0.5490 or newer
  - ReGameDLL_CS 5.30.0.814 or newer with ReAPI 5.29.0.358 or newer

Install
  1. Compile scripting/olds_teamgg.sma and copy olds_teamgg.amxx to
     addons/amxmodx/plugins/.
  2. Copy configs/teamgg.ini to addons/amxmodx/configs/ and
     data/lang/olds_teamgg.txt to addons/amxmodx/data/lang/.
  No downloads: the level-up sound is the stock events/task_complete.wav and
  the weapons come from the base game.

Settings (addons/amxmodx/configs/plugins/olds_teamgg.cfg, made on first run)
  olds_tgg_killsperlevel 3   enemy kills by the team for the next level
  olds_tgg_winlevel 20       the level that wins (capped at the ladder)
  olds_tgg_keepprogress 1    1 = levels carry over between rounds,
                             0 = both teams start over every round
  olds_tgg_winend 0          a win ends 0 = the round, 1 = the map
                             (changes to amx_nextmap, or reloads this map)

The ladder (configs/teamgg.ini)
  One weapon per line, first level first: glock18, usp, ... knife. The
  "weapon_" prefix is optional; unknown names are logged and skipped. With
  fewer than two valid weapons a built-in ladder is used.

How it works
  - Levels and kill counts are kept per team (arrays indexed by TeamName).
  - An enemy kill by any player counts for the killer's team
    (RG_CBasePlayer_Killed); suicides, falls and team kills do not count.
  - Every olds_tgg_killsperlevel kills the team goes up a level: the team
    hears task_complete.wav, and every living teammate gets the new weapon
    (rg_give_item, full spare ammo) at once. Players get their team's weapon
    at every spawn (RG_CBasePlayer_Spawn) and when moved to the other team.
  - A HUD line shows both teams' level, weapon and kills toward the next level.
  - The first team to reach olds_tgg_winlevel wins: announced in chat, the
    round ends for that team (rg_round_end), and the next round starts a new
    race; with olds_tgg_winend 1 the map changes 5 seconds later.
  - sv_restart (a complete reset) also starts a new race.

Admin
  amx_tgg_status                    (ADMIN_KICK) both teams' levels
  amx_tgg_setlevel <T|CT> <level>   (ADMIN_CFG)  set a team's level

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.