Left 4 Dead 2

Left 4 Dead 2

2,280 avaliações
Contextual Ping System
13
3
9
8
2
2
2
2
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Game Content: Scripts, UI
Tamanho
Publicado em
Atualizado em
746.469 KB
27/out./2021 às 12:45
23 de jun. às 11:00
33 notas de atualização ( ver )

Inscreva-se para baixar
Contextual Ping System

Descrição
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: when users press their chosen key (bound 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.

Settings
To change settings in-game, the server host can type !ping_system in the chat. Then use !ping_system savecfg to save the changes, or !ping_system loadcfg to load settings from a previously saved configuration.

Available commands:
autoping : PingSystem.DisableAutoPing( option ) maxcount : PingSystem.SetMaxPingCount( count ) duration : PingSystem.SetPingDuration( pingtype, duration ) colour : PingSystem.SetPingColour( pingtype, r, g, b ) scale : PingSystem.SetScaleMultiplier( value ) // scales all icons for all players savecfg loadcfg

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:

No auto-pings for special infected
!ping_system autoping 2

Only 2 pings per player
!ping_system maxcount 2

Set every ping duration to 3.5 seconds
!ping_system duration -1 3.5

Set enemy warning ping duration to 1.5 seconds
!ping_system duration warning 1.5

Set first aid kit ping duration to 30 seconds
!ping_system duration medkit 30

These commands are partially matched. For instance, all commands below are identical.
!ping_system d medkit 30 !ping_system dur medkit 30 !ping_system durat medkit 30 !ping_system duration medkit 30

Inside the settings file:

PingSystem.DisableAutoPing(2) PingSystem.SetMaxPingCount(2) PingSystem.SetPingDuration(-1, 3.5) PingSystem.SetPingDuration(PingType.WARNING, 1.5) PingSystem.SetPingDuration(PingType.MEDKIT, 30)

List of all available ping types: https://gist.github.com/samisalreadytaken/01d77d0299456dcfc155f0125a082f1f

Developer
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 }".



github.com/samisalreadytaken
Discussões populares Ver todos (2)
60
29/dez./2023 às 19:19
AFIXADO: Feedback & Suggestions
Sam
15
1/out./2023 às 10:08
Suggestion
Supreme Leader
198 comentário(s)
雪风保护大家 8 de jun. às 3:01 
简洁,好用
Aleksander Drako 31 de mai. às 15:38 
I was confused as I made a file, loaded a map and saw no effect. So I started digging if there is some error on my part. At some point, loaded another map and... Wait it works now. I can't really tell the logic of it, but it does work.
And I so far love the mod.:luv:
I was giving colours for weapons trying to divide them into Tier 1, 2, 3 + None (pitchfork), a premade set could be useful if you ever feel like it is worth your time.
A command to reload the setting file could be especially useful when making colours changes(in my case I found that a lot of colours were a bit to bright or showed no difference)
Sam  [autor(a)] 31 de mai. às 14:59 
@Aleksander Drako ,The files are loaded only on map load, they can't be changed while a map is already loaded. !ping_system in game chat temporarily changes settings. I can add another command to this to reload the settings file when I find time.
Aleksander Drako 31 de mai. às 14:33 
Nevermind, it did loaded after next loading new game again. A bit confused how it works
Aleksander Drako 31 de mai. às 14:25 
I can't get ping_system_settings.txt to work yet. Any hopes that there is a command that would allow me to manually load it from the map and give me error if something is wrong?
Xeno :] 27 de mai. às 14:12 
Yes the size, I haven't seen the notes in awhile but can that be disabled on death pov only? If not I just have to deal with it haha
Sam  [autor(a)] 27 de mai. às 13:54 
@Xeno What is the inspector view and what is the bug? If it's about size and orientation, it's not something I can change. This is mentioned in "Known issues"
Xeno :] 27 de mai. às 7:48 
It's buggy for inspector view is there a way to fix it?
Sam  [autor(a)] 1 de abr. às 16:22 
@Iggy , elaborate further in the Feedback post with all of the addons you have enabled
Sam  [autor(a)] 1 de abr. às 16:21 
@TheDoctor , type in the console "bind T +alt2", T being the key you want to bind. This setting should be automatically saved, you could also type "host_writeconfig" to ensure it is saved.