From 0992b91f657676acafc8d74b42a1f24368b4f71f Mon Sep 17 00:00:00 2001 From: Emmanuel AYME Date: Tue, 6 Jan 2026 11:37:29 +0100 Subject: [PATCH] Change cheat name --- external/reshade/shaders/OSD.fx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/external/reshade/shaders/OSD.fx b/external/reshade/shaders/OSD.fx index e740825..2e7cd5c 100644 --- a/external/reshade/shaders/OSD.fx +++ b/external/reshade/shaders/OSD.fx @@ -15,9 +15,9 @@ uniform float TD_AI = 1.0; // God mode uniform bool OSD_ShowGodMode = false; uniform bool GodMode_Enabled = false; -// Invulnerability -uniform bool OSD_ShowInvuln = false; -uniform bool Invulnerability_Enabled = false; +// Ignore hits +uniform bool OSD_ShowIgnoreHits = false; +uniform bool IgnoreHits_Enabled = false; // Stealth uniform bool OSD_ShowStealth = false; uniform bool Stealth_Enabled = false; @@ -166,7 +166,7 @@ float4 DrawFlag(float2 uv, inout float2 pen, float2 charSize, const float label[ float4 PS_OSD(float4 pos : SV_Position, float2 uv : TEXCOORD) : SV_Target { float4 col = tex2D(ReShade::BackBuffer, uv); -if (!OSD_ShowTD && !OSD_ShowGodMode && !OSD_ShowInvuln && !OSD_ShowStealth) +if (!OSD_ShowTD && !OSD_ShowGodMode && !OSD_ShowIgnoreHits && !OSD_ShowStealth) return col; float margin_top = 20.0; @@ -194,11 +194,11 @@ if (!OSD_ShowTD && !OSD_ShowGodMode && !OSD_ShowInvuln && !OSD_ShowStealth) totalLen = GOD_LEN + OFF_LENGTH; color = float3(1.0, 0.3, 0.3); } - if (Invulnerability_Enabled && OSD_ShowInvuln) { + if (IgnoreHits_Enabled && OSD_ShowIgnoreHits) { totalLen = INV_LEN + ON_LENGTH; color = float3(0.3, 1.0, 0.3); } - if (!Invulnerability_Enabled && OSD_ShowInvuln) { + if (!IgnoreHits_Enabled && OSD_ShowIgnoreHits) { totalLen = INV_LEN + OFF_LENGTH; color = float3(1.0, 0.3, 0.3); } @@ -247,8 +247,8 @@ if (!OSD_ShowTD && !OSD_ShowGodMode && !OSD_ShowInvuln && !OSD_ShowStealth) if (OSD_ShowGodMode) AlphaBlend(combined, DrawFlag(uv, pen, charSize, GOD_CHARS, GOD_LEN, GodMode_Enabled)); - if (OSD_ShowInvuln) - AlphaBlend(combined, DrawFlag(uv, pen, charSize, INV_CHARS, INV_LEN, Invulnerability_Enabled)); + if (OSD_ShowIgnoreHits) + AlphaBlend(combined, DrawFlag(uv, pen, charSize, INV_CHARS, INV_LEN, IgnoreHits_Enabled)); if (OSD_ShowStealth) AlphaBlend(combined, DrawFlag(uv, pen, charSize, STEALTH_CHARS, STEALTH_LEN, Stealth_Enabled));