View Single Post
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-27-2008 , 04:16   Re: TF2 Class Restrictions
Reply With Quote #30

So for a map config such as rocket_tennis_beta.cfg I'd place it in the /tf/cfg folder and it'd look like this
Code:
//Restriction settings for the map rocket_tennis_beta

//Restriction command 0 default for the map
sm_classrestrict_enabled 1

// Restrictions per class

sm_classrestrict_red_demomen 0
sm_classrestrict_red_engineers 0
sm_classrestrict_red_heavies 0
sm_classrestrict_red_medics 0
sm_classrestrict_red_pyros 6
sm_classrestrict_red_scouts 0
sm_classrestrict_red_snipers 0
sm_classrestrict_red_soldiers 6
sm_classrestrict_red_spies 0

sm_classrestrict_blu_demomen 0
sm_classrestrict_blu_engineers 0
sm_classrestrict_blu_heavies 0 
sm_classrestrict_blu_medics 0
sm_classrestrict_blu_pyros 6
sm_classrestrict_blu_scouts 0
sm_classrestrict_blu_snipers 0
sm_classrestrict_blu_soldiers 6
sm_classrestrict_blu_spies 0
Or is there something I'm doing wrong? This is a fun map I throw in every so often and it gets ruined by jackasses going other classes (even demoman.)

Last edited by willy1234x1; 06-27-2008 at 04:22.
willy1234x1 is offline