ShouldCollide is okay for that but my ShouldCollide shows the second
parameter as being a contents mask instead of another collision group. Maybe
you can use that? My quick research shows that the mask is set by
CGameMovement::PlayerSolidMask() so it should be pretty easy to overload
that in CSDKGameMovement::PlayerSolidMask() and then test for it with:

    if (GetTeamNumber() = TEAM_BLUE && (contentsMask&CONTENTS_REDTEAM))
        return true;

or something similar.

-- 
Jorge "Vino" Rodriguez
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to