StrataSource / FGD

The FGD + Hammer resource files for games built on Strata Source.
19 stars 14 forks source link

Default `game_text` location to somewhere other than the center of the screen #85

Closed hexaflexahexagon closed 2 years ago

hexaflexahexagon commented 2 years ago

By default the location of a new game_text entity is -1, -1 which centers the text both horizontally and vertically. If a mapper forgets to change this, this places the text right over the player's crosshair which can be very frustrating. A more acceptable default would be x = -1 and y = 0.7. See below comparison. Obviously this won't affect existing maps but it should prevent more in the future from making this mistake.

image image

vrad-exe commented 2 years ago

Related, what's the point of -1 to center in these keyvalues? Is that not the same as 0.5?

hexaflexahexagon commented 2 years ago

No clue, im guessing just a shorthand. AFAIK 0.5 and -1 are the same yeah. Unless -1 horizontal will center-align the text while 0.5 horizontal just starts typing at the center of the screen or something silly lol