Raised This Month: $ Target: $400
 0% 

Change player size


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-26-2013 , 05:56   Re: Change player size
Reply With Quote #1

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.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:18.


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