Please note, i wanna change the sound only for me, i would never give it away, and its just for testing purposes.
Portal 2 custom sounds
Conclusion: The normal sound plays, but not the one i made... it did have the same name, i just dont know where to put it.
TheAlexby wrote:
i made a folder i called pak01_dir and i made it into a VPK
Err, no. The contents of the VPK should reflect the directory structure of the portal 2/portal2/ root directory. Making a folder to hold your custom sounds/ directory is purely for convenience. You don't VPK the "some bullshit directory name", you VPK the sounds/, maps/, directories inside it.
msleeper wrote:
I'll take that as a no? if not then, could you explain more detailed?
TheAlexby wrote:
msleeper wrote:
I'll take that as a no? if not then, could you explain more detailed?
Alright, since I guess msleeper's gone and shot himself I'll help you out here. When you go to C:\Program Files\Steam\steamapps\common\portal 2\portal2\ there are a few folders named "maps", "materials", "sound", etc. What you should do is create a folder with whatever you want your VPK file to be named (in your case, you'd name the folder something other than pak01_dir--let's say "custom_sound_vpk") and create folders inside it named "maps", "materials", "sound", etc. so that the contents of the custom_sound_vpk folder match the content of the C:\Program Files\Steam\steamapps\common\portal 2\portal2\ folder. Then put the sound files or whatever you want inside \custom_sound_vpk\sound\ and drag the entire \custom_sound_vpk\ folder on to the VPK creator.
The only reason I'm suggesting a different name is because if you name it the same as one of the VALVe-supplied VPKs it might fight between the two.
TheAlexby wrote:
Yeah thank you. But, that is for use if i make the maps myself i belive. But i'm talking about overriding the default sounds... So i can play the official VALVe maps, and have my voice for an example instead of glados or the announcer...
Honestly? My best advice would be to modify the original VPK like in the thread to which I linked. Mostly because unless you want to extract everything in the original VPK and replace the sounds and then reVPK everything, making a new VPK with just the sounds and the same name will break most of the game. Yeah, you'll have to do it again every time P2 is updated, but seriously, my advice is to backup and then modify pak01_dir.vpk.