Talk:Create a portal 2 mod

From Valve Developer Community
Revision as of 08:44, 27 August 2011 by Oskutin (talk | contribs) (Resource, schemes and menu)
Jump to: navigation, search

Do you have to copy all of the files? Because that makes it less of a Portal 2 mod and more of a copy of Portal 2, which is illegal to distribute. --Super200 14:22, 4 June 2011 (UTC)

Surely you don't need to copy everything, just tell the engine to load all the portal 2 files? --Welsh Mullet 08:50, 5 June 2011 (UTC)

I've tried this with Making_Your_Portal_Mod, and have changed it to work with Portal 2. It's much easier, faster and cleaner. Haven't found any disadvantages yet, but the article should be changed to the more legal way :) --StephenB 15:23, 10 June 2011 (UTC)

few problems

the game is very picky when it cant find certan files, so it is best to copy the whole game. If you rename the game in the info.txt the game might crash from the portalgun becuse the files in the resource and script folders are set to the portal 2 name and folder

Resource, schemes and menu

For some reason Portal2.exe ignores every .res file in my mod's /resource folder and uses default content from portal 2 /resource folder. Because of that i can't get my custom schemes and menu modifications and even background to work, unless i remove Portal2 data from gaminfo.txt, but then i cant load any maps in mod. Any ideas? My gameinfo: [1]

--Oskutin 06:16, 21 August 2011 (PDT)

Figured it out. --Oskutin 08:44, 27 August 2011 (PDT)