Even if you’re not planning on changing buildings, you can still apply this method to any texture.It’s part three of a six-part guide. This covers my ’07 Buildings.
Tools you need
Photoshop alternative – Paintnet[www.getpaint.net]
To pack/unpack vpk’s – GCFScape[nemstools.github.io]
For adjusting textures – VMT editor[gortnar.com].
Finding the texture
Now open the console type “sv_cheats 1”, then “map apartments” to load up a map.
It’ll boot the first level of no mercy, disable the annoying infected “director_stop”, then “noclip”.
Look around, let’s say we wanna change that building over there
Aim at it and type “mat_crosshair”.
It will show you the name of the texture you’re looking at, and the file path that leads to it.
In this case, it says buildings/brick 08, we now know the file path.
Preparing the texture
Check pak01_dir files, there’s 5 of them.
You will find all textures in dir vpk folders (use GCFSCAPE).
The texture I want to change is in left4dead2_dlc2 folder’s pak01_dir.
Follow my lead, let’s go grab it and export it to desktop in BMP format.
Editing
Here you can see your tools tab, layers, colors you name it.
Now make a duplicate of brick 08.
Select the original layer, go to properties and lower it’s opacity to “1”.
Now select the visible duplicate layer on top, time to erase a few things.
Adding the glowy parts
Use the rectangle selection tool, zoom in on the windows and erase the window bits.
Good enough, now fill them up with some piss using the paint bucket tool.
Moving on, erase absolutely everything.
Only keep the painted parts, we need those for the glow.
Now save it.
Save as – PNG – desktop – OK – flatten.
Saving your texture as VTF
Set the correct dimensions, in this case it’s 512×512.
(Because the original’s dimensions are also 512×512).
This is how our texture should look, make sure there are no artifacts/glitches.
Click file – save as, and name it “brick08” (same exact name as the original).
Making the glow work
It’s in left4dead2_dlc2’s pak01_dir vpk, grab it.
We need to add self illumination to it.
Reduce the tint down to 0.20, and save it.
The less tint – the more detail you can make out inside the glow.
Packing it into a vpk
Create an empty new folder on your desktop, call it “root”, make another folder there.
the file path should look like this “Root – materials – buildings”, c’mon you already know this.
Assuming you also know how to make a vpk already, moving on.
Let’s test it
My advice
https://steamcommunity.com/sharedfiles/filedetails/?id=3224846392
You can see I added vignette, curtains, plant shadows, coloring, dirt, glass overlay.
Try to experiment, add shiny parts, maybe some cracks.
You can apply this method to any texture, not just buildings.
https://steamcommunity.com/sharedfiles/filedetails/?id=3344167090
I made a mod that makes infected eyes glow, you can add glow to anything.
And that wraps up our share on Left 4 Dead 2: Illuminated Buildings [Part 3/6]. If you have any additional insights or tips to contribute, don’t hesitate to drop a comment below. For a more in-depth read, you can refer to the original article here by yoru, who deserves all the credit. Happy gaming!