10 hours ago10 hr Administrator Teams fight to hold a single marked zone and gain points for every second they alone hold it; the first team to the target score wins. Team King of the Hill 1.0.0 (olds.ro) Teams fight over one marked box. Every olds_hill_tick seconds that only one team has living players in the box, that team scores one point; when both teams are inside nobody scores until one side is cleared. The first team to olds_hill_target points wins the round (rg_round_end, so the scoreboard counts the win) and the hill scores start again from zero. Requirements ReHLDS, ReGameDLL_CS, Metamod-r, ReAPIAMX Mod X 1.10.0.5490 or newer Install Compile scripting/olds_hill.sma and copy olds_hill.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.Copy data/lang/olds_hill.txt to addons/amxmodx/data/lang/.Copy configs/hill/ to addons/amxmodx/configs/ (the folder is also made by amx_hillset when it is missing). Commands (ADMIN_CFG) amx_hillset [size] save a box centred on where you stand: size is the half-width (32-1024, default 128); the box reaches 40 units below your origin and 160 above amx_hillset x1 y1 z1 x2 y2 z2 save a box from two opposite corners (also from the server console) amx_hillset add ... the same, but adds a box instead of replacing amx_hillset clear remove this map's boxes amx_hill [reset] boxes, scores and settings; reset zeroes scores The boxes go to addons/amxmodx/configs/hill/<mapname>.ini and are loaded again whenever the map starts. Settings (addons/amxmodx/configs/plugins/olds_hill.cfg, created on first run) olds_hill_target 300 points a team needs to win (5-100000) olds_hill_tick 1 seconds per scoring check, one point each (0.2-30) olds_hill_shiftmove 0 1 = the hill moves to the next saved box every round (needs two or more boxes); 0 = first box only What players see The box is outlined with the stock sprites/laserbeam.spr for everyone: white when empty, red or blue when a team scores, yellow when contested.A HUD line with both scores and the target.Chat lines when the lead changes (with the stock events/task_complete sound), when a team reaches half the target, and when a team wins. How "on the hill" is checked Each tick the plugin walks get_players("a") and tests every player's bounding box (absmin/absmax) against the hill box: the same overlap a touch on a trigger box would report. Freeze time and the end of a round score nothing. Scores reset on sv_restart / game commencing and after a win. No downloads. InstallDownload 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_hill.sma, test/hill_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-0918). Team King of the Hillv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads7 KBUpdated 10 hours agoSign in to downloadolds_hill.smaPawn (AMX Mod X) · 547 lines4 files/* * Team King of the Hill (olds.ro) * * Teams fight over one marked box. Every olds_hill_tick seconds that only one * team has living players in the box, that team scores a point; the first * team to olds_hill_target points wins the round, and the hill scores start * again from zero.Show all 547 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.