Daemon666 / CSB Grappling Hook Публичен

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

v1.0.0 149 изтегляния GPL-3.0 Последна актуализация Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 May 21, 2025 1 Версии
csb_grappling_hook.sma main ef9e519 5.4 KB
README.md

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.
Версии →
Оценка

No ratings yet.

Относно
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Изтегли .sma
Изисквания
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.
Сътрудници
Обратно към плъгините