Passtime score limit?

Discussion in 'Mapping Questions & Discussion' started by DeOntwerper, Oct 10, 2015.

  1. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    Heya there,

    Might sound a rather stupid question but how do I go about setting the limit for goals on a custom passtime map?
     
  2. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    Greetings!

    The goal limit is controlled by the server cvar tf_flag_caps_per_round, which is the same one that controls the flag capture limit in CTF. Unfortunately this is a server cvar, and the only way a mapper can change it is by using a point_servercommand (which are frowned upon because of security concerns and are disallowed by default), or by including a config file with your map as a separate file.

    The reason such things are controlled via server cvar rather than by the map is to give the server operator more control over the experience he offers players. I know that can get in the way when you are trying to make an unusual version of a game mode.

    The people working on Pass Time are receptive to feedback. You should ask in the Official PASS Time Steam group about letting the mapper change the goal limit in the passtime_logic entity. I advise against taking this control away from the server operator, though.
     
  3. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    Ah poop. As I was hoping to create a passtime bball map.
     
  4. wiseguy149

    wiseguy149 Emperor of Entities and Amateur of Aesthetics

    Messages:
    103
    Positive Ratings:
    160
    It still should be doable, you'd just have to create your own score system. Instead of goals, just make triggers that detect the ball and have them increment your own counter. And whenever the counter reaches some threshold, trigger a round win.
     
  5. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    Sorry for another question...how would I be able to create something with game_text_tf as I've never played with math counters etc before.
     
  6. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    341
    the text of the entity is displayed if the entity recieves the "display" input. But aware that text displayed by game_text_tf is not displayed to people who have mini-HUD enabled, unlike game_text
     
  7. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    I've never dealt with those entities before so I literally have no clue.
     
  8. wiseguy149

    wiseguy149 Emperor of Entities and Amateur of Aesthetics

    Messages:
    103
    Positive Ratings:
    160
    I'm currently developing a counter/scoreboard system that would let you display the numbers on the wall somewhere, as opposed to the tf text, which is an (in my opinion) an ugly hud element.

    I'll probably have it released as a prefab along with an explanation for how I constructed the entity setup sometime in the next few days, if you can be patient with me.
     
  9. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    May have found a way to do it, but cannot test it out until later today or tomorrow.
     
  10. DeOntwerper

    DeOntwerper L1: Registered

    Messages:
    46
    Positive Ratings:
    1
    Got the scoreboard working with triggers. However the only thing I am stumped on is using filters for the goals...as currently you can score an own goal...