ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.68k stars 623 forks source link

[Half-Life + mods] scr_connectmsg text bars are rendered behind everything else #2113

Open pizzahut2 opened 5 years ago

pizzahut2 commented 5 years ago

This is an old bug / issue, not a recent one. I couldn't find an existing issue about it though.

scr_connectmsg "text line 1" (use 0 to disable) scr_connectmsg1 "text line 2" scr_connectmsg2 "text line 3"

Before Steam, the text boxes shown by scr_connectmsg commands were rendered in front and could be used by scripts to display information, e.g. class or map dependent configuration of key binds.

Since the Steam version of TFC, these text boxes are only rendered in front if the software renderer is used in TFC's video options. In OpenGL however, they are rendered behind everything else (and thus are invisible). They only become visible when nothing else is rendered (which can happen in certain situations, e.g. near water surface or inside a wall).

This is probably a general Half-Life related issue, not TFC specific.

pizzahut2 commented 5 years ago

Example scripts using this:

https://rv.apg-clan.org/dlds/lycos_tripod_backup/comms/scr_connectmsg/ https://rv.apg-clan.org/dlds/lycos_tripod_backup/comms/scr_and_vgui/