• Having strange texture problems.
    5 replies, posted
I'm having a weird problem, where my model is solid purple. It's not checkerboard, I think because it's a sphere it just doesn't have enough space to show black, but I think it might be checkerboard. I don't see what the problem is though. With all of my models, I can get the object in, just not the textures. Why do you think this might be? (I'm very new to modeling.) I went by this guide: [url]http://www.facepunch.com/showthread.php?t=734991&highlight=Blender[/url] Maybe it was something in Blender? I might have mis-linked the texture. I don't know what could possibly be wrong. I don't see ANYTHING that is wrong with my text files. model.qc [code]$modelname "WDW_Golf/golfball.mdl" $body mybody "golf_ball.smd" $staticprop $surfaceprop "metal" $cdmaterials "WDW_Golf/golf_ball.vmt" $scale 1 $sequence idle "idle.smd" loop fps 1 $collisionmodel "golf_ball-phy.smd" { $automass $concave } $keyvalues { "prop_data" { "base" "Metal.Medium" } } [/code] golf_ball.vmt [code]"VertexLitGeneric" { "$basetexture" "/WDW_Golf/golf_ball" "$surfaceprop" "metal" "$model" 1 }[/code] It's about to drive me insane. (Maybe I should replace the instance of golf_ball.vmt in model.qc with golf_ball.vtf?)
$cdmaterials needs to go to the folder where the vmt is, not to the vmt itself. So, guessing materials/WDW_Golf is the path, it should be like this. [code]$modelname "WDW_Golf/golfball.mdl" $body mybody "golf_ball.smd" $staticprop $surfaceprop "metal" $cdmaterials "WDW_Golf" $scale 1 $sequence idle "idle.smd" loop fps 1 $collisionmodel "golf_ball-phy.smd" { $automass $concave } $keyvalues { "prop_data" { "base" "Metal.Medium" } } [/code]
Yea that shoukd fix it, why have you not got a "1" after $staticprop (which btw you don't need unless your using it in a map and don't want it to move).
[QUOTE=Silver Spirit;17496247]Yea that shoukd fix it, why have you not got a "1" after $staticprop (which btw you don't need unless your using it in a map and don't want it to move).[/QUOTE] You just answered your own question bro. It's a golf ball.
[QUOTE=Thunder Skunk;17496373]You just answered your own question bro. It's a golf ball.[/QUOTE] eh? I don't see how what you just said makes sense, if you mean hes taken out the "1" so its not static, but then left the $staticprop then no, no I did not. If its not suppost to be static then it shouldn't be there at all (and i'm supprised the compiler didn't go crazy, it doesn't like stuff like that)
I read it wrong, my bad *shrugs*
Sorry, you need to Log In to post a reply to this thread.