how do i make a portal 2 sourcemod?
how do i make a stand alone portal 2 mod? like, the kind that shows up in steam library with custom logo etc. the system error 51 thing doesn't work for me.
Anyways:
Step 1: Create a folder in your sourcemods folder:
so steam/steamapps/sourcemods/myfirstmod
Step 2: in that folder; create a cfg folder and a maps folder.
Step 3: in the maps folder create a soundcache folder
(so steam/steamapps/sourcemods/myfirstmod/maps/soundcache) and copy your _master.cache from your original portal 2.
Step 4:
Write your gameinfo.txt:
"GameInfo"
{
game "My first mod"
title "My first mod"
gamelogo 1
SupportsDX8 0
SupportsXbox360 1
FileSystem
{
SteamAppId 620 // Portal 2 has ID 620
ToolsAppId 211 // Hammer
SearchPaths
{
Game |gameinfo_path|.
Game portal2
}
}
}
Step 5:
use gcfscape to grab mainmenu_new.res from the portal2/portal2_dlc2 vpk.
(in there it's resource/ui/basemodui ) ; edit it, and make it into a vpk with the same structure.
Step 6:
restart steam
Step 7:
profit!
WARNING: for some reason mods download all the workshop content again -_- so you might want to keep that in mind; it might take up more space than you planned. You can create a /workshop/ folder in maps and revoke write access to it to prevent it, this will spam red errors in the console though.
yishbarr wrote:
Do you mean replacing it with the extras menu? I don't know, because there are some Portal 2 mods out there that use the regular play button.
nah I mean that it gets you stuck in a black screen loop that you can do nothing with. maybe it's cuz I was using the wrong technique. I used the system error 51 way.
EDIT: nevermind, now it just crashes... a CTD
yishbarr wrote:
Do you mean replacing it with the extras menu? I don't know, because there are some Portal 2 mods out there that use the regular play button.
what mods use that? All mods I've seen so far use the extra's menu modification. If someone actually got he real singleplayer menu modded, I'll happily steal their code 
yishbarr wrote:
Wibi!, The Stanley Parable, A&K (probably).
Is the Stanley parable portal 2 based? Also, the way wibi did it was by forcing the game to run off a different dlc folder to override the core game temporarily, its not a true source mod.
ezio160324 wrote:
So my question remains, how do I do it? I am intrigued.
Lpfreaky90 wrote:
ezio160324 wrote:So my question remains, how do I do it? I am intrigued.
you don't get it, the play button does not work. i wanna know how to get the play button working.
ezio160324 wrote:
and the "play" button in the main menu worked?
Nope, you modify the extras menu. As far as I know no one has been able to modify the normal main menu stuff. 
Lpfreaky90 wrote:
ezio160324 wrote:and the "play" button in the main menu worked?
Nope, you modify the extras menu. As far as I know no one has been able to modify the normal main menu stuff.
so you have to make the play button lead to the extras menu? i contacted Valve about this so maybe they will release an update for the Authoring Tools to help modders