• Model Texturing Problem
    29 replies, posted
so latelly ive been porting a model of Mickey mouse and the models works i just cant get the texture right in blender it shows this as the material being used [url]https://gyazo.com/d509473084f6b2ef2da536e175a5e948[/url] But in the folder where the model iwas using there are only these textures [url]https://gyazo.com/3c4a985c08b3a95f5ec58b882c4e435b[/url] So what i do is i just make VTFs and VMTs for all of them [url]https://gyazo.com/4f663ed0c42fdd68a323ea7914fa709f[/url] [url]https://gyazo.com/7cfac1113265219c2a33f51f29534136[/url] With no luck i decide to go through and rename each version of the VTFs and VMTs [url]https://gyazo.com/96eeb94fc185db01cf9ca80304b0301e[/url] [url]https://gyazo.com/7775e4c7dd3e8a270fa04e381ddfe76c[/url] I try this with all versons of the textures and they all still show up as [url]https://gyazo.com/7cfac1113265219c2a33f51f29534136[/url] So i came here to get some help from the pros or atleast have you guys tell me what my noob mistake was, thank you I tried to make this as detailed as possible, hopefully i wont have to wait 2-3 days to get a post, again...
I'm Pretty sure i have it set correctly, if not it's my bad [url]https://gyazo.com/f1e6be236a6c7acc7b01883f8391ec91[/url] [url]https://gyazo.com/4e793a8319ffb86a39489dc600f40e53[/url]
[QUOTE=SevenBillion;49947763]It seems the folder names are correct. However, for some reason, you put in the materials folder in the addon folder, which is generally only .gma files are suppose to be there. You should instead put the materials folder in the main garrysmod folder. Something like this. [URL="http://i.imgur.com/8BFMoLj.png"]http://i.imgur.com/8BFMoLj.png[/URL] Notice that the materials folder is in the garrysmod (lowercase one) folder not in the addons folder. Try that and it should work.[/QUOTE] i tried this and still got missing textures What i tried after that is i re-compiled the model with [url]https://gyazo.com/3e2638f69c1171d4aa523b79735e4ecb[/url] [url]https://gyazo.com/786edef38b148a1af30dc8b60553c6df[/url] And yet i still got missing textures [url]https://gyazo.com/72e765ba1112d89ed7fe7d76ef0bd50c[/url]
The materials should be fine in the /addons/<addon-name>/materials folder. In fact, it has to be that way if you intend on putting it in the workshop. What's most likely wrong is the way you have the materials set up in your modeling program. To check: open up the uncompiled .SMD in a notepad program, it should say the name of the materials used many times over
pas[odk [editline]16th March 2016[/editline] [QUOTE=LunaSkywalker;49948086]The materials should be fine in the /addons/<addon-name>/materials folder. In fact, it has to be that way if you intend on putting it in the workshop. What's most likely wrong is the way you have the materials set up in your modeling program. To check: open up the uncompiled .SMD in a notepad program, it should say the name of the materials used many times over[/QUOTE] trying now [editline]16th March 2016[/editline] [QUOTE=LunaSkywalker;49948086]The materials should be fine in the /addons/<addon-name>/materials folder. In fact, it has to be that way if you intend on putting it in the workshop. What's most likely wrong is the way you have the materials set up in your modeling program. To check: open up the uncompiled .SMD in a notepad program, it should say the name of the materials used many times over[/QUOTE] yes, it does but as ive established there is no "MickeyMouse" texture in the root folder [url]https://gyazo.com/e19ad5599cb4a51af53cacf940fce401[/url] [url]https://gyazo.com/3c4a985c08b3a95f5ec58b882c4e435b[/url]
That would be the problem! The SMD is looking for the texture "MickeyMouse" when it should be looking for "Mickey_Mouse_D" or with _N or _S where needed. You'll have to set it up correctly within the Modeling program then export it again
[QUOTE=LunaSkywalker;49948218]That would be the problem! The SMD is looking for the texture "MickeyMouse" when it should be looking for "Mickey_Mouse_D" or with _N or _S where needed. You'll have to set it up correctly within the Modeling program then export it again[/QUOTE] I renamed the material in blender and exported it again [url]https://gyazo.com/92eae1ad66ba41f3ca5ca3783baedf96[/url] It still did not work [url]https://gyazo.com/c26650c88aab45cf3008ca861e30c347[/url]
[QUOTE=SevenBillion;49948492]Your current material path is addons/MickeyMouse/models/Communist/Mtext, if I am correct. And your current $cdmaterial is models/Communit/Mtext. You should probably either modify the $cdmaterials to MickeyMouse/models/Communist/Mtext or omit/delete the MickeyMouse folder in order to match up with the current material path.[/QUOTE] didnt work, whatever, there's an obvious communication gap here i think its just time for me to give up on trying to make models, thanks for all the help, maybe ill try again in a few months [editline]17th March 2016[/editline] i actually thought of something, is it that the original model the .obj doesnt actually have a model applied to it it just reads the textures throught the .mtl? or am i just spitting out dumb ideas
Have you checked your vmts for errors?
[QUOTE=Midkey;49948959]Have you checked your vmts for errors?[/QUOTE] How are you able to check vmts for errors?
[QUOTE=CavalryKiller;49949064]How are you able to check vmts for errors?[/QUOTE] Do you have VTFEdit? If you use that to open the vmt files they probably will look similar to this: [CODE]"vertexlitgeneric" { "$basetexture" "models/Mickey/MickeyMouse" } [/CODE]
[QUOTE=Midkey;49949104]Do you have VTFEdit? If you use that to open the vmt files they probably will look similar to this: [CODE]"vertexlitgeneric" { "$basetexture" "models/Mickey/MickeyMouse" } [/CODE][/QUOTE] Mine looks like: [CODE] "VertexlitGeneric" { "$basetexture" "Users/Jesse/Desktop/501p2model/cgi_phase2_501st" } [/CODE] [editline]17th March 2016[/editline] [QUOTE=CavalryKiller;49949204]Mine looks like: [CODE] "VertexlitGeneric" { "$basetexture" "Users/Jesse/Desktop/501p2model/cgi_phase2_501st" } [/CODE][/QUOTE] I believe some of my file names have spaces(Don't ask why xD), just gonna try replacing them with underscores.
[QUOTE=Midkey;49949104]Do you have VTFEdit? If you use that to open the vmt files they probably will look similar to this: [CODE]"vertexlitgeneric" { "$basetexture" "models/Mickey/MickeyMouse" } [/CODE][/QUOTE] Yes i did [url]https://gyazo.com/71e979b8aa9e2896798d6ef3777255fd[/url] [url]https://gyazo.com/0f554865c6bd427391db886e6dfdc5e1[/url]
Ok it would make sense if I changed that to the Model ahahaha.
[QUOTE=KommLizard;49949226]Yes i did [URL]https://gyazo.com/71e979b8aa9e2896798d6ef3777255fd[/URL] [URL]https://gyazo.com/0f554865c6bd427391db886e6dfdc5e1[/URL][/QUOTE] You've changed the file names haven't you? "Mickey_Mouse_D" would need to be "MickeyMouse" aswell, if thats what you changed it to. Edit: What are the other textures files for? Things like the normals are specified in the base texture's vmt and don't need their own one.
[QUOTE=Midkey;49949355]You've changed the file names haven't you? "Mickey_Mouse_D" would need to be "MickeyMouse" aswell, if thats what you changed it to. Edit: What are the other textures files for? Things like the normals are specified in the base texture's vmt and don't need their own one.[/QUOTE] yes all of the file names are "Mickey_Mouse_D" [url]http://i.imgur.com/Ii193qw.png[/url] [url]http://i.imgur.com/WjiBFU7.png[/url] It is also that way in the VMT [url]http://i.imgur.com/bxwbwtt.png[/url] The qc points to the correct dir [url]http://i.imgur.com/Le5nhmD.png[/url] [url]http://i.imgur.com/Ii193qw.png[/url] [url]http://i.imgur.com/zJpoVO6.png[/url]
[QUOTE=KommLizard;49949441]yes all of the file names are "Mickey_Mouse_D" [url]http://i.imgur.com/Ii193qw.png[/url] [url]http://i.imgur.com/WjiBFU7.png[/url] It is also that way in the VMT [url]http://i.imgur.com/bxwbwtt.png[/url] The qc points to the correct dir [url]http://i.imgur.com/Le5nhmD.png[/url] [url]http://i.imgur.com/Ii193qw.png[/url] [url]http://i.imgur.com/zJpoVO6.png[/url][/QUOTE] Try changing the file location in the vmt to /models/Communist/Mtext/Mickey_Mouse_D
no luck [IMG]http://i.imgur.com/Kn14yXz.png[/IMG]
I think you need to create new folders for your materials. Something like this "Mickeymouse/materials/models/Communist/MText/" and then put the vtfs and vmt into it.
[QUOTE=Midkey;49949817]I think you need to create new folders for your materials. Something like this "Mickeymouse/materials/models/Communist/MText/" and then put the vtfs and vmt into it.[/QUOTE] we tried that around 3-4 hours ago, it didnt work. :(
[QUOTE=KommLizard;49949820]we tried that around 3-4 hours ago, it didnt work. :([/QUOTE] Hmm... Did you keep the .mdl in a separate file path? Like: MickeyMouse/Materials/models/... for the textures MickeyMouse/Models/... for the model itself
[QUOTE=Midkey;49949844]Hmm... Did you keep the .mdl in a separate file path? Like: MickeyMouse/Materials/models/... for the textures MickeyMouse/Models/... for the model itself[/QUOTE] yes
Add me on Steam and I will help you out
[QUOTE=Chuckymore;49949869]Add me on Steam and I will help you out[/QUOTE] ill have to add you tomorrow as i have work in 30mins, thank you in advance
Fixed. Wrong $cdmaterials and $basetexture paths were the problems as well as wrong texture image.
Sorry, you need to Log In to post a reply to this thread.