Updated Fortified Alert 強化警報

作者 gyogen2·版本 v1.11·更新於 2018-10-23

Updated Fortified Alert 強化警報

模組介紹 作者原文

Updated Fortified Alert 強化警報

強化警報 - 現在警戒警衛

允許你將部隊放置在防護部門,然後在視線中的敵方部隊發出警報時將其喚醒。

熱鍵目前是G,但可以通過修改lua頂部的keychoice來更改:

碼:

本地KeyChoice = Keys.G

這個mod使用UnitPanel.lua,因爲它是我目前可以合併新操作的唯一方法。

注意:最新版本的轉彎鈴聲已經註釋掉了,所以如果你想啓用你必須重新註釋(刪除破折號 - )

如果你想禁用轉動鈴聲或改變聲音,請查找此部分:~line 3722

[SPOILER =“]

碼:

---------------------轉A; ert ------------------------- ----

本地pPlayer =玩家[iPLayer];

如果pPlayer:IsHuman()那麼

UI.PlaySound( “Play_MP_Game_Launch_Timer_Beep”); ----------編輯改變聲音

結束-------------------------------------------------- ------------

[/ SPOILER]

如果要禁用,請刪除或註釋掉。(當然現在我注意到Alert中的拼寫錯誤)。

Fortified Alert - Now Alert Guard

Allows you to place units on guard, who will then wake when alerted by enemy units in sight.

The hot-key is currently G, but can be changed by modifying keychoice at top of the lua:

Code:

local KeyChoice = Keys.G

This mod uses UnitPanel.lua as it was the only way I could currently incorporate a new operation.

Note: newest version has the turn chime already commented out, so if you wish to enable you must comment back in (remove the dashes --)

If you wish to disable turn chime, or change sound, look for this section: ~line 3722

[SPOILER="]

Code:

---------------------Turn A;ert -----------------------------

local pPlayer = Players[iPLayer];

if pPlayer:IsHuman() then

UI.PlaySound("Play_MP_Game_Launch_Timer_Beep"); ----------edit to change sound

end

--------------------------------------------------------------

[/SPOILER]

Remove or comment out if you want to disable. (of course now I notice the typo in Alert).

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
Updated Fortified Alert 强化警报
檔案大小
30.4 KiB