首 页
游戏攻略
超过2900条
游戏秘籍
超过3300条
技巧心得
超过4100条
游戏手册
超过1800条
游戏首页 > 攻略秘籍 > 文章内容 责编:文西 1890 洋一设计:斑狼
《英雄连》增强脚本
http://games.sina.com.cn 新浪游戏
 

  将下面的代码保存为文件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
function ToggleShowGameUI()
        if (g_bShowGameUI == 0) then
                g_bShowGameUI = 1
        else
                g_bShowGameUI = 0
        end
        UpdateTaskbarAndGameUI()
end
g_bShowFPS = 0
function ToggleShowFPS()
        if (g_bShowFPS == 0) then
                g_bShowFPS = 1
                statgraph_set_visible(1)
                statgraph_channel_set_enabled("fps",1)
        else
                g_bShowFPS = 0
                statgraph_channel_set_enabled("fps",0)
                statgraph_set_visible(0)
        end
end
function GameSpeed_Slower()
        if (getsimrate() > 2) then
                setsimrate(getsimrate() - 1)
        end
end
function GameSpeed_Faster()
        if (getsimrate() < 20) then
                setsimrate(getsimrate() + 1)
        end
end
function TakeSuperScreenShot()
        taskbar_hide()
        message_hide()
        Misc_SuperScreenshot()
        UpdateTaskbarAndGameUI()
end
bind("MouseMiddle",   "ToggleShowTaskbar()")
bind("F7",            "ToggleShowGameUI()")
bind("F8",            "ToggleShowFPS()")
bind("Control+B",         "ee_bigheadmode()")
bind("Control+W",         "VIS_Wireframe()")
bind("Control+X",         "VIS_Overdraw()")
bind("Control+Left",  "GameSpeed_Slower()")
bind("Control+Right", "GameSpeed_Faster()")
bind("Control+Up",        "setsimrate(8)")
bind("Control+Down",  "setsimrate(2)")
bind("Control+F",         "Camera_FollowSelection()")
bind("Control+S",         "TakeSuperScreenShot()")

  以后进入游戏就可以使用以下快捷键了:

  鼠标中键 - 切换操作面板(不再同时隐藏指示标记)

  F7 - 切换游戏画面上的指示标记

  F8 - 切换FPS显示(游戏内部的FPS graph,比外挂软件准确)

  Ctrl+W - 切换框架渲染模式

  Ctrl+B - 切换大头模式

  Ctrl+Up - 恢复正常速度

  Ctrl+Down - 慢速(子弹时间)

  Ctrl+Left - 减速

  Ctrl+Right - 加速

  Ctrl+F - 镜头跟随选择单位移动

  Ctrl+S - 超级抓屏(可以抓图4倍精度的截图)

 相关产品:英雄连
 发表评论:  匿名发表    笔名:  密码:
查看评论
近期热门攻略  

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 会员注册 | 产品答疑

Copyright © 1996 - 2006 SINA Corporation, All Rights Reserved

新浪公司 版权所有
北京网通提供网络带宽