Source SDK

Source SDK

Portal 2 custom textures
So I am making a mod for portal 2 and i am trying to get a concrete texture from portal 1 to portal 2. Do I have to put the textures into my portal 2 materials folder or can i just put them all into my mods folder in sourcemods?

The reason I am asking is because I have just done a wipe of portal and portal 2 because I messed up the files too much and I want to keep them clean and separate from my mod.

Thanks :3
< >
Showing 1-8 of 8 comments
holly’s tea Aug 22, 2016 @ 5:46am 
You'll need to add the textures you use for your mod that aren't in Portal 2s vpk to your source mod folder, or for decrpytion pros you can make a seperate folder and pack it to the pak01_dir.vpk into your sourcemod folder. The player will need these custom textures..

A last way would be packing it into your bsp files, but that's not used commonly
themuffinrocket Aug 22, 2016 @ 6:05am 
Originally posted by Raybe:
You'll need to add the textures you use for your mod that aren't in Portal 2s vpk to your source mod folder, or for decrpytion pros you can make a seperate folder and pack it to the pak01_dir.vpk into your sourcemod folder. The player will need these custom textures..

A last way would be packing it into your bsp files, but that's not used commonly

I just tried making a pak01_dir for my mod and followed the same structure as the portal 1 vpk but it didn't work, do I have to do anything else for it to work?
holly’s tea Aug 22, 2016 @ 6:12am 
Make a content folder, call it pak01_dir (I have it in Portal 2\bin) and in it should be sound, materials, models, all your custom sutff. now drag the folder on the Portal 2\bin\vpk.exe, it should create a pak01_dir.vpk in the folder, drag that one into your sourcemod folder and you're done :3
themuffinrocket Aug 22, 2016 @ 6:16am 
Originally posted by Raybe:
Make a content folder, call it pak01_dir (I have it in Portal 2\bin) and in it should be sound, materials, models, all your custom sutff. now drag the folder on the Portal 2\bin\vpk.exe, it should create a pak01_dir.vpk in the folder, drag that one into your sourcemod folder and you're done :3

Yeah I did all of that but the texture doesn't show up :( Do I also have to configure hammer to use my mods .fgd where the vpk is because if so when ever i try to configure my authoring tools for a mod it says about restarting hammer and then keeps it configured to the default portal 2. Is that why it isn't working? (sorry, i hope what im typing makes sense) :/
holly’s tea Aug 22, 2016 @ 6:17am 
Also you can test if it worked by renaming the materials folder in Portal 2/portal2 to let's say materials_, start the mod and look if the custom textures are visible
holly’s tea Aug 22, 2016 @ 6:18am 
ow, I wouldn't make it that way, fgds are too complex for me, I just have one copy of my content in Portal 2/portal2 to see it in hammer and one other in my sourcemod folder, that's the easy way
themuffinrocket Aug 22, 2016 @ 6:26am 
Originally posted by Raybe:
ow, I wouldn't make it that way, fgds are too complex for me, I just have one copy of my content in Portal 2/portal2 to see it in hammer and one other in my sourcemod folder, that's the easy way

Okay I'll just keep it in the portal2/portal2/materials folder. I can see it in hammer there and it works perfectly fine and dandy. I will probably just make do with what I can for now and solve it in the future, thankyou for the help :D :2016popsicle:
Last edited by themuffinrocket; Aug 22, 2016 @ 6:26am
holly’s tea Aug 22, 2016 @ 6:27am 
No problem, if you have something playable, I'd love to see it :baconslice:
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Aug 22, 2016 @ 5:43am
Posts: 8