Left 4 Dead 2

Left 4 Dead 2

Contextual Ping System
Suggestion
1. Can we have a convar to turn on/off the ping on special infected or reduce the intensity at least?
2. Could you somehow adapt this plugin[forums.alliedmods.net] to your addon? The glow thingy on the plugin is very useful.
< >
Showing 1-15 of 15 comments
Sam  [developer] 1 Nov, 2021 @ 9:59am 
What that plugin does with glows is already possible to do, but that is a big reason why I have not implemented glows: it changes the properties of entities in the world. Multiple systems modifying one entity will lead to unreliable behaviour.

My addon is completely independent, it does not rely on anything in the world that third parties can change, making it compatible with any type of game modification.

As an addendum, I don't want to make the enemy player warning pings follow them (like an attached glow in that plugin or the uncommon infected spotting in my addon), giving the pingee a significant unfair advantage - practically a wallhack. Its current use is marking the 'last known location'.

I already have plans to improve visibility and logic to prevent overlapping icons that mostly happen on warning pings, which can clutter up the screen. This is going to be fixed.
Last edited by Sam; 1 Nov, 2021 @ 10:01am
Supreme Leader 1 Nov, 2021 @ 10:09am 
I see, but can't you limit the glowing to only weapons and items? That should balance it no? Or make it only work on co-op mode not versus for example.

Nice to hear your plan on the visibility! Good job.
Last edited by Supreme Leader; 1 Nov, 2021 @ 10:16am
Sam  [developer] 1 Nov, 2021 @ 11:22am 
Not using item glows is about keeping compatibility with potential mods that may use glows. Either way, I'm just not considering glows at the moment, not until I'm done with what I already have planned to do.
Supreme Leader 1 Nov, 2021 @ 11:46pm 
Understandable, have a nice day lol.

Also I suggest you should create and pin a discussion thread or two for update/changelogs and bug report, easier for managing since the comment section will get bloated. Cheers!
Sam  [developer] 5 Nov, 2021 @ 11:16am 
I'd like to know if the latest update helps with your visibility complaints, if not, what makes it a problem.
Phoenix‎ Rose 7 Nov, 2021 @ 1:03am 
2 suggestions (if possible)

1.) when a player pings something and no one is looking at the ping, can there be an arrow added to the side of the screen to show the player what direction to look to see said ping?

2.) any possible way to add a command config or some sort to let players manually change the time that pings stay up?
Sam  [developer] 7 Nov, 2021 @ 10:03am 
Originally posted by Phoenix Rose:
1.) when a player pings something and no one is looking at the ping, can there be an arrow added to the side of the screen to show the player what direction to look to see said ping?

That might not be viable because of the complexity of the number of different icons it would need to display. I don't think it would be worth the effort.

Originally posted by Phoenix Rose:
2.) any possible way to add a command config or some sort to let players manually change the time that pings stay up?

I just added a simple server settings file, instructions are in the description. Per player setting is not possible.
Supreme Leader 9 Nov, 2021 @ 9:56am 
Nice work! It become so much easy on the eye now. So the setting is control by the host am I right?
Sam  [developer] 9 Nov, 2021 @ 10:14am 
The settings file is on the server/host, yes.
Supreme Leader 9 Nov, 2021 @ 10:18am 
Originally posted by Sam:
The settings file is on the server/host, yes.
Great stuff, the mod is become more and more perfect!
Last edited by Supreme Leader; 9 Nov, 2021 @ 10:18am
Nate 1 Mar, 2022 @ 10:09am 
Originally posted by Sam:
Originally posted by Phoenix Rose:
1.) when a player pings something and no one is looking at the ping, can there be an arrow added to the side of the screen to show the player what direction to look to see said ping?

That might not be viable because of the complexity of the number of different icons it would need to display. I don't think it would be worth the effort.

Originally posted by Phoenix Rose:
2.) any possible way to add a command config or some sort to let players manually change the time that pings stay up?

I just added a simple server settings file, instructions are in the description. Per player setting is not possible.

The "offscreen" icon idea is pretty good idea, actually! I'm wondering if you could just do a simple carrot shape or < ^ > type arrow... you could probably get away with 8 arrows for the cardinal directions (N, E, W, S, NE, NW, SE, SW) don't you think? I've not done a squirrel programming but since you know the position of the player and entity being pinged any given time you could calculate the angle and use the appropriate arrow corresponding to the direction?

Just spitballing here. Obviously the mod is fantastic as is. But if you ever want to add the feature or stretch your programming muscles, could be an interesting exercise!
Sam  [developer] 1 Mar, 2022 @ 12:23pm 
Programming it is not the problem - that's the easy part, the problem is displaying the icons. There are not many options for screenspace image drawing that is controllable by the server. Using either of the two obvious options, which are screen overlays and hud text, basically means incompatibility with any map/addon also using them.

Edit: After testing I see that screen overlays and hud text do not even work in L4D2. So this is practically not possible to make.
Last edited by Sam; 19 Sep, 2022 @ 10:17am
Nate 1 Mar, 2022 @ 12:37pm 
Originally posted by Sam:
Programming it is not the problem - that's the easy part, the problem is displaying the icons. There are not many options for screenspace image drawing that is controllable by the server. Using either of the two obvious options, which are screen overlays and hud text, basically means incompatibility with any map/addon also using them.
Understood, there must be limited screen surfaces or calls on which to draw... I trust you've already looked well into it... I have no experience so just speaking a non-informed opinion here. No worries!
Phoenix‎ Rose 7 Feb, 2023 @ 5:59pm 
would it be possible to tie in the pinging system with the director?

i use a mod on a server that notifies people when they are in black and white, and if you look away from them, the director shows an arrow on your screen telling you "hey, look this way so you can see it"

would it be possible to tie this ping system in with the director, so if someone pings, they would get a director popup (assuming they have director enabled) that would do the same?
Sam  [developer] 1 Oct, 2023 @ 10:08am 
Originally posted by Phoenix Rose:
would it be possible to tie in the pinging system with the director?

i use a mod on a server that notifies people when they are in black and white, and if you look away from them, the director shows an arrow on your screen telling you "hey, look this way so you can see it"

would it be possible to tie this ping system in with the director, so if someone pings, they would get a director popup (assuming they have director enabled) that would do the same?
I think you mean gameinstructor. While it is possible to create gameinstructor notifications, I think that would be outside of the scope here.
< >
Showing 1-15 of 15 comments
Per page: 1530 50