Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Crossfire Debrief

Featured Replies

  • Administrator

Show which map sectors saw the most hostage damage after the round.

Crossfire Debrief 1.0.0 (olds.ro)

Hostage rescue: counts the damage players deal to hostages in each named map sector (where the hostage stood when hit), so admins can see where hostages keep getting caught in crossfire.

Requirements

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

Install

  • Compile scripting/olds_crossfire.sma and copy olds_crossfire.amxx to addons/amxmodx/plugins/; add it to plugins.ini. The compiler needs ReAPI's include files next to the stock includes.
  • Copy data/lang/olds_crossfire.txt to addons/amxmodx/data/lang/.
  • Copy configs/olds_crossfire/ to addons/amxmodx/configs/olds_crossfire/ and write one <mapname>.ini per map (see _example.ini).

Use

  amx_crossfire           this round's hostage damage by sector, highest
                          first, in the console (ADMIN_MAP)

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

  olds_crossfire_post 1   1 = post the sector with the most hostage damage to
                          chat at round end

What is counted

  • Ham_TakeDamage on hostage_entity and monster_scientist: the pre hook notes the hostage's health and the post hook counts what was actually taken (shooting a hostage in "bridge" for 40 damage adds 40 to bridge).
  • Only damage whose attacker is a player. The world, falls, doors and triggers are ignored.
  • The plugin only reads: damage, frags and money stay exactly as the game computed them.
  • Damage outside every sector box is counted as "(no sector)"; a map with no file still shows that total.
  • Counters start over at every round restart.

No downloads: output is console and chat text 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_crossfire.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 (AMX-023).

Crossfire Debrief
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.8 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 278 lines
/*
 * Crossfire Debrief (olds.ro workshop card AMX-023)
 *
 * Hostage rescue: counts the damage players deal to hostages in each named
 * map sector (where the hostage stood when hit), so admins can see where
 * hostages keep getting caught in crossfire. amx_crossfire prints the totals
 * for this round; with olds_crossfire_post 1 the worst sector is posted to
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.