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?
#Looking for an alternative to env_screenoverlay
1 messages · Page 1 of 1 (latest)
Gmod, my bad I shouldve clicked the tag
you might be able to add actual UI elements
idk for sure
You tried game_text or env_message?
You can do it with Lua, https://wiki.facepunch.com/gmod/surface
Garry's Mod Wiki
The surface library allows you to draw text and shapes on the screen. Primarily used for making HUDs & custom GUI panels.
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
I don't know much about scripting but I got a friend who can help me, I'll see if I can figure out the rest thanks