The Beginner's Guide/Create a Mod

From Valve Developer Community
Jump to navigation Jump to search

Creating a Beginners Guide mod

Todo: Explain the mod creation process better

From what is known so far: The process is the same as The Stanley Parable mod creation except in the mod's gameinfo.txt the contents should be

"GameInfo"
{
    game        "Mod Name"
    title       "Mod Name"
    GameData	"portal2.fgd"
    gamelogo    1
 
    SupportsDX8     0
    SupportsXbox360 1
 
    FileSystem
    {
        SteamAppId				303210
        ToolsAppId				211     
 
        SearchPaths
        {
            Game                |gameinfo_path|.
            Game                beginnersguide
        }
    }
}

and The Beginners Guide contents should be linked correctly in the hammer config.


As for configuring chapters, there is a file in "scripts/chapters.txt" which is the same as the "extras.txt" method for Portal 2 mods' chapters syntax-wise.


Todo:  Specify how to use the dialogue system