Re-Texturing a Prop

Discussion in 'Mapping Questions & Discussion' started by biskuu, Feb 28, 2016.

  1. biskuu

    biskuu L2: Junior Member

    Messages:
    97
    Positive Ratings:
    17
    I am looking for a way to changer the textures of a prop.
    I've decompiled it but the only thing that looks like texture related inside the .qc file is "$CDMaterials "models\props_badlands\""

    Isn't there a way to edit the .qc in order to replace the current texture with another texture? The way it is right now it looks as if it looks for the model's textures inside this folder.
     
  2. iiboharz

    aa iiboharz Meme Queen

    Messages:
    700
    Positive Ratings:
    1,025
    You don't need to decompile a model to edit its texture, you need to find its .VTF file and edit that.
     
  3. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    900
    Positive Ratings:
    1,443
    unless you want to add a new skin
     
  4. biskuu

    biskuu L2: Junior Member

    Messages:
    97
    Positive Ratings:
    17
    But won't players see this prop with that texture when I pack it on my bsp won't players see this texture on other maps with the same prop?
    Making a new skin sounds good, how would I do that?
     
  5. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    900
    Positive Ratings:
    1,443
    packed files only "show" in the map they're packed in, if you want all instances of the prop in your map to be retextured, do what iibo said
     
    • Agree Agree x 1
  6. biskuu

    biskuu L2: Junior Member

    Messages:
    97
    Positive Ratings:
    17
    I'd like to make a skin for this prop , how do I do that?
     
  7. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    900
    Positive Ratings:
    1,443
    decompile, go to $cdmaterials location and grab the textures you want to edit, edit textures and save as vmt&vtf using vtfedit (with a different name than the origional, but in the same location) Go into qc and add "$texturegroup skinfamilies" below $cdmaterials so that it looks like this:

    or something similar, then recompile with guistudiomdl



    If you can't find which textures you need to edit, open the model in hl2modelviewer and look at the loaded vmts
     
    • Thanks Thanks x 1
  8. biskuu

    biskuu L2: Junior Member

    Messages:
    97
    Positive Ratings:
    17
    thanks :D
     
  9. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    900
    Positive Ratings:
    1,443
  10. biskuu

    biskuu L2: Junior Member

    Messages:
    97
    Positive Ratings:
    17
    i've been trying tons of stuff the past 3,5 hours and the closest i managed to make it is this: http://i.imgur.com/626dh1A.png
    basically i want to retexture the badlands spire and i actually found a guy who did this: http://files.gamebanana.com/img/ss/maps/51b1fd5767a5b.jpg
    I even downloaded the map and opened the .bsp with GCFScape, I've ran in so many problems and did so many things I lost track of everything :(

    I tried editing the mdl to change the texture but it shows these purple checkers
     
  11. Pocket

    aa Pocket func_croc

    Messages:
    4,480
    Positive Ratings:
    2,213
    I've been told that they fixed that when the game was converted from GCF to VPK.

    I mean, it's probably still just good practice to use unique filenames and/or hack props to have additional skins.

    Also, you'll need to add a parameter to rotate it... 270 degrees I think? I forget; something about the decompile process causes the new version to be rotated differently than the original; that's why for example some of the track pieces that were added for Hoodoo or something don't face the same way as the original stock ones.
     
  12. biskuu

    biskuu L2: Junior Member

    Messages:
    97
    Positive Ratings:
    17
    I tried adding only the vtfs and the prop has the custom textures on Hammer but when I see it in-game it has the default textures.
     
  13. Nicky

    aa Nicky Rotten Tops

    Messages:
    907
    Positive Ratings:
    1,664
    If you did this, would you just put the VMT and VTF in the materials folder, then pack it into the bsp? Would it show up as the custom texture or the default texture?
     
  14. Pocket

    aa Pocket func_croc

    Messages:
    4,480
    Positive Ratings:
    2,213
    I'm pretty sure the heirarchy is: Packed content > custom content > default content. If the file is the same name and the same location as the one you're trying to override, it should be working for you, at least, even before you pack it.
     
Tags: