AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved [ H3LP ] *gEngfuncs.pfnSPR_ (https://forums.alliedmods.net/showthread.php?t=309293)

CrazY. 07-20-2018 09:53

[ H3LP ] *gEngfuncs.pfnSPR_
 
Hello, I was venturing into the source code of half-life and I came across some functions related to sprites in hud.

Spoiler


Unfortunately, I believe this only exists in client.dll, but these functions do not exist in counter-strike? And would not it be possible to access these functions or even be emulate in server side?

Also, I was searching for related topics and what I found was a counter-strike mod with a custom interface. This may be a mere edit in the video, or even a modification of the client.dll, but the developers said they did not make these modifications and that it is possible to emulate them on server side.

Quote:

Originally Posted by Sneaky.amxx
**It was said to be impossible to have a custom user interface in CS1.6 with a server side mod. Without editing the game engine.. However we've proved the critics wrong again. The interface is now 100% complete**

https://www.youtube.com/watch?v=wbjeAtSKpTc
https://www.youtube.com/watch?v=5L6t03jea9M
https://www.youtube.com/watch?v=bx25QWWqguk

http://globalmodders.net/saigon/wp-c...0-25_00002.jpg

Ghosted 07-20-2018 10:04

Re: [ H3LP ] *gEngfuncs.pfnSPR_
 
Quote:

Originally Posted by CrazY. (Post 2605053)
Unfortunately, I believe this only exists in client.dll, but these functions do not exist in counter-strike?

Of course they do, then how Health/Armor/Money/Timer/etc is displayed?

Quote:

Originally Posted by CrazY. (Post 2605053)
Also, I was searching for related topics and what I found was a counter-strike mod with a custom interface. This may be a mere edit in the video, or even a modification of the client.dll, but the developers said they did not make these modifications and that it is possible to emulate them on server side.

No, impossible to show custom things on hud, neither from those functions are used in showing custom things from server. You can check halflife code.
I believe he's using MetaHook or such thing (or maybe another engine).

CrazY. 07-20-2018 10:09

Re: [ H3LP ] *gEngfuncs.pfnSPR_
 
Quote:

Of course they do, then how Health/Armor/Money/Timer/etc is displayed?
The question here is not this, the question here is, we cannot use the same way that Counter-Strike use to display Health/Armor/Money/Timer to display custom sprites? Nevermind, that will never be possible, so forget my question.


All times are GMT -4. The time now is 12:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.