Raised This Month: $ Target: $400
 0% 

[CS:GO / ANY] Make hegrenade_projectile go through walls


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 10-01-2017 , 11:40   [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #1

I'm trying to make specific grenades go through walls.

I don't know if it would be possible to achieve, but at the moment grenades bounce of walls.




I'm also setting it to FLY with

PHP Code:
SetEntityMoveType(grenadeMOVETYPE_FLY); 
I have tried the following,
Which works on prop_physics_multiplayer but then setting it to MOVETYPE_FLY doesn't make it move then.

But setting the prop data below has no effect on the hegrenade_projectile
PHP Code:
    SetEntProp(grenadeProp_Send"m_usSolidFlags"FSOLID_NOT_SOLID|FSOLID_TRIGGER); 
    
SetEntProp(grenadeProp_Data"m_nSolidType"SOLID_VPHYSICS); 
    
SetEntProp(grenadeProp_Send"m_CollisionGroup"COLLISION_GROUP_DEBRIS); 
Anyone an idea how I could make grenades penetrate walls, without being affected by gravity?

Cow.
__________________

Last edited by ImACow; 10-01-2017 at 11:44.
ImACow is offline
 



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 13:14.


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