"为The Beginner's Guide创建一个mod"

From Valve Developer Community
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

创建《The Beginner's Guide》模组

待完善: 更好地解释模组创建过程

根据目前所知的信息:

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

并且《The Beginner's Guide》的内容应在 Hammer 配置中正确链接。

关于配置章节,有一个文件位于 "scripts/chapters.txt",其语法与《传送门 2》模组的 "extras.txt" 章节配置方法相同。

待完善:  说明如何使用对话系统