diff options
| author | salmonik <salmonik@tuta.io> | 2026-10-27 20:17:07 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-10-27 20:17:07 +0100 |
| commit | 59432708a4ae926e4be2959dfbb2b4eb80be3fd6 (patch) | |
| tree | 3233f49d2c9b3affbb97d832b4afdccbfb5f43b6 /src/hl2h.h | |
| parent | Fix tooltip truncation; add Stucklaunch assist (diff) | |
| download | hl2h-59432708a4ae926e4be2959dfbb2b4eb80be3fd6.tar.gz hl2h-59432708a4ae926e4be2959dfbb2b4eb80be3fd6.zip | |
Stucklaunch: alternate attack/use and expose spam rate
- Gravity-gun spam now alternates +attack (grab) and +use (drop) instead of
pressing both together, which would punt the prop.
- Add a Spam rate slider (1..16 ticks, default 2) so the pickup/drop cycle can
be tuned; it persists as spam_ticks in [stucklaunch].
- Log the prop index the first few times a stucklaunch engages to aid testing.
Diffstat (limited to 'src/hl2h.h')
| -rw-r--r-- | src/hl2h.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -213,6 +213,7 @@ extern bool g_spread_no_spread; | |||
| 213 | extern bool g_stucklaunch_use_spam; | 213 | extern bool g_stucklaunch_use_spam; |
| 214 | extern bool g_stucklaunch_gravspam; | 214 | extern bool g_stucklaunch_gravspam; |
| 215 | extern bool g_stucklaunch_autostrafe; | 215 | extern bool g_stucklaunch_autostrafe; |
| 216 | extern int g_stucklaunch_spam_ticks; | ||
| 216 | extern bool g_aim_bones[AIM_BONE_COUNT]; | 217 | extern bool g_aim_bones[AIM_BONE_COUNT]; |
| 217 | extern int g_aim_smooth; | 218 | extern int g_aim_smooth; |
| 218 | extern bool g_aim_vischeck; | 219 | extern bool g_aim_vischeck; |
| @@ -254,6 +255,7 @@ bool spread_no_spread_enabled(); | |||
| 254 | bool stucklaunch_use_spam_enabled(); | 255 | bool stucklaunch_use_spam_enabled(); |
| 255 | bool stucklaunch_gravspam_enabled(); | 256 | bool stucklaunch_gravspam_enabled(); |
| 256 | bool stucklaunch_autostrafe_enabled(); | 257 | bool stucklaunch_autostrafe_enabled(); |
| 258 | int stucklaunch_spam_ticks(); | ||
| 257 | bool active_weapon_is_gravity_gun(void *local_ent); | 259 | bool active_weapon_is_gravity_gun(void *local_ent); |
| 258 | bool entity_is_physics_prop(int idx); | 260 | bool entity_is_physics_prop(int idx); |
| 259 | unsigned aimbot_bone_mask(); | 261 | unsigned aimbot_bone_mask(); |
