Jump to content

Draw Image


VicToMeyeZR
 Share

Recommended Posts

yeah, I was trying that one, and I just get access violation. Maybe my format... I tried a PNG.

 

 

Yeah, I think it has to be a dds file.

 

 

Try:

bottomgui=LoadTexture("abstract::myimage.dds")
DrawImage(bottomgui,0,0,1024,32)

 

And make sure it's right before the Flip() command or inside a flip hook.

Link to comment
Share on other sites

perfect. Thank you rick. Not sure why I was putting LoadMaterial. lol

 

yes

 

function DrawOverlay()
SetBlend(1)
bottomgui=LoadTexture("abstract::Bottom.dds")
DrawImage(bottomgui,0,736,1024,32)
SetBlend(0)
end

AddHook("Flip",DrawOverlay)

 

ahh, the beginnings of my HUD. <_<

AMD Phenom II x6 1100T - 16GB RAM - ATI 5870 HD - OCZ Vertex 2 60GB SSD

76561197984667096.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...