Skip to content
View in the app

A better way to browse. Learn more.

Learn more

hostage-carry/README.txt

README.txt
46 lines · 2.2 KB · Text
Raw
Hostage Carry 1.0.0 (olds.ro)
=============================

Hostage Rescue: a counter-terrorist picks a hostage up and carries it on the
back, as in newer Counter-Strike games, then sets it down in the rescue zone.

Requirements
  - AMX Mod X 1.10.0.5490 or newer (cstrike, fakemeta, hamsandwich)
  - ReGameDLL_CS 5.30.0.814 or newer with ReAPI 5.29.0.358 or newer

Install
  1. Compile scripting/olds_hcarry.sma and copy olds_hcarry.amxx to
     addons/amxmodx/plugins/.
  2. Copy data/lang/olds_hcarry.txt to addons/amxmodx/data/lang/.
  3. Players bind a key: bind h +carry
  No downloads: the hostage keeps its stock model; the stock
  sound/hostage/hos1.wav plays on pick-up.

Settings (addons/amxmodx/configs/plugins/olds_hcarry.cfg, made on first run)
  olds_hcarry_speed 0.8     the carrier's speed as a share of normal (0.3-1)
  olds_hcarry_dropdmg 1     1 = a carrier hurt by another player drops the
                            hostage
  olds_hcarry_maxhp 100     only hostages with at most this much health can
                            be carried (100 = every stock hostage)

How it works
  - +use on a hostage (or +carry while looking at one, or standing next to
    it) picks it up: it rides on the carrier (pev_movetype MOVETYPE_FOLLOW,
    pev_aiment = the carrier, no collision) and its own AI waits. The
    carrier's maximum speed is multiplied by olds_hcarry_speed (kept through
    weapon switches, Ham_CS_Player_ResetMaxSpeed); hos1.wav plays.
  - +carry again sets the hostage down at the carrier's feet; it walks again
    and follows the carrier.
  - Walking into a hostage rescue zone with a hostage on the back sets it
    down there, and the game rescues it as usual (the rescue, money and
    score are the game's own).
  - When the carrier dies (RG_CBasePlayer_Killed) the hostage is put down
    where the body fell, without a leader. It is also put down when the
    carrier leaves or the round restarts.
  - Terrorists cannot pick hostages up; their use is refused.
  The carrier's speed is set through the player's maxspeed (ReAPI
  set_entvar var_maxspeed), and the rescue uses the game's own rescue zone
  logic, so no hostage hook is needed.

Admin
  amx_hcarry_status   (ADMIN_KICK) who carries a hostage, and rescues so far

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.