Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Contested Hill Meter

Featured Replies

  • Administrator

While both teams stand on the hill, nobody gains points and a shared HUD meter shows the hill is contested. The side with more players inside slowly pushes the meter toward them; only when the meter tips fully does scoring resume for that team.

Contested Hill Meter (olds.ro) 1.0.0 Copyright (C) 2026 daemon (olds.ro). Licence: GPL-3.0-or-later.

An add-on for King of the Hill: a contested hill freezes the score until one side pushes a shared meter all the way.

  • Every 0.5 s the living players of each team inside the hill are counted.
  • The meter runs from -100 (Terrorists) to +100 (CTs). It moves olds_hillpush points per extra player toward the side with more players inside; equal numbers leave it still.
  • A team alone on an uncontested hill scores as before (one point a second).
  • When both teams stand on the hill, nobody scores until the meter reaches the end of the side with more players inside; then that side scores again (even with enemies inside).
  • A HUD bar (21 characters, set_hudmessage) shows the meter and whether the hill is contested, held or open.
  • The meter goes back to 0 at every round start.
  • amx_hillmeter_status (ADMIN_KICK) shows the meter and the counts.

The core: scripting/include/olds_hill_api.inc lists what the plugin needs from a King of the Hill core (library "olds_hill"): olds_hill_get_zone, olds_hill_add_score and olds_hill_set_external. With such a core, the zone comes from the core, points go through olds_hill_add_score and the core stops scoring on its own. Without one (for example the current Team King of the Hill plugin, which has no API yet), the plugin reads the box for the map from configs/olds_hill.ini and keeps its own score in the HUD.

Cvar: olds_hillpush 4.

No downloads. Install: compile scripting/olds_hillmeter.sma with amxxpc 1.10 (ReAPI; the include folder must be on the include path), add olds_hillmeter.amxx to plugins.ini after the core and copy data/lang/olds_hillmeter.txt and configs/olds_hill.ini.

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/include/olds_hill_api.inc, addons/amxmodx/scripting/olds_hillmeter.sma, test/hilltest_stub.sma

Idea: daemon · 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 (IDEA-86E191A05B0F3B87).

Contested Hill Meter
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5.3 KBUpdated 6 hours ago
Sign in to download
Pawn (AMX Mod X) · 278 lines
/*
 * Contested Hill Meter (olds.ro workshop card IDEA-86E191A05B0F3B87)
 * Copyright (C) 2026 daemon (olds.ro)
 *
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 278 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.