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

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


Post New Thread Reply   
 
Thread Tools Display Modes
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
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 10-02-2017 , 01:48   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #2

Have you attempted prop_physics_override?
Halt is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-02-2017 , 16:57   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #3

So many bad things are thought around letting them go through walls. Where to start lmao.

What happens when it enters the void.

Have u ever spawned a weapon in the void and watched it crash your server after waiting for it to drop?
__________________

Last edited by Neuro Toxin; 10-02-2017 at 16:58.
Neuro Toxin is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 10-02-2017 , 18:11   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #4

Quote:
Originally Posted by Neuro Toxin View Post
So many bad things are thought around letting them go through walls. Where to start lmao.

What happens when it enters the void.

Have u ever spawned a weapon in the void and watched it crash your server after waiting for it to drop?
^ coming from the guy who's location involves said void.

Btw he is right, there is a reason you're not supposed to enter/view the void.
Halt is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 10-03-2017 , 14:47   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #5

I have a OnUser1 timer kill on it of 10 seconds, should be fine?
__________________
ImACow is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 10-03-2017 , 14:58   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #6

Quote:
Originally Posted by ImACow View Post
I have a OnUser1 timer kill on it of 10 seconds, should be fine?
Regardless of how long its in the void, its bad juju my friend. Like I said before the void isn't playable for a reason. Its not intended to be part of your map. Hence why when mapping if the void is not closed out of your map you get compiling errors and your map doesn't work.
Halt is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 10-03-2017 , 16:56   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #7

The good one q2 days let you compile maps with leaks.

My first map was water wars that had water brushes scattered around. That's it. In q2 the players looped from the bottom to the top of map as they fell through the void.

Sick action. Fall strafe to hunt down players in water and rocket the fek out of them lmao.
__________________
Neuro Toxin is offline
PramPro
Junior Member
Join Date: Sep 2017
Old 10-05-2017 , 01:32   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #8

Like
PramPro is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 10-20-2017 , 11:56   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #9

Quote:
Originally Posted by Halt View Post
Have you attempted prop_physics_override?
Its also stuck in the air.



I just cannot find a way to make a prop clip through solids & (flying)

Trying with m_flGravity on the prop and not with SetEntityMoveType(rocket, MOVETYPE_NONE); doesn't help either
__________________

Last edited by ImACow; 10-20-2017 at 12:23.
ImACow is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 10-20-2017 , 12:23   Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
Reply With Quote #10

Just found https://forums.alliedmods.net/showthread.php?t=229312 but thats for nades, and uses SetEntityMoveType(entity, MOVETYPE_FLY) too, which make my props stuck in the air.

And I cannot make he's penetrate walls so
__________________

Last edited by ImACow; 10-20-2017 at 12:25.
ImACow 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 20:40.


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