1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

CP map to trigger medieval mode?

Discussion in 'Mapping Questions & Discussion' started by Kill_the_Bug, Feb 23, 2014.

  1. Kill_the_Bug

    aa Kill_the_Bug

    Messages:
    1,503
    Positive Ratings:
    322
    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.
     
  2. henke37

    aa henke37

    Messages:
    1,954
    Positive Ratings:
    465
    You can't toggle it on the fly. At least not without point_servercommand
     
  3. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,884
    Positive Ratings:
    5,127
    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.
     
  4. Kill_the_Bug

    aa Kill_the_Bug

    Messages:
    1,503
    Positive Ratings:
    322
    Thanks to all! I'll end the match in stalemate :)
     
  5. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    586
    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