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

[TF2] Disable Player Collision


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Akuba
Senior Member
Join Date: Oct 2013
Old 07-19-2015 , 12:24   [TF2] Disable Player Collision
Reply With Quote #1

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 ....

Last edited by Akuba; 07-19-2015 at 12:35.
Akuba is offline
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Old 07-19-2015 , 12:37   Re: [TF2] Disable Player Collision
Reply With Quote #2

PHP Code:
SetEntProp(iClientProp_Data"m_CollisionGroup"0); 


By the way, How can i get props like m_CollisionGroup, m_bGlowEnabled and more?
__________________
SourcePawn, C# and C++ Programmer.

My plugin list
TheUnderTaker is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 07-19-2015 , 12:43   Re: [TF2] Disable Player Collision
Reply With Quote #3

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
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Akuba
Senior Member
Join Date: Oct 2013
Old 07-19-2015 , 14:59   Re: [TF2] Disable Player Collision
Reply With Quote #4

Quote:
Originally Posted by TheUnderTaker View Post
PHP Code:
SetEntProp(iClientProp_Data"m_CollisionGroup"0); 
Nope, this does not work :/
Akuba is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 07-20-2015 , 08:31   Re: [TF2] Disable Player Collision
Reply With Quote #5

tf_avoidteammates_pushaway?
__________________
VoiDeD is offline
Akuba
Senior Member
Join Date: Oct 2013
Old 07-20-2015 , 08:50   Re: [TF2] Disable Player Collision
Reply With Quote #6

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

Last edited by Akuba; 07-20-2015 at 09:10.
Akuba is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 07-20-2015 , 08:54   Re: [TF2] Disable Player Collision
Reply With Quote #7

Quote:
Originally Posted by TheUnderTaker View Post
By the way, How can i get props like m_CollisionGroup, m_bGlowEnabled and more?
https://forums.alliedmods.net/showthread.php?t=266455
KissLick 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 14:35.


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