CSB Grappling Hook

v1.0.0 12 изтегляния Daemon666 Последна актуализация: Jul 16, 2026

A +hook grappling hook: traces to a surface, draws a beam and pulls the player toward it, with range, cooldown and VIP gating.

CSB Grappling Hook gives players a Spider-Man style grapple bound to a key. Pressing +hook traces from your eyes along your aim to the first solid surface within csb_hook_range; if it hits, a laser beam is drawn to the anchor and you are pulled toward it by setting your velocity every frame in PlayerPreThink. Release the key (or arrive) to detach, which starts a short cooldown.

Inspired by the classic Hook plugin. Independent GPL re-implementation; no original code is reused.

Features

  • bind KEY +hook — grapple to whatever your crosshair is on.
  • Max range and pull speed are cvars; a per-use cooldown prevents spam.
  • Laser beam drawn to the anchor point while hooking.
  • Optional VIP/flag gating via csb_hook_viponly.

Installation

  1. Enable the fakemeta module in modules.ini.
  2. Compile csb_grappling_hook.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map, then bind mouse4 +hook.

Инсталация

1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini
2. Put csb_grappling_hook.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map
4. bind a key to +hook

Cvar-и

CVARDefaultDescription
csb_hook_enabled 1 Enable or disable the grappling hook.
csb_hook_range 1500 Maximum hook range in units.
csb_hook_pull 700 Pull speed applied toward the anchor.
csb_hook_cooldown 3.0 Seconds of cooldown after releasing the hook.
csb_hook_viponly 1 Require the VIP/reservation flag (t) to use the hook.

Команди

CommandAccessDescription
+hook t (ADMIN_LEVEL_H) when viponly=1 Hold to grapple toward your crosshair.

Списък с промени — v1.0.0

1.0.0 - Initial release.
Версии →
Сътрудници: Daemon666 ✦
Лиценз: GPL-3.0

Оценка

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Изтегли .sma
Файлове:
csb_grappling_hook.sma main 5.4 KB

Изисквания

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Незадължително
ReAPI Незадължително
Metamod Metamod / Metamod-r
Модули fakemeta
Известни конфликти Other plugins that overwrite pev_velocity every frame (some anti-cheats, other movement mods) will fight the pull.
Обратно към плъгините