NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
https://neotokyorebuild.github.io/
Other
15 stars 12 forks source link

All classes have the correct height #316

Closed blaberry closed 2 weeks ago

blaberry commented 2 months ago

At the moment, eyepos shows incorrect values for at least support.

Rainyan commented 2 months ago

edit: related PR at #480


Looks like the client/server duck bounding box heights are off by about 10 - cl_showerror 2 output whilst crouching:

Support ducked:

001 CCollisionProperty::m_vecMaxsPreScaled
    - vec[] differs (1st diff)
        (net 16.000000 16.000000 60.000000 - pred 16.000000 16.000000 50.000000)
        delta(0.000000 0.000000 -10.000000)

002 CCollisionProperty::m_vecMaxs
    - vec[] differs (1st diff)
        (net 16.783783 16.783783 62.939186 - pred 16.783783 16.783783 52.449322)
        delta(0.000000 0.000000 -10.489864)

Assault ducked:

001 CCollisionProperty::m_vecMaxsPreScaled
    - vec[] differs (1st diff)
        (net 16.000000 16.000000 60.000000 - pred 16.000000 16.000000 50.000000)
        delta(0.000000 0.000000 -10.000000)

002 CCollisionProperty::m_vecMaxs
    - vec[] differs (1st diff)
        (net 15.618243 15.618243 58.568413 - pred 15.618243 15.618243 48.807011)
        delta(0.000000 0.000000 -9.761402)

Recon ducked:

001 CCollisionProperty::m_vecMaxsPreScaled
    - vec[] differs (1st diff)
        (net 16.000000 16.000000 60.000000 - pred 16.000000 16.000000 50.000000)
        delta(0.000000 0.000000 -10.000000)

002 CCollisionProperty::m_vecMaxs
    - vec[] differs (1st diff)
        (net 15.385135 15.385135 57.694256 - pred 15.385135 15.385135 48.078545)
        delta(0.000000 0.000000 -9.615711)
kassibuss commented 2 weeks ago

Should be fixed by https://github.com/NeotokyoRebuild/neo/pull/470, close?