AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   [TF2] Disable Player Collision (https://forums.alliedmods.net/showthread.php?t=266664)

Akuba 07-19-2015 12:24

[TF2] Disable Player Collision
 
I trying to disable that players can push other players in their team.

I was trying to use

PHP Code:

            SetEntProp(iClientProp_Send"m_CollisionGroup"1);
            
SetEntProp(iClientProp_Data"m_CollisionGroup"1); 

and I also was trying No Block

But players can still push other players around.

How do I disable this?

EDIT: Just noticed this way is a very bad way for Deathrun Servers ....

TheUnderTaker 07-19-2015 12:37

Re: [TF2] Disable Player Collision
 
PHP Code:

SetEntProp(iClientProp_Data"m_CollisionGroup"0); 



By the way, How can i get props like m_CollisionGroup, m_bGlowEnabled and more?

Michalplyoutube 07-19-2015 12:43

Re: [TF2] Disable Player Collision
 
Well not realy the player and ent should have same group cos it can glitch the view so ents should have same group as player

Akuba 07-19-2015 14:59

Re: [TF2] Disable Player Collision
 
Quote:

Originally Posted by TheUnderTaker (Post 2321648)
PHP Code:

SetEntProp(iClientProp_Data"m_CollisionGroup"0); 


Nope, this does not work :/

VoiDeD 07-20-2015 08:31

Re: [TF2] Disable Player Collision
 
tf_avoidteammates_pushaway?

Akuba 07-20-2015 08:50

Re: [TF2] Disable Player Collision
 
CollisionGroup 0 and tf_avoidteammates 0 works too, but I will change that to this cvar to prevent bugs, thank you :)

EDIT: to get this working: tf_avoidteammates 1 and tf_avoidteammates_pushaway 0

KissLick 07-20-2015 08:54

Re: [TF2] Disable Player Collision
 
Quote:

Originally Posted by TheUnderTaker (Post 2321648)
By the way, How can i get props like m_CollisionGroup, m_bGlowEnabled and more?

https://forums.alliedmods.net/showthread.php?t=266455


All times are GMT -4. The time now is 14:18.

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