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

Detecting ballistic shield with ray


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kossolax
AlliedModders Donor
Join Date: Jan 2008
Location: Belgium
Old 01-09-2021 , 12:39   Detecting ballistic shield with ray
Reply With Quote #1

Hello,

Anyone was able to detect the csgo shield with a ray trace ? I couldn't find how to.

The ray it-self is good, ent is not the ballistic shield.
PHP Code:
Handle trace TR_TraceRayFilterEx(srcangMASK_SHOTRayType_InfiniteEntityFilterSelfent);
TR_EnumerateEntities(srcangMASK_ALLRayType_Infiniteenumeratorent); 
Things I've tried:
- TR_TraceRayFilterEx + MASK_ALL
- TR_EnumerateEntities + MASK_ALL
- TR_GetSurfaceProps
- TR_GetSurfaceFlags
- TR_GetHitBoxIndex
- TR_GetHitGroup
- TR_GetPhysicsBone

The csgo shield use this model: w_eq_shield.mdl. The model has an hitbox and collision model. The ray works if we spam this model as prop_dynamic.

Thanks,
K.
kossolax 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 16:31.


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