HUD Color Coding Issues Created 18 years ago2006-04-30 18:33:16 UTC by HeAdCrAb KILLA HeAdCrAb KILLA

Created 18 years ago2006-04-30 18:33:16 UTC by HeAdCrAb KILLA HeAdCrAb KILLA

Posted 18 years ago2006-04-30 18:33:16 UTC Post #177562
I finally built the client.dll for my mod with C++ 6.0. I changed the code EXACTLY to how it is laid out in the Custom HUD Color tutorial here. When the client.dll was built it seemed that there were problems from the start. First of all, the dll is now 2.10MB instead of 540KB. Is that wrong? This seems very large for the file. Secondly, when I copied the client.dll to my cl_dlls folder, the new HUD color (supposed to white) failed and I was left with a "ghost-like" HUD layout. I could BARELY see the HUD as it was translucent and grey. It was almost not even there. What the hell is wrong? I am SO sick of trying to do this shit. This is like the 20th time I've tried to get a white HUD. This is so stupid. I would really appreciate it if someone could finally just do this for me. I can't really try to care anymore it's just retarded.
Posted 18 years ago2006-04-30 18:42:17 UTC Post #177566
Without changes, does it build right?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-04-30 19:28:32 UTC Post #177575
What if it does? What if it doesn't?
Posted 18 years ago2006-04-30 19:37:18 UTC Post #177579
what if it does?... what if it does'nt..!? We don't know.. its just a stepping block towards the right direction. And in order for us to take the next step, we need more info. We don't know all you know. :D
So, we would like to see the size of it if its not edited. The dll being
2.10MiB... is well, insane! :D So something's got to be wrong!
Unbreakable UnbreakableWindows 7.9 Rating!
Posted 18 years ago2006-04-30 19:42:15 UTC Post #177582
Yeah, the client.dll builds (what seems) correctly without changes...but why is it so big when it is built? The one for Half-Life is only 540KB. I just want a damn white HUD!!! Gaad this is so dumb. I'm using SDK 2.3 and MSVC++ 6.0 Does anyone REALLY just code for fun? Cuz that's just friggan whack!
Posted 18 years ago2006-05-01 04:14:39 UTC Post #177610
So it's still ~2MB without editing?

What version of the SDK? The full one, or the code-only one?
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 18 years ago2006-05-01 09:49:55 UTC Post #177663
You're compiling in Debug mode, change to Release and the file size should go down. (build->set active configrations)
ChickenFist ChickenFist<Witty Title>
Posted 18 years ago2006-05-01 16:11:14 UTC Post #177732
Yes that MUST be the problem because it copies the finished dll into the debug folder along with a bunch of other crap. Alright, I'll fix it right away. As for the SDK, I have DLed the FULL version.
Posted 18 years ago2006-05-01 19:55:56 UTC Post #177803
Nope, still not fuckin working. I changed the settings accordingly, changed the code, build the dll, and copied it to my mod. The client.dll was 640KB when I built it. This is still 100KB bigger than the Half-Life client.dll. As for how it looked in-game, the HUD didn't even show up aside from a few red and green spots. At this point I am just completely annoyed with this whole deal. No matter what I try it's probably just not going to work.
You must be logged in to post a response.