网元网 >> 英雄连 Company of Heroes 增强脚本

英雄连 Company of Heroes 增强脚本

发布时间:2007年09月28日 发布人:夏日老猫 来源:网元网


点击查看大图

 

  将下面的代码保存为文件autoexec.lua,放到游戏安装目录目录下(比如 C:\Program Files\THQ\Company of Heroes\,修改游戏快捷方式,在命令行最后增加 -dev 参数):

g_bShowTaskbar = 1
g_bShowGameUI = 1
function UpdateTaskbarAndGameUI()
        if (g_bShowTaskbar == 1) then
                taskbar_show()
                message_show()
        else
                taskbar_hide()
                message_hide()
        end
        if (g_bShowGameUI == 1) then
                game_showui()
        else
                game_hideui()
        end
end
function ToggleShowTaskbar()
        if (g_bShowTaskbar == 0) then
                g_bShowTaskbar = 1
        else
                g_bShowTaskbar = 0
        end
        UpdateTaskbarAndGameUI()
end

			

发表评论(0)

合作伙伴