
| 
 由Relic Entertainment公司开发的二战即时战略游戏新作《英雄连:勇气传说(Company of Heroes:Tales of Valor)》预计在2009年春季正式发售。 将下面的代码保存为文件autoexec.lua,放到游戏安装目录目录下。 
 比如 C:Program FilesTHQCompany of Heroes,修改游戏快捷方式,在命令行最后增加 -dev 参数。 
 进入游戏后可以使用以下快捷键: 
 鼠标中键 - 切换操作面板(不再同时隐藏指示标记) 
 F7 - 切换游戏画面上的指示标记 
 F8 - 切换FPS显示(游戏内部的FPS graph,比外挂软件准确) 
 Ctrl+W - 切换框架渲染模式 
 Ctrl+B - 切换大头模式 
 Ctrl+Up - 恢复正常速度 
 Ctrl+Down - 慢速(子弹时间) 
 Ctrl+Left - 减速 
 Ctrl+Right - 加速 
 Ctrl+F - 镜头跟随选择单位移动 
 Ctrl+S - 超级抓屏(可以抓图4倍精度的截图) 
 以下为代码: 
 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()") 本次分享游戏《英雄连》攻略。 | 
温馨提示:喜欢本站的话,请收藏一下本站!