CP map to trigger medieval mode?

Oct 6, 2008
1,948
446
Hi,

Looking to take a standard CP map (5 point) and on timer = 0 I want to trigger melee weapons only - like a sudden death sort of thing?

Can this be done?

I thought there was a general bug with the sudden death and that's why no one was using it.

First time doing something like this and I see the gamerules has medieval option but no on/off/start disabled type of thing on it.
 

henke37

aa
Sep 23, 2011
2,075
515
You can't toggle it on the fly. At least not without point_servercommand
 

Freyja

aa
Jul 31, 2009
2,994
5,813
If you don't wish to go with medieval mode through server commands, you can do it using the brush entity tf_add_player_condition.

Condition 41 is the condition used by the buffalo steak sandvich, which disallows players to switch away from their melee weapons for the duration. However, it does not make them switch to it (You can do this with a point_clientcommand that calls slot3, although the player *can* rebind this, even though it's unlikely).

Unfortunately this only allow melee weapons, not other medieval-allowed weapons like the crossbow and hunstman.
 
Oct 6, 2008
1,948
446
Thanks to all! I'll end the match in stalemate :)
 
T

The Asylum

BUT BE YE WARNED!

Most admins don't like maps that change their server variables. If you ARE going to do this anyway, make sure you turn medieval mode off when the round finishes