
Posted by Flynn on Wed Jan 3rd at 9:09am 2007

Posted by Captain P on Wed Jan 3rd at 11:30am 2007
I mean, I don't know whether you know blended materials only work on displacement maps, or if you know where to place the .vmt's, etc.
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Posted by Flynn on Wed Jan 3rd at 11:34am 2007
Alright, this is the contents of my test.vmt file:
"WorldVertexTransition"
{
"$basetexture" "/concrete/concretefloor028c"
"$basetexture2" "/nature/grassfloor002a"
"%tooltexture" "/nature/grassfloor002a"
"%keywords" "test"
}
I P.M.ed it to Andrei and he said everything was A-okay.
Posted by reaper47 on Wed Jan 3rd at 2:57pm 2007
Posted by fishy on Wed Jan 3rd at 3:18pm 2007
"WorldVertexTransition"
{
"$basetexture" "/concrete/concretefloor028c"
"$basetexture2" "/nature/grassfloor002a"
"%tooltexture" "/nature/grassfloor002a"
"%keywords" "test"
}
I P.M.ed it to Andrei and he said everything was A-okay.
It looks ok to me, all except the red bits.
Posted by Naklajat on Wed Jan 3rd at 4:47pm 2007
Naklajat
member
1137 posts
207 snarkmarks
Registered: Nov 15th 2004
Location: Austin, Texas
Occupation: Baron
Posted by Flynn on Wed Jan 3rd at 6:45pm 2007
Nope-sorry fishy you are completely wrong. I just gave a "bad example" in the literal sense. I forgot to mention that I had played around with that file before and tried every possible thing that I could. I simply forgot to change it back before posting the file. I'm sorry to spoil your rather witty reply
I have tried putting the file in both "materials" and "materialsrc" in both the "Half-Life 2/hl2" and the "Sourcesdk_content" directories. Both nothing.
Here it is:
"WorldVertexTransition"
{
"$basetexture" "concreteconcretefloor028c"
"$basetexture2" "naturegrassfloor002a"
"%tooltexture" "naturegrassfloor002a"
"%keywords" "test"
}
Posted by omegaslayer on Wed Jan 3rd at 8:49pm 2007
What is it?
omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA

Occupation: Sr. DevOPS Engineer
Posted by Captain P on Wed Jan 3rd at 9:14pm 2007
For Hammer and the game to recognize the material, they need to be in the Half-Life 2/hl2/materials folder. The sourcesdk_content folder is just were most mappers put their source files (material, model and map source files, like .tga's, .vmf's and such).
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Posted by Flynn on Wed Jan 3rd at 10:31pm 2007
lol you know when you think "Ah, that was it" but then it turns out not to be. I have have thought that about a dozen times with this saga. I replaced the backward slashes with forward slashes and removed the first forward slash and then saved the file over the existing file in my Half-Life 2hl2materials folder and started up Hammer typed in the keyword "test" and nothing happened. Nothing whatsoever happened. Nothing whatsoever. No texture displayed, nothing. Out of all the mysteries I have dealt with in Hammer, this has got to be the strangest one yet. Especially considering how easy Andrei said it would be in his tutorial. Here's the "new and improved" file
:
"WorldVertexTransition"
{
"$basetexture" "concrete/concretefloor028c"
"$basetexture2" "nature/grassfloor002a"
"%tooltexture" "nature/grassfloor002a"
"%keywords" "test"
}
Posted by omegaslayer on Wed Jan 3rd at 10:53pm 2007
omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA

Occupation: Sr. DevOPS Engineer
Posted by Captain P on Thu Jan 4th at 12:05am 2007
Also, the keyword system locks up my Hammer. What happens if you type 'test' into the filter box?
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Posted by Flynn on Thu Jan 4th at 10:12am 2007
Well unless I am very much mistaken the tutorial does say to use notepad
Just incase I saved it as all files and still it refused to work. Captain P: Are you sure it won't work if I use notepad? Is the tutorial wrong?
Posted by Captain P on Thu Jan 4th at 1:10pm 2007
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Posted by Flynn on Thu Jan 4th at 2:20pm 2007
I select "all files" then when I go back to the file I just saved as "all files" it says "text document"
Alright dude, I went to all the trouble of downloading and installing a program entitled "NotePro" and I opened the file and it did indeed say "test.vmt.txt".
I then went on "save as" but the "all files" option was not there. So now the question is, how the hell can we save this damned thing as "all files"!?
Posted by Captain P on Thu Jan 4th at 2:33pm 2007
Anyway, if nothing of that helps, perhaps you can try Notepad++. I'm pretty happy about that program and you should surely be able to save documents with any extension you wish.
Alternately, if you're using Windows XP, you can tell it to display extensions for known file-types in the 'tools->folder options' menu, in the View tab. That allows you to change the extension in explorer.
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Posted by Flynn on Thu Jan 4th at 3:00pm 2007
O.M.G. it works! I was able to change the file extension in windows explorer!!!! O.M.G. Captain P you are my virtual hero!!!! O.M.G. O.M.G. O.M.G.!!!!!!! You are everyso reliable and consistant in your replies!!!! Thank you so very much!!!! Extra Snarkmarks for you!!!!


Sorry I just had to do all that lol. It's as if christmas has come all at once. It even works in game and everything! Thank you for being everyso helpful all of you guys.
Posted by Captain P on Thu Jan 4th at 3:21pm 2007
Plus, I get snarkmarks. If only I could buy something with them.
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Posted by fishy on Thu Jan 4th at 5:33pm 2007
am I still completely wrong, now that you know how to give the file a .vmt extension?
didn't think so.... ![]()
Posted by Captain P on Thu Jan 4th at 6:11pm 2007
Captain P
member
1370 posts
247 snarkmarks
Registered: Nov 6th 2003
Location: Netherlands

Occupation: Game-programmer
Snarkpit v6.1.0 created this page in 0.0244 seconds.


