Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[TF2] Razorback and Gas Passer meters' strings are in lowercase

Open Ashetf2 opened this issue 3 years ago • 2 comments

image image

Ashetf2 avatar Jul 30 '22 20:07 Ashetf2

For the Gas Passer, just change the string "TF_GAS" to "GAS" from "Gas"

For the Razorback, a new string needs to be created because it's reusing the name of the razorback (TF_UNIQUE_BACKSTAB_SHIELD). It could be for example "TF_BACKSTAB_SHIELD" "RAZORBACK" (though I think it is a bit large, maybe it should be just "SHIELD"). Later, in items_game.txt, for the razorback:

"57"
{
			"name"			"The Razorback"
			"prefab"	"valve"
...
"static_attrs"
			{
				"item_meter_charge_type"						"1"
				"item_meter_charge_rate"			"30"
				"meter_label"							"#TF_BACKSTAB_SHIELD" <-- NEW STRING
			}

Ashetf2 avatar Jul 20 '23 17:07 Ashetf2

A new meter string is needed for the Razorback, as there is an issue in Spanish and possibly in other languages, where the meter does not fit e.g. in spanish image

gaelcoral avatar May 01 '24 00:05 gaelcoral