Tsuey / L4D2-Community-Update

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

Cornfield is only partially filled with FINALE attribute in c12m5 #108

Open alexiscoutinho opened 3 years ago

alexiscoutinho commented 3 years ago

image

Is this intentional? Because it leads to quite unintuitive situations like accidentally setting off a horde while preparing for the finale: https://youtu.be/vIoSk4UGJuU?t=1726. It also hinders spawning making the spot below quite OP, since infected only come from the front, and with the benefit of not being "abusive" (specials can pathfind there):

image

Derpduck commented 3 years ago

It's possibly related to the panic event that is trigger when the survivors drop into that area.

Nesciuse commented 3 years ago

Specials, hordes and bosses can't spawn on finale areas before the finale is started. If it was all finale during the crow event everything would spawn behind

alexiscoutinho commented 3 years ago

Ok. But then couldn't the FINALE attribute be set via SetSpawnAttributes after the finale is triggered?

Nesciuse commented 3 years ago

Whatever you do to nav persist between round restarts and just adding FINALE attribute wouldn't make it able for zombies to spawn on it. From testing finale and battlefield areas are saved somewhere during the first round start and used for spawning later.

alexiscoutinho commented 3 years ago

So SetSpawnAttributes and RemoveSpawnAttributes would have to be run every round. However, what's the point of these methods if they don't actually affect spawning? Are they currently flawed/bugged? I'm not sure if I understood your second phrase. Do you mean the area objects that actually matter (real deal) are saved by C++ to somewhere inaccesible to VScripts?

Nesciuse commented 3 years ago

It's not bugged. How it most likely works is areas with battlefield and finale are saved during the first round start into some sort of list which then director uses for spawning. Any finale and battlefield attributes you add later won't be used for spawning the infected during such events. And point of those methods is to add or remove attributes which they do correctly

alexiscoutinho commented 3 years ago

Do you think this issue (not being able to dynamically change spawning) is fixable? I think it is very desirable to the community.

alexiscoutinho commented 3 years ago

Related to #20.

alexiscoutinho commented 2 years ago

@Nesciuse @Rayman1103 Would adding FINALE to 50% (in a mesh, random or line pattern) of those blank nav areas be a reasonable workaround?