Left 4 Dead 2

Left 4 Dead 2

Special Infected Synchronization (Sync Only)
Showing 31-40 of 47 entries
< 1  2  3  4  5 >
Update: Dec 2, 2023 @ 6:35am

Bug Fixes
  • Moved the `SITotal` variable from the `SISync.Update()` function into the `SISync.RespawnCheck()` function. This reduces the `cm_MaxSpecials` or `MaxSpecials` variable by `1` for each special infected spawned and should prevent the special infected from exceeding the limit set by the `MaxSpecials` variable.

Update: Dec 1, 2023 @ 9:00pm

Changes
  • Used `cm_SpecialRespawnInterval` so it can take priority over `SpecialRespawnInterval`.
  • Set `SessionOptions.cm_SpecialRespawnInterval` to `0` in the `foreach` loop for every special infected spawned. This should reduce the chances of desynchronized spawning.
Bug Fixes
  • Created the `SISync.Update()` function and added it to the scope on round start so it can run every second. This prevents potential conflicts with other add-ons utilizing the `Update()` function.

Update: Nov 20, 2023 @ 2:31am

Additions
  • Added the `InitialSpawnDelayMin` and `InitialSpawnDelayMax` options to the `settings.txt` file which allows the initial spawn delay of the SI to be randomized.
Changes
  • Modified the VScript to hold the variables, tables, and arrays in a single table while also allowing the functions to reference the `::SISync` table. This should improve compatibility with other add-ons as the variables, tables, and arrays will be contained in the global table itself.
  • The settings and converter are separated into their own `.nut` files and will now be referenced in the `sisync-onlysync.nut` file instead.
  • Added a `try/catch` statement to the compilestring in the `sisync-onlysync_converter.nut` file to remove any invalid variables from the `settings.cfg` file instead of causing an error.

Update: Nov 2, 2023 @ 7:05pm

Changes
  • Imported the thumbnail of this add-on into the VPK file.

Update: Nov 2, 2023 @ 4:01pm

Changes
  • Reworked the `LoadSettings` function in the `sisync` table to allow any value besides `true`, `false`, or `null`.

Update: Oct 28, 2023 @ 9:22pm

Bug Fixes
  • Removed `si_count.pop()` from the `OnGameEvent_player_death` function since `si_count.clear()` removes all the special infected from the array when their respawn timer is finished. This should prevent the special infected from being desynchronized.

Update: Oct 7, 2023 @ 11:45am

Big Fixes
  • Added the `ScriptMode_Init` function to `scriptedmode_addon.nut`. This allows the add-on to work without relying on other add-ons to activate Scripted Mode.

Update: Sep 23, 2023 @ 7:16am

Changes
  • Changed the table for the DirectorScript variables to `MapOptions` and `MutationOptions`. This allows the variables set by each map to be overwritten as opposed to being delegated by whatever variables the map's `DirectorOptions` table imposed. Do note that crescendo and onslaught events will still overwrite the vscript's variables, but the variables will at least be reverted back to whatever was listed in the `MapOptions` table once the event is finished.
  • If the default variables listed in the `::CustomVars` table aren't in the `settings.txt` file, they'll now be added to the config file without overwriting existing ones on round start.

Update: Sep 15, 2023 @ 2:05am

Additions
  • Added the `RespawnIntervalMin` and `RespawnIntervalMax` options to the `settings.txt` file which determines the minimum and maximum values for the special infected's respawn timer.
  • Added the `DebugMode` option to the `settings.txt` file.
Bug Fixes
  • Made `CustomVars` a global variable again to fix a bug where modifying the `settings.txt` file wouldn't have any effect in-game.

Update: Sep 12, 2023 @ 2:03pm

Bug Fixes
  • Accidentally uploaded `sisync-complite` instead of `sisync-onlysync` in the previous update.