Custom textures come out extremely small

Custom textures come out extremely small

Re: Custom textures come out extremely small Posted by CPS on Fri Dec 3rd 2004 at 4:36am
CPS
60 posts
Posted 2004-12-03 4:36am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
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.
Re: Custom textures come out extremely small Posted by Quaver on Fri Dec 3rd 2004 at 3:37pm
Quaver
144 posts
Posted 2004-12-03 3:37pm
Quaver
member
144 posts 104 snarkmarks Registered: Oct 28th 2003 Occupation: Student Location: London
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
Re: Custom textures come out extremely small Posted by CPS on Fri Dec 3rd 2004 at 10:01pm
CPS
60 posts
Posted 2004-12-03 10:01pm
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
The textures are scaled correctly in hammer, but no matter how they are
scaled in hammer it comes out the same during the game.
Re: Custom textures come out extremely small Posted by Leperous on Fri Dec 3rd 2004 at 11:34pm
Leperous
3382 posts
Posted 2004-12-03 11:34pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
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?
Re: Custom textures come out extremely small Posted by CPS on Sat Dec 4th 2004 at 12:20am
CPS
60 posts
Posted 2004-12-04 12:20am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
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?
Re: Custom textures come out extremely small Posted by CPS on Mon Dec 6th 2004 at 12:54am
CPS
60 posts
Posted 2004-12-06 12:54am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
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.
Re: Custom textures come out extremely small Posted by agent66 on Thu Dec 9th 2004 at 11:43am
agent66
4 posts
Posted 2004-12-09 11:43am
agent66
member
4 posts 0 snarkmarks Registered: Dec 9th 2004 Location: sweden
I got same problem, but it dosent work, my textures are still 16 times smaller.
Re: Custom textures come out extremely small Posted by Leperous on Thu Dec 9th 2004 at 11:46am
Leperous
3382 posts
Posted 2004-12-09 11:46am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Edited.