Search the Community
Showing results for tags 'l4d2 server'.
-
So, one of my rare "sparks" went off in my head and decided to try my hand at making some kind of anti-rushing plugin for the L4D2 servers. As of now, it's on the servers already. This is what it does: In the game, there is what is called "nav flow". It's a player's linear progress through the map. What this plugin does is that it takes the total of everyone's "flow" and averages it out. It then takes whoever is in front of their team's flow sees if it's greater than the team's average flow + a certain amount. To make things a little easier for us 'Muricans (sorry Europeans), I converted the numbers into feet since the flow bases itself on "units". Every 16 units is a foot (0.3048 meters). So let's say the average team's map distance flow is about 345 feet from the starting saferoom and there is someone way out in front. If their map distance flow is 125 feet or greater than their team's average, they will get that HINT message in the middle of their screen saying "WARNING! You're too far ahead of your team!". Admins will be alerted in regular chat who is out in front. I'm leaving it to admins to do the judgement calls at this point, but this will make it MUCH easier for them to see who is rushing in the servers. What if there are multiple people rushing? It'll skew the average numbers a bit, sure, but it will still be a good identifier to see who is rushing and who isn't. Also, if there are multiple people rushing, the person out in front will only get the warning, unfortunately. I'll have to mess around with it some more to try and include multiple people. The plugin will also ignore incapped bots too from map distance flow of the Survivor team. If there are 3 or less Survivors alive, the messages won't appear either.