How to force class limits in a TF2 map?

I’ve been wondering if it’s possible to restrict certain classes in a TF2 map without the use of plugins or server mods, simply using entities in the map. Is it?

I want to make a tiny Heavy-only CTF map :v:

Not possible, unless there’s a fancy filter_ entity that I’m not aware of.

Server controlled. No way to do that unfortunately. Unless you do some really hacky stuff that I don’t know how to do. Why do you need to control classes?

What’s up with you and 3 day old threads?

I need more things to post on… It’s not quite necro-posting though right?

Dear turtley, stop being an ass
From, Mopman

Set up a trigger somewhere where all of the players have to funnel through it (i.e. the spawn door) linked to a point_clientcommand that outputs “join_class heavyweapons”

Fucking stop. Sure, he’s just showed up, but he’s a better poster than you. You always say to me OMG TCB OMG HOW CAN YOU BE SO MEAAAN TO THESE NEWCOMERS MEAAANIIIE whenever someone makes a dumb request, but when someone like Wargate wants to actually get involved with the community then LOLNOPE NOT GETTING PAST THE TURTLEEYGUARD.

You can’t keep people out of a community if you yourself are not a part of it.

Well I see you two have some things to work out, I hope I wasn’t the enabler/catalyst for some sort of fight… If I was I do apologize for that.

Not at all…its just turtleey being himself.

Okay then good to know

Thanks, Ducky, this looks like it’ll work just fine. Brilliant!