Custom textures come out extremely small
Post Reply
Quote
Re: Custom textures come out extremely small
Posted by CPS on Fri Dec 3rd at 4:36am 2004


I finally got a custom texture working from following a tutorial, but now when I go into a map with the custom texture, the texture appears verrrry small. Its dark, but you can see on the right.

http://img4.exs.cx/my.php?loc=img4&image=9b-newwestcampushmm2.jpg

In hammer the texture looks like a regular size. I get this in compile -

KeyValues Error: unexpected CR/LF in string in file materials/customtexture/bricksschool.vmt
lightmappedGeneric,
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/customtexture/bricksschool.vmt
lightmappedGeneric,
Detected multiplayer map, building linux dedicated server data
fixing up env_cubemap materials on brush sides...
KeyValues Error: unexpected CR/LF in string in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
KeyValues Error: unexpected CR/LF in string in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
KeyValues Error: unexpected CR/LF in string in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
KeyValues Error: unexpected CR/LF in string in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file materials/CUSTOMTEXTURE/BRICKSSCHOOL.vmt
lightmappedGeneric,
Material glass/glasswindowbreak070b is depending on itself through materialvar $crackmaterial! Ignoring...

In my .VMT I have

"LightmappedGeneric"
{
"$basetexture "Customtexture/BricksSchool"
}

Anyone have any ideas? Thank you.





Quote
Re: Custom textures come out extremely small
Posted by Quaver on Fri Dec 3rd at 3:37pm 2004


I dont know much about texturing but the default texture scale in hammer is 0.25 so you should make you textures 4 time bigger than you want them to appear [addsig]



Quote
Re: Custom textures come out extremely small
Posted by CPS on Fri Dec 3rd at 10:01pm 2004


The textures are scaled correctly in hammer, but no matter how they are scaled in hammer it comes out the same during the game.




Quote
Re: Custom textures come out extremely small
Posted by Leperous on Fri Dec 3rd at 11:34pm 2004


Why do you use that $basetexture? What happens if you leave it empty, or try another one? Tried following the tut here on custom textures?



Quote
Re: Custom textures come out extremely small
Posted by CPS on Sat Dec 4th at 12:20am 2004


Leaving it empty and taking out the {} just makes the texture come out black in game. I didnt follow the tut on here, but I looked and it is pretty much the same thing. Any other ideas?



Quote
Re: Custom textures come out extremely small
Posted by CPS on Mon Dec 6th at 12:54am 2004


I fixed it.

"LightmappedGeneric"
{
"$basetexture "Customtexture/BricksSchool"
}

basetexture needed another quote after it. The tutorial on here has it without that quote, so someone may want to fix that.





Quote
Re: Custom textures come out extremely small
Posted by agent66 on Thu Dec 9th at 11:43am 2004


I got same problem, but it dosent work, my textures are still 16 times smaller.





Quote
Re: Custom textures come out extremely small
Posted by Leperous on Thu Dec 9th at 11:46am 2004


Edited.




Post Reply