Raised This Month: $12 Target: $400
 3% 

[CSGO] Change player collision hull


Post New Thread Reply   
 
Thread Tools Display Modes
NatsUpX
Junior Member
Join Date: Jun 2022
Old 06-30-2022 , 05:50   Re: [CSGO] Change player collision hull
Reply With Quote #11

is it possible to change the hull as it is in css? if yes, what values do i need?

When i change this value (72) to a lower value like 60, then my model just shrinks smaller. When i do the same and go even lower its glitching into the chest.


float g_fNewHullValues[] =
{
0.0, 0.0, 64.0,

-16.0, -16.0, 0.0,
16.0, 16.0, 72.0,

-16.0, -16.0, 0.0,
16.0, 16.0, 36.0,
0.0, 0.0, 28.0,

-10.0, -10.0, -10.0,
10.0 , 10.0, 10.0,

0.0, 0.0, 14.0
};


How can i reduce the max hull without affecting my model?

Last edited by NatsUpX; 06-30-2022 at 08:27.
NatsUpX is offline
SirDigby
Junior Member
Join Date: Feb 2016
Old 02-06-2023 , 20:11   Re: [CSGO] Change player collision hull
Reply With Quote #12

Updated gamedata.

Haven't tested personally, but I'm told it works on linux.
The windows sig didnt need changing but I did anyway just to make it use the same easily found function as the linux sig.

Code:
"Games"
{
    "csgo"
    {
        "Addresses"
        {
            "g_CSViewVectors"
            {
                "windows"
                {
                    "signature" "g_pGameRules"
                    "read" "18"     // g_pGameRules
                    "read" "0"      // CCSGameRules object
                    "read" "0"      // CCSGameRules vtable
                    "read" "120"    // CCSGameRules::GetViewVectors()
                    "read" "1"      // g_CSViewVectors
                }
                "linux"
                {
                    "signature" "g_pGameRules"
                    "read" "13"
                    "read" "0"
                    "read" "0"
                    "read" "124"    // Offset found with VEC_DUCK_HULL_MIN in CBasePlayer::Restore
                    "read" "2"
                }
            }
        }
        
        "Signatures"
        {
            // CBaseEntity::TakeDamage -- "CBaseEntity::TakeDamage:  with inputInfo.GetDamageForce() == vec3_origin"
            "g_pGameRules"
            {
                "library"    "server"
                "windows"    "\x55\x8B\xEC\x83\xE4\xF8\x81\xEC\x90\x00\x00\x00\x56\x57\x8B\xF9\x8B\x0D\x2A\x2A\x2A\x2A"
                "linux"      "\x55\x89\xE5\x57\x56\x53\x81\xEC\x9C\x00\x00\x00\xA1\x2A\x2A\x2A\x2A\x8B\x75\x2A"
            }
        }
    }
}
__________________

Last edited by SirDigby; 02-06-2023 at 20:37.
SirDigby is offline
k0mr4d3
New Member
Join Date: Mar 2023
Old 03-10-2023 , 11:08   Re: [CSGO] Change player collision hull
Reply With Quote #13

Setting up this plugin for my server, but I notice that the 1st person view looks really laggy when changing hull (crouching). Is there any way to fix this other than disable client prediction?
k0mr4d3 is offline
Reply


Thread Tools
Display Modes

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 07:43.


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