Raised This Month: $ Target: $400
 0% 

TF2: Enable Team Collision?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 10-18-2008 , 02:59   TF2: Enable Team Collision?
Reply With Quote #1

I am looking for a way in TF2 to make players block each other on their own teams like it was in TFC. I talked to bl4nk about this before briefly, and he sent me this

Quote:
PlayerSolidMask returns different content types depending on which team
they're on, and Tfplayer::ShouldCollide first checks for the collision
group, and if it's playermovement group, it then checks to see if the
content mask matches for that team. if it doesn't, it returns false.

There are already 2 contents defined that will get you started:
#define CONTENTS_TEAM1 0x800 // per team contents used to
differentiate collisions
#define CONTENTS_TEAM2 0x1000 // between players and objects
on different teams
So now I am trying to figure out the best way to do this. I messed around with some of the collision stuff I found in the netprops list a bit but didnt have any luck.
__________________
CrimsonGT is offline
The JCS
AlliedModders Donor
Join Date: Jan 2007
Location: Brazil
Old 10-18-2008 , 13:55   Re: TF2: Enable Team Collision?
Reply With Quote #2

Good luck and have fun o.0
Do you know how to disable the collision? (cloaked spies would love that)
The JCS is offline
Send a message via MSN to The JCS
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 10-18-2008 , 14:45   Re: TF2: Enable Team Collision?
Reply With Quote #3

Yeah, I vaguely remember seeing something that let you turn off collision when I was messing around, but couldnt figure out a way to actually enable the collision for teammates.
__________________
CrimsonGT is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 10-18-2008 , 17:47   Re: TF2: Enable Team Collision?
Reply With Quote #4

Yep, sslice made a noblock plugin. I don't know for which games it works though, and Crimson is trying to do the opposite.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami 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 17:17.


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