Raised This Month: $ Target: $400
 0% 

Where to look box TraceNull (NULL_HUMAN, NULL_LARGE, NULL_HEAD)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
artist
Member
Join Date: Nov 2013
Old 01-28-2016 , 00:54   Where to look box TraceNull (NULL_HUMAN, NULL_LARGE, NULL_HEAD)
Reply With Quote #1

I can not find to cssdk.

Code:
#define TRACE_HULL		(*g_engfuncs.pfnTraceHull)
pfnTraceHull - No resylts

Found only:
Code:
#define VEC_HULL_MIN		Vector(-16, -16, -24)
#define VEC_HULL_MAX		Vector(16, 16, 32)

#define VEC_HUMAN_HULL_MIN	Vector( -16, -16, 0 )
#define VEC_HUMAN_HULL_MAX	Vector( 16, 16, 72 )
#define VEC_HUMAN_HULL_DUCK	Vector( 16, 16, 36 )

#define VEC_VIEW			Vector( 0, 0, 18 )

#define VEC_DUCK_HULL_MIN		Vector(-16, -16, -18 )
#define VEC_DUCK_HULL_MAX		Vector( 16,  16,  18)
#define VEC_DUCK_VIEW			Vector( 0, 0, 12 )
nodes.cpp
Code:
switch ( hull )
{
	case NODE_SMALL_HULL:
		UTIL_SetSize(pev, Vector(-12, -12, 0), Vector(12, 12, 24));
		break;
	case NODE_HUMAN_HULL:
		UTIL_SetSize(pev, VEC_HUMAN_HULL_MIN, VEC_HUMAN_HULL_MAX );
		break;
	case NODE_LARGE_HULL:
		UTIL_SetSize(pev, Vector(-32, -32, 0), Vector(32, 32, 64));
		break;
	case NODE_FLY_HULL:
		UTIL_SetSize(pev, Vector(-32, -32, 0), Vector(32, 32, 64));
		// UTIL_SetSize(pev, Vector(0, 0, 0), Vector(0, 0, 0));
		break;
}
This is it?

Last edited by artist; 01-28-2016 at 01:03.
artist is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-30-2016 , 05:28   Re: Where to look box TraceNull (NULL_HUMAN, NULL_LARGE, NULL_HEAD)
Reply With Quote #2

You are looking for pfnTraceHull code in the engine, not game. Check reHLDS project on github.
__________________

Last edited by Arkshine; 01-30-2016 at 05:28.
Arkshine 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 04:14.


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