Tsuey / L4D2-Community-Update

Help us shape the potential future of L4D2 vanilla.
70 stars 23 forks source link

Bad spawn on c3m2_swamp #20

Open accelerator74 opened 3 years ago

accelerator74 commented 3 years ago

Swamp Fever the second map (c3m2_swamp) has a very bad spawn from about the middle, after opening the plane's hatch. If you try to run forward and quickly go through the map, then the spawn occurs behind the plane, and the map in front is completely empty. This applies to both Special Infected and Spawn of Common Infected.

I recorded a couple of demo files, I hope it will be roughly clear from them what exactly the problem is.

Nothing prevents players from breaking through the crowd of infected and moving forward quickly, when the entire spawn occurs from behind :)

Also, as you move along the map, the server cannot spawn special infected. When trying to manually spawn a Special Infected with the command z_spawn_old auto an error is print to console:

Couldn't find a %SI% Spawn position in 5 tries.

Of course, after a while, the spawn starts from the front, but up to this point, the players have already entered the saferoom.

navbug_c3m2.zip

Nesciuse commented 3 years ago

Not sure what can be done about this one. It's not really a bug but rather how wave based events work. While such event is in progress zombies can spawn only in BATTLEFIELD areas.

accelerator74 commented 3 years ago

When the game first came out, spawning on this map worked well and it was difficult. But after some update, it became as shown in the demo (the update was about when l4d2 switched to steampipe, possibly earlier). The nav files did not change then, but the spawn logic was unfortunately broken. At about the same time, many navigation broke down, including the No Mercy roof, which had already been repaired :)

accelerator74 commented 3 years ago

By the way, I want to add. Before the TLS update, on the map c8m3_sewers near the gas station, if you quickly go forward (or some of the survivors remain behind, and some go forward), the bosses spawn from behind. Now there is no such problem. Maybe here you can also fix it :)

Nesciuse commented 3 years ago

Where exactly did that behind spawn happen ? Behind spawns can possibly happen because of threat area generating on area blocked by nav blocker and later being unblocked like the lift here. In this case there are 4 areas where threat can generate for this to happen.

accelerator74 commented 3 years ago

Bosses and Infected appeared behind this building and did not want to spawn in front if any of the survivors stayed behind.

c8m3

As a result, players could simply run to the saferoom on a completely empty map. This happened on a server with an increased number of survivors 4+. But like I said, now this problem is gone.

I understand that mod servers themselves have to solve their problems, but I thought that it might be possible to change something in the navigation, since on the swamp map can even in a standard coop just run forward on an empty map :)

UPD: By the way, this problem was also solved by the navigation file from left 4 dead 1 (l4d_hospital03_sewers.nav) :)

Nesciuse commented 3 years ago

Well bosses spawning behind that building is definitely a custom server thing. Can't happen in official. All those areas behind that building were changed to EMPTY in tls nav so that's probably what changed that. Back to the c3m2 this can't be solved with nav editing (in reasonable manner). The way the event works has to be changed to fix the issue.