Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [Hud] Simple Hud
Re: [Hud] Simple Hud [message #414102 is a reply to message #414048] Tue, 15 December 2009 15:02 Go to previous message
Distrbd21 is currently offline  Distrbd21
Messages: 743
Registered: September 2008
Karma:
Colonel

Tunaman wrote on Mon, 14 December 2009 22:46

You can add one line of code to shaderhud.cpp to make custom HUDs made by HUD.ini work properly with hud toggling commands.

if(!(*(bool *)0x8124b4)) return; //return if IsHudShown == false


You can just add this at the top of the UpdateHUD2() function.
What this does is check if the value at 0x8124b4(the address of IsHudShown) is 0, if it is 0 then it just exits the function. ^^

can you put that in there and give me a copy of the scripts.dll i no longer have the tools to do it, reformated pc.


Live Your Life Not Some one Else's.| Sharing Is Caring

http://dsgaming.us/distrbd21/Distrbd21%20siggy.png

Cookie Jar

Suicide
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [skin] Not so hot Hotiwre
Next Topic: GDI CHARACTER PT ICONS
Goto Forum:
  


Current Time: Sat Feb 15 01:16:51 MST 2025

Total time taken to generate the page: 0.01332 seconds