Skip to content
View in the app

A better way to browse. Learn more.

主视角中国

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

英雄连增强脚本,可用于资料片

Featured Replies

英雄连增强脚本

将下面的代码保存为文件autoexec.lua,放到游戏安装目录目录下。

比如 C:\Program Files\THQ\Company of Heroes\

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

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

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

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

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

Ctrl+B - 切换大头模式

Ctrl+Up - 恢复正常速度

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

Ctrl+Left - 减速

Ctrl+Right - 加速

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

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()")[/code]

autoexec.lua的建立方法为:

创建一个名为autoexec的txt文檔.将上面的代码复制进去,储存退出.

将扩展名.txt改为.lua即可.

如果看不到扩展名 点击 工具----->数据夹选项------->检视------>隐藏已知文件类型的扩展名 前面的勾去掉即可

有人反映直接使用快捷方式 使用不了 在快捷方式后加入 -dev可用 本人测试的确可用 如:(目标"X\THQ\Company Of Heroes Opposing Fronts\RelicCOH.exe" -dev)

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

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

这两个有意思

我想要消除迷雾该怎么改脚本啊?????????

Create an account or sign in to comment

Account

Navigation

搜索

搜索

设置浏览器推送通知

Chrome(安卓)
  1. 点击地址栏旁边的锁形图标。
  2. 点击 权限 → 通知
  3. 根据需要调整通知设置。
Chrome(桌面)
  1. 点击地址栏中的锁形图标。
  2. 选择 网站设置
  3. 找到 通知,然后根据需要调整设置。