CS:S Help with custom textures. Created 18 years ago2006-11-27 21:06:08 UTC by unk unk

Created 18 years ago2006-11-27 21:06:08 UTC by unk unk

Posted 18 years ago2006-11-27 21:06:08 UTC Post #204269
Hello all,

Sorry for take your time. I am brazilian guy, so sorry for my english too, i speak portuguese.
So, i need your help. I made a map for cs:s (for improve my skills in game) but i create a texture ( a target image) in photoshop with plugin for VTF. I used the VTFedit to create *.vmf file. I put them (2 files) in cstrike/materials folder and open the Hammer. I can see my texture in hammer (his name) but she is a many purple square in the map. I tryed everything in 2 weeks!! Please someone help-me!

thanks 4 all!!

unk
Posted 18 years ago2006-11-27 21:34:36 UTC Post #204270
did you add the text file and save it as .vmx (i think?)

btw here some pointers (NOT trying to be spiteful or arrogant)

You mean to improve you skills ;)

textures have no gender, just call them "it".

other than that pretty good for a non natural English speaker ^^
Posted 18 years ago2006-11-27 23:01:48 UTC Post #204280
humm oh yes, i make this. The VTFedit makes the *.vmf ( *.vmx??? ) files naturally in tools options. But thanks 4 help's try.
Thanks for you help with my english :) i really aprecciate this. I need improve my english too ^^.
Anyone help-me?
Posted 18 years ago2006-11-27 23:24:51 UTC Post #204281
actually .vmx is a file you make through putting a code in a notepad document, saving it with the name of your texture but the file extension .vmx I'm pretty sure its essential. lemme look for a tut....

heres an excerpt from twhls tutorial on the subject:
Now that you have created your actual texture, it is time to create its material attributes (what it sounds like when dropped, whether it has any special cubemap properties etc.). If you are going for a basic texture with no specific material properties, then follow the instructions below.

When you ran VTEX, it made an empty .txt file in your materialsrcmytexes folder. Open it with notepad or your selected text editor. Paste this in it:

"LightmappedGeneric"

{ "$basetexture" "yourfoldername/yourtexname" }

In the place of each yourtexname insert the name of your material (this being the name of your TGA) and in the place of yourfoldername insert the name of your texture folder (for me it would be mytexes).
link: http://twhl.co.za/tutorial.php?id=89

Now i read that again i believe it might actually not be this missing .vmx file

no idea then sry :
Posted 18 years ago2006-11-27 23:35:52 UTC Post #204283
I never thought I'd say this, but I miss wads lmao. I have no clue unk. The .vmx file makes sense though, try adding it, if it doesn't work - check your compile log and see if it brings any errors, if it does, post them. If it doesn't, check your console after you load up the map and see what error it generates. If you don't get ANY errors, I'm afraid I don't know what could possibly be wrong.
Posted 18 years ago2006-11-28 04:40:12 UTC Post #204299
what?!
you dont need a .vmx file..

you need a .vtf and a .vmt.

both files need to be in a folder in your materials folder. That's
cstrike/materials/yourmaterialfolder/yourmaterial.vtf

the .vmt needs to be made in notepad.

this is an example .vmt file:

"LightmappedGeneric"
{
"$baseTexture" "aeb/aeb_restricted1"
"$surfaceprop" "metal"
"$bumpmap" "aeb/aeb_restricted1_normal"
"$normalmapalphaenvmapmask" "1"
}
where aeb/ is the folder,
aeb_restricted1 is the .vtf,
aeb_restricted1_normal is the normal-map.vtf (not required)
surfaceprop is the footstep sound/bullet decal/prop detail.

both files also need to be in your sourcesdk_content/cstrike/materialssrc folder too.
Archie ArchieGoodbye Moonmen
Posted 18 years ago2006-11-28 06:34:33 UTC Post #204303
VMX is the map backup file. :P

The most important part is the "$baseTexture" bit. Remember, you don't need the "materials" part of the folder, you just need the stuff that comes after it.

Say your texture is in a folder called "blah". You don't put "materials/blah/texture", you put "blah/texture".
AJ AJGlorious Overlord
Posted 18 years ago2006-11-28 11:21:20 UTC Post #204322
Posted 18 years ago2006-11-28 19:31:32 UTC Post #204371
woops your right ant. (wow what a kacknoob mistake on my part 0-o) Sorry i messed around with custom textures a while back

Orpheus i just pointed out to things and stated in the same breath i only wanted to help not jest.
Orpheus he said he appreciated it anyway ^^
Posted 18 years ago2006-11-29 00:38:05 UTC Post #204397
yeahh!!!! With your help i done!! I dont put the files in sourcesdk folder too , this my error!!
So, thaaaaaaaaaaanks very much for all (helping and english teaching ^^)
Really thanks!!! thanks thanks thanks!!!!
thanks: Arcan, Orpheus, Ant, Hunter, TikiTony and all of community!!
God bless you!
Posted 18 years ago2006-11-29 23:56:38 UTC Post #204536
Posted 18 years ago2006-11-30 21:37:33 UTC Post #204685
You must be logged in to post a response.