From b3003583a1a66f5ae2eae63763f285635b43d58f Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 4 Nov 2026 18:08:07 +0100 Subject: 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=. --- src/hl2h.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/hl2h.h') diff --git a/src/hl2h.h b/src/hl2h.h index 55fac0d..1be1bb1 100644 --- a/src/hl2h.h +++ b/src/hl2h.h @@ -231,6 +231,8 @@ extern FeatureState g_bhop, g_abh, g_jumpbug, g_melee, g_spread, g_esp, g_world_tint, g_fog, g_skybox, g_projectiles, g_chams; extern bool g_proj_fuse, g_proj_radius; extern bool g_chams_walls; +extern bool g_chams_viewmodel; +extern int g_chams_mat_index; extern int g_chams_rgb[3]; extern bool g_tint_world_on, g_tint_sky_on, g_tint_prop_on; 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(); void silentaim_reset_lock(); void *entitylist_get(int idx); bool esp_is_npc_index(int idx); +bool esp_is_viewmodel_index(int idx); void *world_find_material(const char *name); void chams_init(); int engine_get_local_player(); -- cgit v1.2.3