Where do I find all possible setup_goal parameters?

Géza!

L4: Comfortable Member
May 12, 2008
183
40
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.
 
Oct 6, 2008
1,948
446
look in your control point master, then the hud display and play around with it
 

Egan

aa
Feb 14, 2010
1,375
1,721
You can find these goal strings in the tf/resource/tf_english.txt:

"CP5_red_setup_goal" "Capture all five of the Control Points to win the game!"
"CP5_blue_setup_goal" "Capture all five of the Control Points to win the game!"

"Dustbowl_red_setup_goal" "Defend the Control points against team BLU!"
"Dustbowl_blue_setup_goal" "Capture both Control Points to win the round and advance!"
"Dustbowl_red_final_goal" "Defend the final two Control Points or the enemy will win the game!"
"Dustbowl_blue_final_goal" "Capture the final two Control Points to win the game!"

"Goldrush_red_setup_goal" "Prevent the enemy team from moving the cart to your base!"
"Goldrush_blue_setup_goal" "Move the cart to the Control Points to win the round and advance!"
"Goldrush_red_final_goal" "Prevent the cart from moving to your base or the enemy will win the game!"
"Goldrush_blue_final_goal" "Move the cart to the enemy base to destroy it and win the game!"

"2fort_red_setup_goal" "Grab the Intelligence Briefcase from the enemy basement. Return to your basement to win!"
"2fort_blue_setup_goal" "Grab the Intelligence Briefcase from the enemy basement. Return to your basement to win!"

"Granary_red_setup_goal" "Capture all five Control Points to win the game!"
"Granary_blue_setup_goal" "Capture all five Control Points to win the game!"

"Gravelpit_red_setup_goal" "Defend all three Control Points against team BLU to win the game!"
"Gravelpit_blue_setup_goal" "Capture all three Controls Points to win! First capture A and B, then move on to C."

"Hydro_red_setup_goal" "Capture BLU's single Control Point to win the round. Prevent them from doing the same!"
"Hydro_blue_setup_goal" "Capture RED's single Control Point to win the round. Prevent them from doing the same!"

"Well_red_setup_goal" "Capture all five of the Control Points to win the game!"
"Well_blue_setup_goal" "Capture all five of the Control Points to win the game!"

"Pipeline_setup_goal" "Move your cart to the capture point first to win this heat!"
"Pipeline_final_goal" "Move your cart to destroy the enemy base before they destroy yours!"

"standin_red_setup_goal" "Capture all three of the Control Points to win the game!"
"standin_blue_setup_goal" "Capture all three of the Control Points to win the game!"

"hightower_setup_goal" "Move your cart to the top of your HighTower to win!"

"Foundry_red_setup_goal" "Capture all five Control Points to win the game!"
"Foundry_blue_setup_goal" "Capture all five Control Points to win the game!"

"koth_setup_goal" "Capture and hold the Control Point to win the game!"

"medieval_setup_goal_red" "Capture and hold the final Control Point to win the game!"
"medieval_setup_goal_blue" "Open the gate and capture the final Control Point to win the game!"

"steel_setup_goal_red" "Defend the main point while also defending the outer point in play!"
"steel_setup_goal_blue" "Take Red's main point to win the game. Capturing the outer points will increase your chance of success!"

"frontier_setup_goal_red" "Prevent BLU from escorting the payload to the laser array!"
"frontier_setup_goal_blue" "Guide Lil' Chew-Chew to the delivery site!"

"doomsday_setup_goal" "Deliver the Australium to the rocket warhead to win the game!"
"doomsday_event_setup_goal" "Get the tickets to the top of the Strongmann!"

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.
 

Géza!

L4: Comfortable Member
May 12, 2008
183
40
Welp that's awesome, thanks a lot! How would I go about making my own text, though?
 

henke37

aa
Sep 23, 2011
2,075
515
It's a localizable string. So just use whatever you want as long as it doesn't start with a hash.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
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.
 

Géza!

L4: Comfortable Member
May 12, 2008
183
40
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.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
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.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
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)
 

Géza!

L4: Comfortable Member
May 12, 2008
183
40
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.
 

henke37

aa
Sep 23, 2011
2,075
515
It depends, do you want the ability to control them individually?

Consider a wildcard instead.
 

Géza!

L4: Comfortable Member
May 12, 2008
183
40
It depends, do you want the ability to control them individually?

Consider a wildcard instead.

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.