RSSy MYGO.pl Opublikowano Marzec 24, 2018 o 16:25 RSSy Udostępnij Opublikowano Marzec 24, 2018 o 16:25 More Director Bosses Compatible with both L4D And L4D2Short Description This is a simple plugin that forces the Director to give you multiple witches each map, alongside a guaranteed tank. It works simply by toggling basegame cvars. Long Description The game has two console variables "director_force_witch" and "director_force_tank" which forces the Director to offer you the respective bosses as soon as possible. However, the two variables are mutually exclusive as the two bosses are treated as the same entity - if you set both variables to one, you will get either multiple tanks with no witches or multiple witches with no tanks. This plugin is a simple jerry-rigged solution to counteract that problem. At the start of each map, it forces witch but not tank. When the first witch spawns, if no tank has spawned yet, it sets "force_tank" to 1 and disables "force_witch". After the first tank spawns, it sets "force witch" to 1 and disables "force tank". On a normal map, this translates to multiple witches per map, as well as 1 tank that occurs after your first witch encounter in the map. In finales, tank waves still occur as normal. Special rules are implemented for finale maps to potentially allow for multiple witches if possible. Note that boss spawns still obey map-specified rules. I made this as I was dissatisfied with existing options to handle boss spawns. Using z_spawn_old to spawn the bosses is terrible gameplay-wise as they cannot be paced properly, with jarring results such as tanks in the midst of a panic event or a witch suddenly popping up in the room next to you. As they are out of director control, they can also spawn in places they should not be able to, resulting in absurd situations like a spawn in the c1m1 or c8m1 corridors. Requirements (Left 4 Downtown 2)https://forums.alliedmods.net/showthread.php?t=134032 is required. I used the L4D_IsMissionFinalMap() native to implement special rules for finale maps. Essentially, since finale tanks only spawn in guaranteed waves, "force_tank" is useless, therefore we do not want to disable "force_witch" so that we can potentially maximize witch spawns on maps with multiple witch spawn points before the finale event. Installation The "Get Plugin" button does not work. The plugin will not compile since it utilizes a left4downtown2 native. Download the smx. Drag and drop to addons/sourcemod/plugins. Compatibility This only tampers with basegame cvars, should be compatible with everything. It only manipulates the Director's chances of spawning tanks/witches; does not interfere at all with tank mods such as the likes of Super Tanks, Last Boss, MultiTanks, Finale Tank Storm et al. Plugins to spawn more witches are technically compatible but obsolete and not recommended. Notes All this plugin does is dynamically toggle basegame cvars based on the situation. It is up to the director to spawn the bosses. Dont come to me saying "no witch/tank on XX map!!111" Boss spawns still obey each map's vscript rules. This makes tank spawns less dynamic and more predictable. As the code indicates, the map's tank always appears after the first witch that you encounter. This is my first plugin. I am new to sourcemod so tell me if I did anything wrong in my plugin. Do tell me if there is any code optimization I can implement. Miscellaneous These variables will allow you to further tweak the director's boss spawn rates.Related Console Variables director_tank_max_interval director_tank_min_interval director_threat_max_separation director_threat_min_separationRelated Vscript DirectorOptions cm_WitchLimit cm_TankLimit You want to use the mutation specific values (cm_) since they can override map/event specified values. Attached Files Get Plugin or Get Source (l4d_moredirectorbosses.sp - 3.1 KB) l4d_moredirectorbosses.smx (5.2 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się