Announcement

Collapse
No announcement yet.

Texture on the HUd

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Texture on the HUd

    Hey Guys.... ... Im new.... i've been reading tutorials... and playing around with UDK... im making a hud... almost done... but... i was wondering... How can i do to put a Texture in there.... i dont really get that opart... i know i need to use the DrawTile... i think at least... but... I dont know how to set a texture... for use on the Code.... Mind Helping me?...

    #2
    The DrawTile or DrawMaterialTile are pretty self explanatory.

    Comment


      #3
      Wow!.... Quick Answer...... Thanks.... Yea... i kinda get those.. the part i dont know is how to... mmmmm.... Like.... Make the Texture or Material Visible for the script.... i tried doing a Texture2D Var... and set it in the Deffaultproperties.... (following tutorial)... but... if i want to use one of the materials that comes from default... they come in some sort of packages i belive... so... i really dont know how to get to it...

      Comment


        #4
        Select the texture/material in the Content Browser. Right click and click on "Copy Fullname to Clipboard" (or something similar). Now you have a reference to your texture/material. Put that in your script. Compile.

        Comment


          #5
          Thanks... It Compiled Perfectly... Much appreciated...

          Comment


            #6
            How about an example to help you along:

            UDN Canvas HUD Example

            Comment


              #7
              Thanks... It Works!... ... im almost done.. i cant find what else to put there...... One thing... How do i get the armour?... (i trried PlayerCowner.Pawn.Armour and Armour but didnt do)... Also... i Wanna put an image there.... is it posible?...

              Comment

              Working...
              X