Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Alternate Hostage Rescue

Featured Replies

  • Administrator

Replaces normal hostage rescue with a different method: hostages must be escorted to marked rescue points, or defended for a timer, instead of walking to the rescue zone.

Alternate Hostage Rescue 1.0.0 (olds.ro)

Replaces the normal hostage rescue on maps that have a points file:

  mode 1  marked points: a hostage counts as rescued when it stands within a
          point's radius with a living counter-terrorist escorting it (within
          200 units). The escort is paid olds_althost_reward, once per
          hostage. Every surviving hostage rescued (at least one): the CTs win.
  mode 2  defend timer: keep at least one hostage alive for olds_althost_time
          seconds after freeze time: the CTs win and every living CT is paid
          olds_althost_reward.

In both modes, every hostage dead with none rescued: the terrorists win. The map's own rescue zones are switched off on those maps, so walking a hostage into one counts for nothing. Eliminations and the round timer work as usual.

Requirements

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

Install

  • Compile scripting/olds_althost.sma and copy olds_althost.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_althost.txt to addons/amxmodx/data/lang/.
  • Create addons/amxmodx/configs/hostpoints/<map>.ini for each map (see configs/hostpoints/_example.ini).

Points (configs/hostpoints/<map>.ini), one per line:

    "Point name"  x y z  [radius 32-512, default 96]
  Bad lines are logged and skipped. A map without the file, or without a
  valid point, keeps the normal rescue and the plugin does nothing there.

Settings (addons/amxmodx/configs/plugins/olds_althost.cfg, created on first run)

  olds_althost_mode 1       1 = escort to points, 2 = defend timer
  olds_althost_time 90      mode 2: seconds to hold (10-600)
  olds_althost_reward 800   money per rescue (mode 1) or per living CT (mode 2)

Command: amx_althost [reload] (ADMIN_MAP) shows the points, the hostages and the round so far; reload reads the points file again.

How it works

  • RG_CSGameRules_CheckWinConditions (and a check twice a second) decide the round; rg_round_end ends it; rg_add_account pays.
  • Points are shown with a vertical beam (stock sprites/laserbeam.spr) in mode 1; a rescue plays the stock radio/rescued.wav.

No downloads: stock sprite and sound only.

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_althost.sma, test/althost_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-0860).

Alternate Hostage Rescue
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads6.6 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 440 lines
/*
 * Alternate Hostage Rescue (olds.ro workshop card LIB-0860)
 *
 * Replaces the normal hostage rescue on maps that have a points file:
 *   mode 1  marked points: a hostage counts as rescued when it stands within
 *           a point's radius with a living counter-terrorist escorting it
 *           (within 200 units). The escort is paid olds_althost_reward once
Show all 440 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.