Left 4 Dead 2 > Modding/Mapping Help and Tips > Подробиці теми
KobraKy #TheMuffinMan 26 жов 2013 о 9:10
HUD things
I'm probably late to the party on asking a question like this, but I only recently got into modding and such.
I've seen several mods on the workshop editing the UI files of the hud, namely changing the default Portrait Icons in-game, and was wondering:
Any of y'all know how to edit those myself? I'd LOVE to draw my own portrait icons, but don't know how to find the files and whatnot. I'd be much oblidged if someone could help any. Thanks :D
Показані коментарі 11 із 1
< >
scintillating luminescence 2 лис 2013 о 11:29 
You have a vpk.exe in the folder C:\Program Files (x86)\Steam\steamapps\common\left 4 dead 2\bin (modify as needed for your Steam's root path).

Find a mod that does something similar to what you want to do (e.g. change portrait). Drag and drop that mod on top of the vpk.exe file, and it will decompress the vpk into the separate files. Look through the files, I think the folder of interest to you will probably be "materials". The actual textures will be a Valve Texture File (VTF), so you will need VTFEdit or some other tool to break them out into something that e.g. Paint.NET can manipulate. Not all textures can be changed (I think I tried to change fire once, but it wasn't working out). Once you edit the texture, you can use VTFEdit to pack it into a VTF again, and then drag and drop the folder of files on top of vpk.exe and it will re-pack the files into a vpk.
Показані коментарі 11 із 1
< >
На сторінку: 15 30 50
Опубліковано: 26 жов 2013 о 9:10
Дописів: 1