l4d_hats:头顶帽子装饰
!hat 给自己戴个帽子(其实是各种模型),纯娱乐。
l4d_hats(Silvers 的 Hats 插件)让玩家头顶戴上各种道具模型,纯娱乐装饰。
它做什么
!hat打开帽子菜单选择佩戴;!hats定制显示设置。!hatshow/!hatview切换自己视角是否可见;!hatall切换所有人帽子可见性;!hatoff开关佩戴能力。- 管理员可给指定玩家戴帽(
sm_hatclient)、调整位置/角度/大小(sm_hatpos/sm_hatang/sm_hatsize)并保存到配置(sm_hatsave),增删模型(sm_hatadd/sm_hatdel)。
文件位置
| 项目 | 路径 |
|---|---|
| 插件文件 | plugins/extend/l4d_hats.smx |
| 源码 | addons/sourcemod/scripting/extend/l4d_hats.sp |
| 更新源清单 | Anne_Updater_All.txt(公开) |
命令一览
| 命令 | 类型 | 权限 | 说明 |
|---|---|---|---|
sm_hat | 玩家/控制台 | - | Displays a menu of hats allowing players to change what they are wearing. Optional args: [0 - 128 or hat name or "random"] |
sm_hatadd | 管理员 | ADMFLAG_ROOT | Adds specified model to the config (must be the full model path). |
sm_hatall | 玩家/控制台 | - | Toggles the visibility of everyone's hats. |
sm_hatallc | 管理员 | ADMFLAG_ROOT | Toggle the visibility of all hats on specific players. |
sm_hatang | 管理员 | ADMFLAG_ROOT | Shows a menu allowing you to adjust the hat angles (affects all hats/players). |
sm_hatc | 管理员 | ADMFLAG_ROOT | Displays a menu listing players, select one to change their hat. |
sm_hatclient | 管理员 | ADMFLAG_ROOT | Set a clients hat. Usage: sm_hatclient <#userid\ |
sm_hatdel | 管理员 | ADMFLAG_ROOT | Removes a model from the config (either by index or partial name matching). |
sm_hatlist | 管理员 | ADMFLAG_ROOT | Displays a list of all the hat models (for use with sm_hatdel). |
sm_hatload | 管理员 | ADMFLAG_ROOT | Changes all players hats to the one you have. |
sm_hatoff | 玩家/控制台 | - | Toggle to turn on or off the ability of wearing hats. |
sm_hatoffc | 管理员 | ADMFLAG_ROOT | Toggle the ability of wearing hats on specific players. |
sm_hatpos | 管理员 | ADMFLAG_ROOT | Shows a menu allowing you to adjust the hat position (affects all hats/players). |
sm_hatrand | 管理员 | ADMFLAG_ROOT | Randomizes all players hats. |
sm_hatrandom | 管理员 | ADMFLAG_ROOT | Randomizes all players hats. |
sm_hats | 玩家/控制台 | - | Displays a menu to customize various settings for hats. |
sm_hatsave | 管理员 | ADMFLAG_ROOT | Saves the hat position and angels to the hat config. |
sm_hatshow | 玩家/控制台 | - | Toggle to see or hide your own hat. Applies to first person view or third person using the optional command argument "tp" e.g. "sm_hatshow tp" |
sm_hatshowoff | 玩家/控制台 | - | Hide your own hat. Applies to first person view or third person using the optional command argument "tp" e.g. "sm_hatshowoff tp" |
sm_hatshowon | 玩家/控制台 | - | See your own hat. Applies to first person view or third person using the optional command argument "tp" e.g. "sm_hatshowon tp" |
sm_hatsize | 管理员 | ADMFLAG_ROOT | Shows a menu allowing you to adjust the hat size (affects all hats/players). |
sm_hatview | 玩家/控制台 | - | Toggle to see or hide your own hat. Applies to first person view or third person using the optional command argument "tp" e.g. "sm_hatview tp" |
聊天中输入 !命令名(去掉 sm_ 前缀)等价于控制台命令。