Contextual Ping System
Communication in Left 4 Dead has never been this easy!
This addon features 3 ways of pinging:
– Automatic voice: when survivors spot items and enemies, and verbally call them out. (bots use this!)
– Manual voice: when chat wheel commands are issued
– Manual button: bind a key to ‘+alt2’ to ping anywhere anytime ( bind T +alt2 )
Both the server host and the players need to install for players to see and hear the pings.
It does not work on official Valve servers.
To change settings, create a ‘ping_system_settings.txt‘ file in ‘/steamapps/common/Left 4 Dead 2/left4dead2/ems/‘ directory on server host, and place your commands in it.
Do not put any text other than the following commands in this file.
Available commands:
DisableAutoPing() options:
0: enable all auto pings
1: disable all auto pings
2: only disable special infected warning pings
3: only disable item pings
Example:
List of all available ping types: https://gist.github.com/samisalreadytaken/01d77d0299456dcfc155f0125a082f1f
Custom ping icons can be made by replacing the corresponding "ping_system/icon_item.vtf" file(s) (required VTF flags: Clamp S, Clamp T, No mipmap). All edge pixels on these images need to be fully transparent.
Pings can be listened for with the script event "player_ping{ CBasePlayer player, Vector origin, CBaseEntity target }".