Replacing files in a Portal 2 Mod
Hey everybody!
Since the VPK addons don't work anymore I decided to ship my mappack as a mod for Portal 2 when it's done. But there's a little problem:
No matter which file I replace in the mod's subfolder, ingame the engine still uses the original files from Portal 2.
For example, I tried to replace the backgroundvideo in the mainmenu.
It's called "menu_act01.bik". My video got the same name, I've put it in the media folder and the pak01_dir.vpk, but it still does not show up ingame.
Is this problem familiar to someone?
Thanks for every answer! 
btw, I used this tutorial:
Is there really no way anymore to replace the original files in the mod...?
Aliensoldier wrote:
Hey everybody!
Since the VPK addons don't work anymore I decided to ship my mappack as a mod for Portal 2 when it's done. But there's a little problem:
No matter which file I replace in the mod's subfolder, ingame the engine still uses the original files from Portal 2.
For example, I tried to replace the backgroundvideo in the mainmenu.
It's called "menu_act01.bik". My video got the same name, I've put it in the media folder and the pak01_dir.vpk, but it still does not show up ingame.
Is this problem familiar to someone?
Thanks for every answer!btw, I used this tutorial:
http://www.se51.net/2011/09/15/how-to-m ... tal-2-mod/
That's odd: for me it's working!
let's see what I did:
I have my menu background in C:\Program Files (x86)\Steam\steamapps\sourcemods\portal_stories_demo\media\menu_act01.bik (so I didn't pack them to the vpk)
One thing you have to be careful with though is that your progress in portal 2 is read in the mod.
menu_act01 is the default one, 2 is loaded when you're in the escape chapter, 3 is loaded when you're at cave's time, 04 is after the return, and 05 is loaded after you finished the game. So replacing only one of those files will show it to some people and not to some other people.
So if you want one background in your mod make sure you re-name the movie 5 times to menu_act01.bik, menu_act02.bik etc.
Pitkakorvaa wrote:
What do you mean with replacing files? Menu background, menu music, fonts, what? If so, check out this tutorial if you haven't yet
This is the site which he followed.
@OP: The main advantage of a mod is actually the fact that you can override original files. If you want you can sent what you have so far and I can take a look 
lpfreaky90 wrote:
That's odd: for me it's working!
let's see what I did:
I have my menu background in C:\Program Files (x86)\Steam\steamapps\sourcemods\portal_stories_demo\media\menu_act01.bik (so I didn't pack them to the vpk)
Yea, that's exactly what I did, but it does not work for some reason... 
And yes, I know it works for you. I played your mod's demo, was pretty nice. 
But back to topic:
Did ya copy any other files from the original Portal 2? From the bin folder or something? Maybe some scripts?
lpfreaky90 wrote:
If you want you can sent what you have so far and I can take a look
What exaclty do you mean? Sending you the files I've got in my mod folder, screenshots? 