Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Admin Commands <SourceMod>
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
475.662 KB
29 May @ 7:42am
18 Jul @ 2:41am
7 Change Notes ( view )

Subscribe to download
Admin Commands <SourceMod>

In 2 collections by skysky199
Script List
130 items
Script List <Odds and Ends>
41 items
Description
回到 <Core>
Return to <Core>

※需要 Left 4 DHooks Direct[forums.alliedmods.net]
※Require Left 4 DHooks Direct[forums.alliedmods.net]

※SourceMod版本 v1.11 或以上 版本太舊可能不能用
※Requires SourceMod version v1.11 or higher. Older versions may not supported.

SourceMod版本需要自行拆包.vpk 編譯.sp
如果你沒有要使用 Director 功能 則不需要將此.vpk放入addon (或訂閱) (不是放<Core>)

adminmenu_sorting.txt 為修改 admin menu 顯示順序用 自行參考並修改 sourcemod/configs/ 對應之檔案
預設所有指令權限皆為 generic 自行修改.sp 或 sourcemod/configs/admin_overrides.cfg

※sm_script sm_console sm_tp (座標) 不在admin menu內
※指令用法與 VScript 版本大致相同 可透過 !admin 進入指令清單
※穿牆指令為 sm_noclip2 丟出武器指令為 sm_drop_wep
※sm_health 顯示血量變更清單 sm_zspawn 顯示感染者生成清單

以下指令 VScript 版本沒有
sm_drop_vomit - 生成膽汁罐於瞄準位置
sm_disablecmd <#userid|name> - 禁止玩家使用 閒置/語音命令/遊戲內建投票 3種指令
sm_resetdisablecmd - 重置 禁止玩家使用... 設定
sm_switchplayer <#userid|name> [#userid|name] - 交換兩玩家使用的倖存者角色
sm_switchteam <#userid|name> [team num] - 變更玩家的隊伍 有效值為 -1~4

=========================================

SourceMod version requires unpacking this .vpk manually and compiling the .sp file.
If you don't plan to use the Director feature, there's no need to place the .vpk into the addons folder (or subscribe to it). (not <Core>)

adminmenu_sorting.txt is used to modify the display order in the admin menu. Refer to and edit the corresponding file in sourcemod/configs/.
By default, all command permissions are set to generic. You can modify them either in the .sp file or via sourcemod/configs/admin_overrides.cfg.

※sm_script, sm_console, sm_tp (coordinates) are not in the admin menu.
※The command usage is mostly the same as the VScript version; you can access the command menu via !admin.
※The noclip command is sm_noclip2, and the drop command is sm_drop_wep.
※sm_health shows the health change menu, and sm_zspawn shows the infected spawn menu.

The following commands do not exist in the VScript version:
sm_drop_vomit - spawn a bile bomb at the aim position.
sm_disablecmd <#userid|name> - disable a player's ability to use idle/vocalize commands and in-game vote.
sm_resetdisablecmd - resets the disabled command settings.
sm_switchplayer <#userid|name> [#userid|name] - swap the characters used by two survivors.
sm_switchteam <#userid|name> [team num] - change player's team, valid value is -1~4.