A +hook grappling hook: traces to a surface, draws a beam and pulls the player toward it, with range, cooldown and VIP gating.
Daemon666
1.0.0 - Initial release.
| 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
- Enable the
fakemetamodule inmodules.ini. - Compile
csb_grappling_hook.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map, then
bind mouse4 +hook.
Instalare
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-uri
| CVAR | Default | Description |
|---|---|---|
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. |
Comenzi
| Command | Access | Description |
|---|---|---|
+hook |
t (ADMIN_LEVEL_H) when viponly=1 |
Hold to grapple toward your crosshair. |
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.Versiuni →
Evaluare
No ratings yet.
Download v1.0.0
Cerințe
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opțional |
| ReAPI | Opțional |
| Metamod | Metamod / Metamod-r |
| Module | fakemeta |
| Conflicte cunoscute | Other plugins that overwrite pev_velocity every frame (some anti-cheats, other movement mods) will fight the pull. |
Contribuitori









