#Looking for an alternative to env_screenoverlay

1 messages · Page 1 of 1 (latest)

misty reef
#

Just what I said above, I'm trying to emulate text pop ups or small icons to the sides of the screen. Ik I can just edit a full image and left most of it transparent, but I'm also doing animated textures, and an example is a 1k animated tex with 35 frames weighting 24 mb. I don't want to inflate the map's weight size, and apparently there's no way I can use env_screenoverlay without the image stretching to fit the screen.
Is there something else I can do without complex scripting?

steel violet
#

what game is this for

#

because you might be able to add your own UI elements

misty reef
steel violet
#

you might be able to add actual UI elements
idk for sure

vast tapir
#

You tried game_text or env_message?

runic horizon
#

You would hook into the HUDPaint()

hook.Add( "HUDPaint", "HUDPaint_DrawABox", function()
    surface.SetDrawColor( 0, 0, 0, 128 )
    surface.DrawRect( 50, 50, 128, 128 )
end )
#

Bit more complicated then the above but you get the idea

misty reef