Custom mod: custom mainmenu won't show?
Quote from SilverStreak88 on September 5, 2014, 4:10 pmDoes anybody know how to create a custom main-menu layout, up to date? B/C when I looked on the Valve developer wiki, it said to find a mainmenu_new.res in the pak01_dir file, except I have no such file.. And when I followed a tutorial on ModDB (http://www.moddb.com/mods/millennium/tu ... rtal-2-mod), I couldn't get past the part with the custom menu... I packed it successfully in the pak01_dir, and set the settings correctly, except my custom mainmenu screen won't appear, it just gives me the default one.. However - I click on the "Extras" button, and it brings me my own chapter setup, also shown in the link above...
Does anyone have any tips to guide me in the right direction?
TIA
Does anybody know how to create a custom main-menu layout, up to date? B/C when I looked on the Valve developer wiki, it said to find a mainmenu_new.res in the pak01_dir file, except I have no such file.. And when I followed a tutorial on ModDB (http://www.moddb.com/mods/millennium/tu ... rtal-2-mod), I couldn't get past the part with the custom menu... I packed it successfully in the pak01_dir, and set the settings correctly, except my custom mainmenu screen won't appear, it just gives me the default one.. However - I click on the "Extras" button, and it brings me my own chapter setup, also shown in the link above...
Does anyone have any tips to guide me in the right direction?
TIA
Quote from Lpfreaky90 on September 5, 2014, 6:15 pmto get mainmenu_new.res you should use the pak01_dir file from your portal 2/portal2_dlc2 folder
to get mainmenu_new.res you should use the pak01_dir file from your portal 2/portal2_dlc2 folder
Quote from SilverStreak88 on September 8, 2014, 4:45 pmThanks dude ur awesome!
Thanks dude ur awesome!
Quote from Lpfreaky90 on September 13, 2014, 6:46 pmI'll just post the thing I just wrote in a pm here as well just so it's easier to find for future reference:
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:
- Code: Select all
"GameInfo"
{game "Portal 2: testmod"
title "Portal 2: testmod"
GameData "portal2.fgd"
gamelogo 0SupportsDX8 0
SupportsXbox360 1Singleplayeronly 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 materialsdebug, materialseditor, 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: SteamAppscommonPortal 2portal2_dlc2scripts and put it in your testmod/scripts/ folder.
You can edit this later to point to your own maps.Step 4:
create the folder SteamSteamAppssourcemodstestmodresourceuibasemoduistep 5: open up the portal2_dlc2 vpk up: SteamAppscommonPortal 2portal2_dlc2pak01_dir.vpk
in there browse to resourceuibasemodui and copy over mainmenu_new.res and put them in your previously created folder.step 6: optional, but highly recommended
create a testmodmapssoundcache folder and copy over the _master.cache from SteamAppscommonPortal 2portal2_dlc2mapssoundcache
I'll just post the thing I just wrote in a pm here as well just so it's easier to find for future reference:
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:
- Code: Select all
"GameInfo"
{game "Portal 2: testmod"
title "Portal 2: testmod"
GameData "portal2.fgd"
gamelogo 0SupportsDX8 0
SupportsXbox360 1Singleplayeronly 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 materialsdebug, materialseditor, 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: SteamAppscommonPortal 2portal2_dlc2scripts and put it in your testmod/scripts/ folder.
You can edit this later to point to your own maps.
Step 4:
create the folder SteamSteamAppssourcemodstestmodresourceuibasemodui
step 5: open up the portal2_dlc2 vpk up: SteamAppscommonPortal 2portal2_dlc2pak01_dir.vpk
in there browse to resourceuibasemodui and copy over mainmenu_new.res and put them in your previously created folder.
step 6: optional, but highly recommended
create a testmodmapssoundcache folder and copy over the _master.cache from SteamAppscommonPortal 2portal2_dlc2mapssoundcache
Quote from SecretComing on October 21, 2014, 8:06 pmhey lpfreaky can my portal 2 use content from others games? like half life 2 that use another engine or the stanley parable that uses the same engine?
hey lpfreaky can my portal 2 use content from others games? like half life 2 that use another engine or the stanley parable that uses the same engine?
Quote from TeamSpen210 on October 21, 2014, 8:52 pmSource engine stuff is basically cross-compadible with each other, so for most models it's as easy as copying the required files from the other game to Portal's folders. Alternately you can edit your gameinfo.txt (for your new mod, don't do it to base P2) to list folders for other games. This way it will automatically load in all the content for that other game.
Source engine stuff is basically cross-compadible with each other, so for most models it's as easy as copying the required files from the other game to Portal's folders. Alternately you can edit your gameinfo.txt (for your new mod, don't do it to base P2) to list folders for other games. This way it will automatically load in all the content for that other game.
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]