Hostage Creator (olds.ro workshop card LIB-0863)
Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.
Admins place extra hostages on maps or modes that lack them. Positions are
saved per map in configs/hostages/<map>.ini (x y z yaw per line) and the
hostages appear every round.
Commands (flag ADMIN_CFG; others are denied):
amx_hostadd [x y z] an extra hostage at your feet, facing your way
(from the server console: give x y z)
amx_hostdel [number] removes the nearest extra hostage (within 300 units),
or the given number
amx_hostlist lists them and marks each saved spot for you with a
green beam (sprites/laserbeam.spr) for 10 seconds
Each change is saved at once. More than olds_hostmake_max extra hostages
(default 4, at most 16) are refused.
The hostages are hostage_entity made with rg_create_entity, with the stock
models models/hostage.mdl and models/scientist.mdl in turn. (The stock
models/hostage01.mdl to hostage04.mdl are not models of their own: they hold
the animations of hostage.mdl, and the engine stops with a fatal error if it
is asked to load one as a model.) At every round start
(RG_CSGameRules_RestartRound) a missing one is made again; the game itself
puts the existing ones back on their spots and revives them. Only the map's
own hostages are left alone: this plugin touches only the ones it made.
On maps without a rescue zone the game rescues hostages at the CT spawn.
Install: compile scripting/olds_hostmake.sma with amxxpc 1.10 and add
olds_hostmake.amxx to plugins.ini. Needs ReAPI, fakemeta and hamsandwich.
No downloads: the models, the hostage sounds and the sprite are stock.