Raised This Month: $ Target: $400
 0% 

trace_hull's Hull Sizes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-13-2010 , 20:15   trace_hull's Hull Sizes
Reply With Quote #1

I saw in func_break a piece of code that it took me attention to it...

PHP Code:
        switch( bbox )
        {
        case 
0:    // Point
            
UTIL_SetSize(pevVector(-8, -8, -8), Vector(888));
            break;

        case 
2// Big Hull!?!?    !!!BUGBUG Figure out what this hull really is
            
UTIL_SetSize(pevVEC_DUCK_HULL_MIN*2VEC_DUCK_HULL_MAX*2);
            break;

        case 
3// Player duck
            
UTIL_SetSize(pevVEC_DUCK_HULL_MINVEC_DUCK_HULL_MAX);
            break;

        default:
        case 
1// Player
            
UTIL_SetSize(pevVEC_HULL_MINVEC_HULL_MAX);
            break;
        } 
These sizes are the Hull sizes?

Also, I found these values on util.h:

PHP Code:
#define VEC_HULL_MIN        Vector(-16, -16, -36)
#define VEC_HULL_MAX        Vector( 16,  16,  36)
#define VEC_DUCK_HULL_MIN    Vector(-16, -16, -18 )
#define VEC_DUCK_HULL_MAX    Vector( 16,  16,  18) 
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 11-14-2010 , 02:30   Re: trace_hull's Hull Sizes
Reply With Quote #2

Correct cs ducked players sizes are :
Code:
new const Float:VEC_DUCK_HULL_MIN[3]	= {-16.0, -16.0, -18.0 }
new const Float:VEC_DUCK_HULL_MAX[3]	= { 16.0,  16.0,  32.0 }
About match with hull size, i have no idea but that makes sense.

Code:
typedef enum { point_hull=0, human_hull=1, large_hull=2, head_hull=3 };
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 11-14-2010 at 02:33.
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 11:18.


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