THE GAME CUSTOMIZATION NETWORK: FPSB | RTSB | RPGB |
SUBSCRIBE
 
 

Making Ref
Added by...
Brought to you by...
Key Authors
vagrant
Category: CS:S > Skinning
Tags: making, reflect, maps
Added 3 years ago - last modified 1 year ago
Making Reflect Maps

I learned how to do make them using Bullethead's compiling tut, you can get the full version here
The wording in that tut is a little confusing, so I'm writing this to clarify and go a
little more in-depth.These are not all that hard to make, and they add professionalism and looks to your work. After this, anyone who has Photoshop shouldn't have an excuse not to include these in their releases.

Note-I don't think that you actually have to do steps 8-10, but this is the way I learned it so it's what I do. Make your own call, and experiment to figure out what's best for you.

Programs you'll need:
Photoshop
vtex (this is NOT the vtex from the sourcedk/bin folder)

Steps:
1. Convert all your textures to .tga (if they're not already) using vtf2tga.gui
2. Open a texture in Photoshop
3. Image-Adjustments-Desaturate (shift+control+u)
4. Create a new layer, fill it pitch black (Edit-Fill or shift+F5) and set opacity to 85%. Note-the opacity does not have to be set to 85%, you can set it anywhere between 80%-90%, but do not go above or below those values. 80% or lower is too reflective, and 90% or above is too dark.
5. Repeat on all textures. KEEP THE OPACITY SETTING THE SAME
6. Save the textures as .tga files (32 bits/pixel) to vtex/hl2/materialsrc/sprays as (name of texture)_ref
7. Run tga2vtf.bat (the DOS file)
8. Go to vtex/hl2/materials/sprays and delete everything there
9. Go to vtex/hl2/materialsrc/sprays and enter the line "nomip" "1" into all the text files that have been generated
10. Run tga2vtf.bat again
11. Go to vtex/hl2/materials/sprays and copy the files to the folder that contains the textures for the model in cstrike/materials/models/weapons/v_models/folder name, or wherever else the folder is
12. Edit the .vmt files in the folder to look like this:
Hosted by BTL Studios

Now go test them out in-game!
Feedback
10 months ago



Pic at bottom is fail. in other words, its broke


question everything, or believe anything
1 year ago
BenA0093



Whenever i try and save the vtm(right at the end of the tut) it says "Error Parsing VMT: Error Parsing material on line 7 (expected open brace)" and i dont understand what it means *EDIT* dont worry figured it out :L i mistook the cursor at the end of the line on the VMT bit for one of these "|" lol

Bananite
1 year ago



Posted by ::lightswitch::

So what is the difference between normal maps and ref maps then?

Good tut btw, well explained.


Normalmaps make bumps and lighting and ref maps make reflections and more lighting. :D

Violent lives ending BETTER THAN EXPECTD
1 year ago
lightswitch



So what is the difference between normal maps and ref maps then?

Good tut btw, well explained.


Ripe expired. :(
2 years ago
antman311



Alright wtf. I extracted everything to a vtex folder I created and put the ref map in the materialsrc folder, and then executed tga2vtf.exe, and it says it cannot find an output directory. I've tried this many different ways at least 20 times and nothing is working. Wow. Anything with the word tex in the program does not like to work with me.


Fix bayonets!
3 years ago
elcobra



Awesome tut, very good explined and simple.


Vote my poll
3 years ago



It's ok.
But not needed.
It's just to darker the orginal skin and voila.


Facepunch sucks
3 years ago
Soviet1942



Awesome.


Supa Sexay
3 years ago



Yay I wanted to know how to do this :D


Lick my Leaf
3 years ago



Yay, COOL!!!

Not the master of IRC
10 records
Add Feedback
Please provide constructive feedback and adhere to FPSB's Posting Rules.
You cannot post yet! Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop. To post in this submission register or login
Assessment
You cannot assess a withheld submission
Disapproval Warning
This submission has been disapproved and will be automatically trashed if more are made. Please check the submission and vote accordingly.
Disapproved for Lacking decent screenshots (1 time)
User Rating [+]
7/10
bScore
9.3/10
Stamps
This Tutorial in a nutshell...
You cannot stamp a withheld Tutorial
No stamps recorded
Stamps
This Tutorial in a nutshell...
You cannot stamp a withheld Tutorial
No stamps recorded
Stamps
This Tutorial in a nutshell...
You cannot stamp a withheld Tutorial
No stamps recorded