Texture issues.

I am bad at textures.

By A_Guardian 2 years ago

So i'm making a new skin, and i have the model and the texture all sorted. But i cannot get the .smd to save the texture. I have all the file paths set right to the best of my knowledge, but i cannot get the texture to work. And i would like to have more to my collection then just a bunch of un-skinned models.

Any help would be appreciated.

And i am using Paint.net and Blender.

12 posts 558 views
  • You must be a member

Replies

  • Dr. Whoop DSc's Levels
    • P4: Worker
      Points: 35,259
    • E1: Helper
      EF: 11
    • C1: Member
    • A5: Veteran
      Account Age: 4 years
    Posted 2 years ago

    Is the name of the texture applied in blender the same as what your .vmt links to?

    post your .vmt & filepaths n whatnot

  • A_Guardian's Levels
    • P2: Drudge
      Points: 1,588
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 2 years ago

    Holy crud did my .vmt really just default back to this?

    Vmt

    "LightmappedGeneric" { "$basetexture" "/models/player/items/all_class/bowtie2.vtf" "$nolod" 1 }

    qc

    $cd "C:\Documents and Settings\Curtis\My Documents\Chris's\Models\Bowtie\medic\output" $modelname "player/items/medic/professorspeks.mdl" $model "body" "bowtie2.smd" $cdmaterials "/models/player/items/allclass/" $hboxset "default" $hbox 0 "bipspine3" -3.164 -3.239 -6.338 3.164 0.000 0.000 // Model uses material "bowtie2.vmt" $surfaceprop "default" $illumposition 3.169 0.000 1.620 $sequence ref "ref" fps 30.00

    As i said, i am bad at textures.

    YEA, LEARNING PHONG!
  • A_Guardian's Levels
    • P2: Drudge
      Points: 1,588
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 2 years ago

    Also, i cannot get blender to actually save the .smd with a texture. I can get the texture to apply with a .obj or .blend but not with a .smd.

    I don't know what i am doing wrong, but it is rather annoying.

    YEA, LEARNING PHONG!
  • Devieus's Levels
    • P3: Peasant
      Points: 23,439
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 2 years ago

    The texture the eventual '.mdl' file will be looking for is the same as the name you've given the object (not the mesh or the '.smd'). Also, applying textures in blender is only for visual effect for use of making renders, it won't export with it.

    I just learned this the hard way yesterday when hexing my models to figure out why the texture wasn't loading; though anyone's free to correct me on this one.

    User Title
    Sentinel of the TV remote
  • A_Guardian's Levels
    • P2: Drudge
      Points: 1,588
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 2 years ago

    Posted by Devieus

    The texture the eventual '.mdl' file will be looking for is the same as the name you've given the object (not the mesh or the '.smd'). Also, applying textures in blender is only for visual effect for use of making renders, it won't export with it.

    I just learned this the hard way yesterday when hexing my models to figure out why the texture wasn't loading; though anyone's free to correct me on this one.

    Yeah, i know that much. I'm just really bad at this so far. still working on getting the texture to stick to anything other than a .obj/.blend

    YEA, LEARNING PHONG!
  • Devieus's Levels
    • P3: Peasant
      Points: 23,439
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 2 years ago

    Posted by A_Guardian

    Posted by Devieus

    The texture the eventual '.mdl' file will be looking for is the same as the name you've given the object (not the mesh or the '.smd'). Also, applying textures in blender is only for visual effect for use of making renders, it won't export with it.

    I just learned this the hard way yesterday when hexing my models to figure out why the texture wasn't loading; though anyone's free to correct me on this one.

    Yeah, i know that much. I'm just really bad at this so far. still working on getting the texture to stick to anything other than a .obj/.blend

    Why do you want textures on a '.smd' file anyway, in the source engine that crap is handled by the '.qc'+'.vmt' anyway.

    User Title
    Sentinel of the TV remote
  • A_Guardian's Levels
    • P2: Drudge
      Points: 1,588
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 2 years ago

    Posted by Devieus

    Posted by A_Guardian

    Posted by Devieus

    The texture the eventual '.mdl' file will be looking for is the same as the name you've given the object (not the mesh or the '.smd'). Also, applying textures in blender is only for visual effect for use of making renders, it won't export with it.

    I just learned this the hard way yesterday when hexing my models to figure out why the texture wasn't loading; though anyone's free to correct me on this one.

    Yeah, i know that much. I'm just really bad at this so far. still working on getting the texture to stick to anything other than a .obj/.blend

    Why do you want textures on a '.smd' file anyway, in the source engine that crap is handled by the '.qc'+'.vmt' anyway.

    The model itself needs a texture. Which can be checked by opening the .smd with n++. I dont get the texture at all. Which is most likely why i cannot get a texture to work. Other then that, i think all the filepaths are all good.

    YEA, LEARNING PHONG!
  • Logan Dougall's Levels
    • P5: Peddler
      Points: 143,416
    • E6: Authority
      EF: 223
    • C5: Admin
    • A6: Elder
      Account Age: 7 years
    Posted 2 years ago

    Just a note but the line:

    // Model uses material "bowtie2.vmt"

    Doesn't actually set the texture being used. It's just an FYI comment for people as shown by the // in front of it.

    Felt that needed to be said,

    !MOVING! Contact another Admin
  • A_Guardian's Levels
    • P2: Drudge
      Points: 1,588
    • C1: Member
    • A4: Graduate
      Account Age: 3 years
    Posted 2 years ago

    Posted by Logan Dougall

    Just a note but the line:

    // Model uses material "bowtie2.vmt"

    Doesn't actually set the texture being used. It's just an FYI comment for people as shown by the // in front of it.

    Felt that needed to be said,

    Yep. Its the whole {}/$ thing that denotes used code. But might as well change that while i'm at it.

    YEA, LEARNING PHONG!
  • Devieus's Levels
    • P3: Peasant
      Points: 23,439
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 2 years ago

    Posted by A_Guardian

    The model itself needs a texture.

    True, but the '.smd' file isn't the model, the '.mdl' file is the model, which is what a '.smd' compiles into. As mentioned here, the '.smd' file contains no information on textures, only meshes, bones, and animations (and some other stuff).

    User Title
    Sentinel of the TV remote
  • You must be a member