Change player size
Hello, i saw somewhere that this is impossible but there are many things what should be impossible but are possible now with some trick.
Anyway here is code: PHP Code:
What is the problem or what i am doing here anyway? I dont understand it at all, i found this somewhere in this forum. And as always, thanks! |
Re: Change player size
Good to see this thread, i also want to make something like this.
It would be really cool If someone can make it possible. |
Re: Change player size
i think because the model is big the players cant to see the player in small i think you need to create special model to this option i only think i dont sure but this can to be the answer
sorry for my bad english if you dont understand me i say to you what i am think with google translate |
Re: Change player size
PHP Code:
|
Re: Change player size
Why don't you supercede ?
|
Re: Change player size
Quote:
|
Re: Change player size
Only thing i've managed to do is following code, unfortunately it has no effect, can see wanted sizes in server_frame and PreThink, but collisions remain the same as default.
Anyway, if someone find a way, there are still lot of places where values are hardcoded, see SetupVisibility in client.cll for example.
Spoiler
Also, when sending SetSize in SetObjectCollisionBox (or AbsBox, that one calls the other one), server is crashing (infinite loop i would say), that's because SetSize calls AbsBox, but even trying to disable the hook (with bool variable or using DisableHamForward) to get rid of recursivity, server is crashing. Have no other idea. Also, hooking SetSize seems to only takes effect when crouched. |
| All times are GMT -4. The time now is 16:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.