Where do I find all possible setup_goal parameters?

Discussion in 'Mapping Questions & Discussion' started by Géza!, Apr 2, 2015.

  1. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    What the title says. I want to modify what setup goal my map displays, except I have no clue where I could fidn them listed.
     
  2. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,466
    Positive Ratings:
    237
    look in your control point master, then the hud display and play around with it
     
  3. Egan

    aa Egan

    Messages:
    1,313
    Positive Ratings:
    1,491
    You can find these goal strings in the tf/resource/tf_english.txt:

    And you'd set these as:
    tf_gamerules - SetRedTeamGoalString - #stringnamewithoutanyqoutes
    Like:
    tf_gamerules - SetRedTeamGoalString - #2fort_red_ setup_goal

    You can also just not use a current setup goal and just make up your own text if you want instead.
     
    • Thanks Thanks x 2
  4. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    Welp that's awesome, thanks a lot! How would I go about making my own text, though?
     
  5. henke37

    aa henke37

    Messages:
    1,890
    Positive Ratings:
    443
    It's a localizable string. So just use whatever you want as long as it doesn't start with a hash.
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    Also worth noting you can use any localized text in any field, the game doesn't see them as different "types", though not many of them have multiple uses, but I've found a couple in the past.
     
  7. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    You mean, I could just write plain text in there, sans hash, and that text would show up in the objective box? Obviously with the downside that it would not have translations included in the game files like default ones.
     
  8. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    Correct. The same goes for virtually any entity that will print text to the screen. It either shows what you typed, or if you start it with the hash it looks it up in the localizations.
     
    • Thanks Thanks x 1
  9. takabuschik

    aa takabuschik

    Messages:
    662
    Positive Ratings:
    314
    I made my own. Just put them as an output for a logic auto
     
  10. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,531
    and another note I feel like pointing out :D the "target entity" can actually be just an entity class name, and the output will go to ALL entities of that class. Which means in the case of tf_gamerules, where only one exists, you can actually just target the class without worrying about the name. (all the old maps did that, because at the time it had less features and wasn't even an entity you placed in Hammer, it was just autogenerated by the engine)
     
  11. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    Huh, this brought to mind a question, can multiple entities have the same name? Say, for purposes of making triggering multiple of them at once easier.
     
  12. Ynders

    aa Ynders absolutely gormful

    Messages:
    403
    Positive Ratings:
    519
    Yep. Hammer will also show any name that another entity shares in bold.
     
  13. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    Well, that makes creating setup doors quite easier then
     
  14. henke37

    aa henke37

    Messages:
    1,890
    Positive Ratings:
    443
    It depends, do you want the ability to control them individually?

    Consider a wildcard instead.
     
  15. Géza!

    Géza! L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    21
    For now, I try to not bite off more than I can chew when it comes to entitywork, so good ol' baseline opening-at-once setup doors it is for me.


    Funny how my knowledge of things like visleaf optimization is fairly indepth and I'm flailing about with entities like a complete newbie.