Left 4 Dead 2

Left 4 Dead 2

235 ratings
标记物资、队友被控与倒地等状态提示 Hint
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
672.440 KB
11 Jun, 2022 @ 8:48am
6 Jun, 2023 @ 9:07pm
12 Change Notes ( view )

Subscribe to download
标记物资、队友被控与倒地等状态提示 Hint

Description
简述
这个 MOD 主要有两个功能:
1. 自动玩家状态提示:玩家在倒地、黑白、被控的时候,队友的画面里会出现相应提示。提示文字可以在配置文件中修改。
2. 玩家主动发出标记:可以用来标记物资、空地位置、特感等。

玩家想要主动发出标记需要事先配置,有两种方案:
1. 玩家自己绑定按键到 +alt1。以绑定 g 键为例,在控制台输入:bind g +alt1,然后就可以用 g 键来标记了。若要解除按键绑定,则输入:unbind g
2. 房主服务端安装 辅助插件[gitee.com]。安装之后所有人就都可以直接用 z 键人物语音菜单的 “看” 指令来标记东西,不需要再绑定其它按键。插件安装:将压缩包中 addons 里的文件解压到 游戏目录/left4dead2/addons 目录,然后游戏启动项加入 -insecure。

!!!重要!!!
这个标记系统使用的是游戏原生的标记,不需要进入房间的其他人也安装该 MOD。但是需要启用选项:游戏菜单-选项-多人联机-游戏提示。该选项默认是启用的,禁用了该选项的人看不到标记。
此外,本 MOD 只在非对抗模式下加载。

可标记的东西
  • 物资 提示物资名字与位置
  • 生还者 显示队友状态
    若队友的状态不健康,比如处于倒地、黑白,则会在队友身上显示除他自己外所有人可见的求助提示。
    若队友状态健康,则会显示其当前的血量,只对你自己可见且只会显示 2 秒。
  • 特感 提示特感名字与位置
  • 未触发的警报车 提示“注意警报!”
  • 安全屋 提示“安全屋”
  • 普通门 提示“走这里吧”
  • 路径提示 提示“这里!”
    往空地上使用标记会给所有人一个路径提示,路径提示只允许存在一个。

机制特性须知
1. 对于主动发出标记的人来说,该标记总是 4s 后就会消失,以避免影响视野,而对于其他人仍可见。
2. 显示在队友身上的被控、倒地提示,当玩家看向队友方向时会自动消失。当玩家不再看向队友又会再次显示。最多反复显示两次。
3. 物资提示会在玩家近距离注意到时消失。
4. MOD 不会禁用游戏自带的提示,因为这很可能导致 BUG,或者可能使某些地图的关键提示信息失效。
5. 配置文件中可以设置标记最长持续时间,主动标记默认最多存在 12s,救助队友标记默认最多存在 15s。

配置文件
配置文件可以修改提示数量上限、标记持续时间、关闭被控提示、修改被控提示的文字等。
配置文件位于 left4dead2/ems/linge/config_xxx.tbl,xxx 为端口号,默认是 27015。配置文件在第一次启动本地房间时生成。配置文件的详细说明请阅:详细说明[lin515.com]

玩家主动标记的功能是通过对玩家的视角进行光线追踪来命中实体实现的,这是 @samisalreadytaken[github.com]Contextual Ping System 标记系统 里的方法,我的实现也参考了其中的代码。
Contextual Ping System 的标记图标用的是其自制的材质,会更美观一点。但缺点就是需要其他人也安装该 MOD,未安装的人因为缺少材质而无法看到标记。我的 MOD 与它不冲突,可以同时订阅。



同系列 MOD
如果你需要以上的全部功能,那么可以只订阅 整合 MOD.

详细说明[gitee.com]
功能演示视频[www.bilibili.com]
GitHub[github.com]
Gitee[gitee.com]
BUG反馈:cueion@163.com
50 Comments
哈基米MYGO 18 Jul @ 2:58am 
标记不了,不起作用,我不知道为什么,能够给点提示吗?我三个文件都解压到ADDONS里面了。。。
思雨  [author] 8 Jun @ 9:00pm 
@steeg
I play Left 4 Dead 2 less often now, don't have much energy to update this mod. I will only fix bugs in the future.
steeg 30 May @ 8:21am 
- How to disable 'Current Health:' hint?
- Can I enable an arrow of direction to see marked objects outside of survivor's field of view?
- Make hint duration the same for me and everyone (like 12 and 12 seconds instead of 12 and 4 seconds)?
steeg 28 May @ 9:54am 
@John This passively give hints whenever a survivor is incapped, black-and-white, or dominated by a special infected.

To actively mark/hint:

- Bind +alt1 to any key (for example: type bind g +alt1 ) and use G to mark something, but the problem with this method is that other players need to do the same to also mark, which is a hassle, so skip this and use the method below

- Vocalize 'Look', in order to do that you need to download LinGe_VScripts.zip {LINK REMOVED}, extract it, and put LinGe_VScripts folder and LinGe_VScripts.vdf into /Left 4 Dead 2/left4dead2/addons folder. After that add -insecure command to launch option (right click the game in Steam Library › Properties... › LAUNCH OPTIONS › Add -insecure into the box). Cons: you have to remove the -insecure command every time you want to join a VAC-secured/official server.

How do I know? I used Google Translate.
botian 20 Feb @ 2:58am 
非常感谢:steamhappy:
思雨  [author] 16 Feb @ 4:31am 
思雨  [author] 16 Feb @ 2:54am 
@TheDoors76 Only Chinese, no ability to provide support in English.
botian 11 Feb @ 9:47am 
大佬,能请教一下这个描述的蓝字和链接是怎么弄的吗😢
John 9 Feb @ 5:04pm 
sorry i have no ids what this is about, try it didn't see any changes, did notice red text pop up unread able to me, -Eng/ mainly

been remove for now!
思雨  [author] 13 Jan @ 6:56pm 
把 addons 里面的文件解压到 游戏目录/left4dead2/addons 目录,然后游戏启动项加入 -insecure。装了之后所有人都可以用 z 标记