Welcome to my profile. You do not need to know anything.

Report RSS How to make a Portal 2 Mod - Part 2: Making your Mod playable

Posted by on

Welcome back test subject!
So, let's start modding. First, go to the hard drive steam was installed on. (For me, I have a 64-bit computer, and I installed it in C:\Program Files (x86)\Steam, if you have a 32-bit computer it should be in Program Files, and when i was installing steam I forgot if you can choose where you install Steam. I think you can choose, now whatever.) So, now back to modding. Let's go to steamapps\sourcemods. Now, let's create a new folder. Name it the name of your mod. Now do that, and go inside that folder. Let's create one of the most important files: gameinfo.txt. Oh, and also this is only for people with SteamPipe update and after. Now, open up the text file. Now, copy and paste this:

text code:
"GameInfo"
{
game "Your Mod's Name"
title "Your Mod's Name"
gamelogo 1
SupportsDX8 0
SupportsXbox360 1
FileSystem
{
SteamAppId 620 // Portal 2 has ID 620
ToolsAppId 211 // Hammer
SearchPaths
{
Game |gameinfo_path|.
Game portal2
}
}
}

Now, change the "Your Mod's Name" to the name of your mod. Do it for both lines, game and title.
So, save that file and close it. Now, also create another .txt file. (In your mod's directory). And name it "maplist".
So, if your mod has 70 maps like mine, then you'll need to know what 70 divided by 5 is. (Only if you want each act to have the same number of maps) Here's the answer: 14. Now, the original game has 5 acts. So also the mod has to have five acts. Now, put all your map names on that file. In a list. Not a row.
Done? Save that.
Now, we need to create these folders:

maps
resource
cfg
media
scripts
scenes

Done?
Now, let's go to \portal2\scripts. Now, go find game_sounds_manifest in that folder and copy and paste it into \steamapps\sourcemods\scripts
Now don't open that txt file. You can if you want, but don't change anything.
So, now, restart steam and go to your library, then open up your mod! Now, when you get to the main menu you might think that absolutely nothing has changed. Except the mod name. But you'll see some BIG changes later on. Congratulations if the mod shows up in your steam library!
Continue on to Part 3!

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: