Skip to content
View in the app

A better way to browse. Learn more.

Learn more

False Footfalls

Featured Replies

  • Administrator

Let a zombie spend a charge to replay the positions of its own last three footsteps.

False Footfalls 1.0.0 (olds.ro) - Zombie Plague 5.x add-on

A zombie spends a charge to replay its own last three footsteps: the step sounds play again, one after the other, at the places where it stepped, so the humans think it is still there.

Requirements

  • AMX Mod X 1.10.0.5490 or newer; fakemeta, hamsandwich
  • Zombie Plague 5.x (library zp50_core: zp_core_is_zombie and the forwards zp_fw_core_infect_post / zp_fw_core_cure_post)

Install

  • Compile scripting/olds_footfalls.sma and copy olds_footfalls.amxx to addons/amxmodx/plugins/ (after the ZP core in plugins.ini).
  • Copy data/lang/olds_footfalls.txt to addons/amxmodx/data/lang/. No downloads: the stock sound/player/pl_step1.wav - pl_step4.wav, already on every client.

Settings (addons/amxmodx/configs/plugins/olds_footfalls.cfg, made on first run)

  olds_footfalls_charges 2   replays per zombie per round
  olds_footfalls_gap 0.4     seconds between two replayed steps

Players (zombies)

  say /echo   replay the last three steps of this round

How steps are recorded

  • Only for living zombies, only points inside the world with ground under them, and only the last three are kept (oldest is replaced).
  • From step sounds the server emits through EmitSound (FM_EmitSound, player/pl_step*, pl_dirt*, pl_tile*... from the player). The game plays most footsteps through player movement without that call, so running movement is recorded too: one step per 70 units at run speed (150+), on the ground. Walking and crouching make no footsteps in the game and are not recorded.
  • Each replayed step is an ambient sound at the stored point (random pl_step1-4), oldest first.

Rules

  • Steps of an earlier round are never replayed (each step carries its round).
  • /echo with no step recorded this round plays nothing and spends no charge.
  • A replay in progress is cancelled on cure, infection, death, disconnect and round end; the stored steps are dropped on cure, infection, death and disconnect.

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_footfalls.sma, test/zp_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 (AMX-084).

False Footfalls
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine HLDS, ReHLDSNeeds ReAPI NoMetamod Metamod-R0 downloads4.4 KBUpdated 3 hours ago
Sign in to download
Pawn (AMX Mod X) · 294 lines
/*
 * False Footfalls (olds.ro workshop card AMX-084) - Zombie Plague 5.x add-on.
 *
 * A zombie spends a charge to replay its own last three footsteps: the step sounds play
 * again, one after the other, at the places where it stepped, to make humans think it is
 * still there.
 *
Show all 294 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.