is there a way to convert overlays into textures?

Discussion in 'Mapping Questions & Discussion' started by suber36g, Mar 13, 2017.

  1. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    I'm making a map a i need the arrows signs as textures, is it possible to convert overlays into textures or do i have to somehow find it on the internet?
     
  2. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,883
    Positive Ratings:
    5,126
    They should theoretically work as a texture on a brush already.

    If they don't, you just need to extract from the vpk and clone their vmt file and remove $decal 1, otherwise overlays and textures are identical just that overlays usually have an alpha channel while most textures don't.
     
  3. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    How do I extract the vpk?
     
  4. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,441
    Positive Ratings:
    1,196
    Use GCFScape to open VPKs, and they'll act in that program like usual folders.
     
  5. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    Is there an easier way? Because it is an absolute nightmare to deal.
     
  6. Crowbar

    aa Crowbar perfektoberfest

    Messages:
    1,441
    Positive Ratings:
    1,196
    Huh? It doesn't really feel like much hassle for me.
    I don't think there really are other ways to deal with VPKs other than GCFScape - and GCFS does it near perfectly.
    You can use it to extract all off the content to a usual folder and then do stuff with it there (and it's a practice), but I don't see much advantages of that, and the content is pretty damn hefty and will take both time to unpack and copy and storage space.
     
  7. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    i try accessing the files and stuff like that, but it say "WARNING: something something illegal"
     
  8. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    793
    Positive Ratings:
    235
    I think it would help if you posted the actual warning message. Screenshot it and post it.
     
    • Agree Agree x 1
  9. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    I'll do it tomorrow, probably.
     
  10. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
  11. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    i got the GCFScape working and I'm in tf2_textures_dir.vpk, how do i open the .VTFs and and change remove the $decal 1?
     
  12. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,377
    They'll open (and save) in any text editor.
     
  13. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
  14. Viperi

    aa Viperi Lord Procrastination

    Messages:
    1,003
    Positive Ratings:
    558
    @Pocket (probably) meant that you can open the vtf file in any text editor, notepad for example.
     
  15. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    Is there a tutorial for that?
     
  16. Viperi

    aa Viperi Lord Procrastination

    Messages:
    1,003
    Positive Ratings:
    558
    I don't know much about the subject, but you either remove $decal 1 or change the 1 to 0.
     
  17. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    But I don't know how to do that, it look like a console command.
     
  18. Viperi

    aa Viperi Lord Procrastination

    Messages:
    1,003
    Positive Ratings:
    558
    Sort of, yeah you just edit the line it's on, removing it should do it.
     
  19. suber36g

    suber36g L3: Member

    Messages:
    134
    Positive Ratings:
    37
    How do I open the VTFs? via a text editor
    (I'm also using Windows 8.1)
     
  20. Dr. Orange

    Dr. Orange L6: Sharp Member

    Messages:
    369
    Positive Ratings:
    278
    I think they mean the vmts. The vtf files are the image files themselves. The vmt files are the materials that Source uses to define a material. You can open vmt files with any text editor like notepad. You should see the "$decal 1" parameter in there. Change the 1 to a 0 and it should work on brushes in Hammer and in-game. Once again, it's the vmt files you have to edit, not the vtf files.
     
    • Thanks Thanks x 1
    • Agree Agree x 1