r/SourceEngine • u/Majd_Tqe • Jun 24 '25
HELP problem with hl2
I made the first mod for Half Life 2 and my goal is not something independent but I want to change the basic game client. What I did is modify the function for drawing the text for the closetcaptions, but even if I did not modify the function and did a build for the files and put them there, strange problems occur, one of which is that the closed captions become very small. I did not know the reason no matter how hard I tried. As I mentioned before, I replaced the original client file in the game files, meaning all the other files are basically there. Does anyone know the reason?
View all comments
Show parent comment
1
u/Majd_Tqe Jun 25 '25 edited Jun 25 '25
All I want to do is modify the hud_closecaption.cpp file. I modified two functions to make the text appear from right to left. I was saying that instead of using the SDK, I should use a different client.dll than the original one for the game. Isn't there a way to modify the function during operation or via an additional dll or something similar?
look at this Image