Prodvigat server
csb-grappling-hook / csb.json
57 lines 2 KiB JSON Raw Permalink History
{
    "name": "CSB Grappling Hook",
    "category": "movement",
    "tags": "hook, grapple, movement",
    "image": "",
    "original_author": "",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Grappling Hook",
    "short_desc": "A +hook grappling hook: traces to a surface, draws a beam and pulls the player toward it, with range, cooldown and VIP gating.",
    "version": "1.0.0",
    "amxx_min": "1.9",
    "amxx_compile_default": "1.9",
    "rehlds_ok": true,
    "hlds_ok": true,
    "regamedll_required": false,
    "metamod_flavor": "any",
    "reapi_required": false,
    "modules": "fakemeta",
    "install_notes": "1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini\n2. Put csb_grappling_hook.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Change map\n4. bind a key to +hook",
    "known_conflicts": "Other plugins that overwrite pev_velocity every frame (some anti-cheats, other movement mods) will fight the pull.",
    "cvars": [
        {
            "name": "csb_hook_enabled",
            "default": "1",
            "description": "Enable or disable the grappling hook."
        },
        {
            "name": "csb_hook_range",
            "default": "1500",
            "description": "Maximum hook range in units."
        },
        {
            "name": "csb_hook_pull",
            "default": "700",
            "description": "Pull speed applied toward the anchor."
        },
        {
            "name": "csb_hook_cooldown",
            "default": "3.0",
            "description": "Seconds of cooldown after releasing the hook."
        },
        {
            "name": "csb_hook_viponly",
            "default": "1",
            "description": "Require the VIP/reservation flag (t) to use the hook."
        }
    ],
    "commands": [
        {
            "name": "+hook",
            "access": "t (ADMIN_LEVEL_H) when viponly=1",
            "description": "Hold to grapple toward your crosshair."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_grappling_hook.sma"
}