Re: How to play against my friend in portal
@zepkingnormally if you are not in party and he joins your game over the browser you should be in two different teams, but if you join over friend list, you will be in his squad and also for me often I wasn't able to find friends server in the server browser...
for this cases I have built an auto team balance logic
in general it just does a ping pong between each player that is joining and sets their team either to 1 or 2, orange marked is optional(debug/displaying start message stuff)
Haven't tested it since some months and it was buggy also in some cases, but worked in general