• Model checkered in Hammer
    11 replies, posted
Snagged a model and tried slapping it in hammer, but it's doing the purple black checker texture. Model in hammer: [url]http://i.imgur.com/ZKLgxin.png[/url] Mapping with HL2 EP2. Pretty sure everything's in the right place, I think. File Location: [url]http://i.imgur.com/Nn1dWjP.png[/url] Pretty sure the .vmt's are how they should be, I think. [code]"VertexLitGeneric" { "$basetexture" "materials/models/dbdoor/ruinsdoor01" "$surfaceprop" "concrete" }[/code] [code]"VertexLitGeneric" { "$basetexture" "materials/models/dbdoor/dbdoor01" "$surfaceprop" "concrete" } [/code] And I'm pretty sure the .qc is okay, probably, I think. [code]$ModelName "dbdoor.mdl" $body studio "dbdoor.smd" $collisionmodel "dbdoor.smd" { $concave } $staticprop $SurfaceProp "concrete" $Contents "solid" $CDMaterials "materials\models\dbdoor" $sequence idle "dbdoor.smd" // no animation wanted, so re-using the reference mesh[/code] Am I just retarded, or am I missing something?
[CODE]$CDMaterials "materials\models\dbdoor"[/CODE] And the texture is named [CODE]dbdoor01[/CODE] EDIT: Yeah, you're right. It doesn't really matter and I can't find a problem with the vmts.
hmm...lemme check on that. see if it does anything edit: I don't think that really matters all that much. That's the name file the materials are in. Or am I thinking about it wrong?
Might sound like a stupid question but did you actually assign the VTFs to the model in your model editor?
Yes, but I'm working with 3ds max 2016 so I cannot use .vtf files directly as textures and all plugins related to that are for 2012 and older. So I saved the .vtf's as .tga and then applied them. Originally they were .dds files. [url]http://i.imgur.com/wAxYy8T.png[/url]
Could you send me the model file as a .max and the textures with it? I wanna try something and see if that would work.
[QUOTE=Brightness;51797711]Could you send me the model file as a .max and the textures with it? I wanna try something and see if that would work.[/QUOTE] Sent it to ya.
[T]http://i.imgur.com/CREjEs0.png[/T] Had to recompile the prop and remake the vmts. Sent you the updated files in DMs
Can you explain exactly what you did? I'm going to be porting over quite a few more models and I don't want to keep running into the same issue! I'd really appreciate it!
I have exported the vtfs and vmts through Wallworm and compiled it at the same time.
[QUOTE=Brightness;51807856]I have exported the vtfs and vmts through Wallworm and compiled it at the same time.[/QUOTE] I watched the video on exporting vtf's and vmt's on the wallworm website, but whenever I try to export them they pop up in the directory as a series of .tga's, .txt's and .bats. Not a vtf or vmt in sight. [url]http://i.imgur.com/mf8Qvah.png[/url]
[QUOTE=Sexy Frog;51799102]Can you explain exactly what you did? I'm going to be porting over quite a few more models and I don't want to keep running into the same issue! I'd really appreciate it![/QUOTE] The material name in Max needs to be the same as the vmt name. Basically $cdmaterial is the directory it looks in, and then it tries to load a VMT file with the name of the material.
Sorry, you need to Log In to post a reply to this thread.