diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-04 18:08:07 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-04 18:08:07 +0100 |
| commit | b3003583a1a66f5ae2eae63763f285635b43d58f (patch) | |
| tree | d4d2e778a2265652befcc86fbaa8bf1f4fcb30c3 /src/hl2h.h | |
| parent | Chams: quiet material lookup, accept any fallback by name (diff) | |
| download | hl2h-b3003583a1a66f5ae2eae63763f285635b43d58f.tar.gz hl2h-b3003583a1a66f5ae2eae63763f285635b43d58f.zip | |
Chams: material styles and viewmodel support
- Material selector 0..4: debugwhite, debug wireframe (ignorez), vgui
white_additive, debugtranslucentsinglecolor, vgui/white; cached per index
with a debugwhite fallback.
- Add "Viewmodel (hands/weapon)" toggle; viewmodel entities (class contains
viewmodel or model path /v_...) get a normal-depth chams pass.
- [chams] gains viewmodel= and material=.
Diffstat (limited to '')
| -rw-r--r-- | src/hl2h.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -231,6 +231,8 @@ extern FeatureState g_bhop, g_abh, g_jumpbug, g_melee, g_spread, g_esp, | |||
| 231 | g_world_tint, g_fog, g_skybox, g_projectiles, g_chams; | 231 | g_world_tint, g_fog, g_skybox, g_projectiles, g_chams; |
| 232 | extern bool g_proj_fuse, g_proj_radius; | 232 | extern bool g_proj_fuse, g_proj_radius; |
| 233 | extern bool g_chams_walls; | 233 | extern bool g_chams_walls; |
| 234 | extern bool g_chams_viewmodel; | ||
| 235 | extern int g_chams_mat_index; | ||
| 234 | extern int g_chams_rgb[3]; | 236 | extern int g_chams_rgb[3]; |
| 235 | extern bool g_tint_world_on, g_tint_sky_on, g_tint_prop_on; | 237 | extern bool g_tint_world_on, g_tint_sky_on, g_tint_prop_on; |
| 236 | extern int g_tint_world_rgb[3], g_tint_sky_rgb[3], g_tint_prop_rgb[3]; | 238 | extern int g_tint_world_rgb[3], g_tint_sky_rgb[3], g_tint_prop_rgb[3]; |
| @@ -334,6 +336,7 @@ void aimbot_reset_lock(); | |||
| 334 | void silentaim_reset_lock(); | 336 | void silentaim_reset_lock(); |
| 335 | void *entitylist_get(int idx); | 337 | void *entitylist_get(int idx); |
| 336 | bool esp_is_npc_index(int idx); | 338 | bool esp_is_npc_index(int idx); |
| 339 | bool esp_is_viewmodel_index(int idx); | ||
| 337 | void *world_find_material(const char *name); | 340 | void *world_find_material(const char *name); |
| 338 | void chams_init(); | 341 | void chams_init(); |
| 339 | int engine_get_local_player(); | 342 | int engine_get_local_player(); |
