AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [CS:GO / ANY] Make hegrenade_projectile go through walls (https://forums.alliedmods.net/showthread.php?t=301686)

ImACow 10-01-2017 11:40

[CS:GO / ANY] Make hegrenade_projectile go through walls
 
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.

https://i.imgur.com/A6hyQbp.png


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.

Halt 10-02-2017 01:48

Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
 
Have you attempted prop_physics_override?

Neuro Toxin 10-02-2017 16:57

Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
 
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?

Halt 10-02-2017 18:11

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

Originally Posted by Neuro Toxin (Post 2552202)
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. :bacon!::bacon!:

Btw he is right, there is a reason you're not supposed to enter/view the void.

ImACow 10-03-2017 14:47

Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
 
I have a OnUser1 timer kill on it of 10 seconds, should be fine?

Halt 10-03-2017 14:58

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

Originally Posted by ImACow (Post 2552372)
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.

Neuro Toxin 10-03-2017 16:56

Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
 
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.

PramPro 10-05-2017 01:32

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

ImACow 10-20-2017 11:56

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

Originally Posted by Halt (Post 2552036)
Have you attempted prop_physics_override?

Its also stuck in the air.

https://i.imgur.com/tMxe9CL.png

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 :(

ImACow 10-20-2017 12:23

Re: [CS:GO / ANY] Make hegrenade_projectile go through walls
 
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 :(


All times are GMT -4. The time now is 02:24.

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