Model overlay
1 Attachment(s)
Hello, I'm running biohazard server by Cheap Suit.
He uses this weird method of applying models into player: PHP Code:
However combined with frostnade plugin by Avalanche, when zombie gets frozen it gets both zombie and human model. I've done some debugging sessions and what appears to be problem is "set_user_rendering" function. I've modified the code a bit following Mercylezz tutorial, and it worked but when zombie was frozen, it no longer was glowing when hit. Here is my edited version of frostnades, perhaps someone knows how to fix this |
Re: Model overlay
I'm pretty much guessing here.
You probably have to set the rendering on the model dummy entity instead of the player. To get the entity, loop through them by classname "player_model" and compare pev_owner to the player id. If there's no hit, use the player as the target entity. (If that is a possibility, I don't know) |
Re: Model overlay
All I had to do was to made native that returns g_modelent and override the freeze method with it instead of player id. Good guess tho, thanks.
|
All times are GMT -4. The time now is 22:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.