Does anyone have any tips to guide me in the right direction?
TIA
To get your mod working you need:
1) a folder in your steam/steamapps/sourcemods/ with your mod's name:
- steam/steamapps/sourcemods/testmod.
2) now in that folder create a gameinfo.txt:
"GameInfo"
{
game "Portal 2: testmod"
title "Portal 2: testmod"
GameData "portal2.fgd"
gamelogo 0
SupportsDX8 0
SupportsXbox360 1
Singleplayeronly 0
FileSystem
{
SteamAppId 620 // This will mount all the GCFs we need (620 = Portal 2)
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
SearchPaths
{
Game |gameinfo_path|.
Game update
Game platform
Game portal2_dlc2
Game portal2_dlc1
Game portal2
}
}
}
step 3:
create a /scripts folder in your main folder and copy over extras.txt from portal 2 dlc 2: SteamApps\common\Portal 2\portal2_dlc2\scripts and put it in your testmod/scripts/ folder.
You can edit this later to point to your own maps.
Step 4:
create the folder Steam\SteamApps\sourcemods\testmod\resource\ui\basemodui
step 5: open up the portal2_dlc2 vpk up: SteamApps\common\Portal 2\portal2_dlc2\pak01_dir.vpk
in there browse to resource\ui\basemodui\ and copy over mainmenu_new.res and put them in your previously created folder.
step 6: optional, but highly recommended
create a testmod\maps\soundcache\ folder and copy over the _master.cache from SteamApps\common\Portal 2\portal2_dlc2\maps\soundcache