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.
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.
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.
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.
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.
and another note I feel like pointing out 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)
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.
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.