Left 4 Dead 2

Left 4 Dead 2

Special Infected Synchronization (Sync Only)
目前顯示第 31-40 項,共 49 項
< 1  2  3  4  5 >
更新:2023 年 12 月 5 日 @ 下午 9:30
Thumos 發表

Additions
  • Added a new option named `LastSpawnedTime` in `~/ems/sisync-onlysync/cfg/settings.txt`. This prevents any more special infected from spawning if the time since the last one spawned has exceeded the number set by the new option.

更新:2023 年 12 月 4 日 @ 上午 8:15
Thumos 發表

Changes
  • Moved the `try/catch` statement into its own function and allowed the function to be called from `SISync.Update()` every second. This allows the special infected to be synchronized regardless of whether custom campaigns modify `cm_MaxSpecials` mid-game.

更新:2023 年 12 月 2 日 @ 上午 6:35
Thumos 發表

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.

更新:2023 年 12 月 1 日 @ 下午 9:00
Thumos 發表

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.

更新:2023 年 11 月 20 日 @ 上午 2:31
Thumos 發表

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.

更新:2023 年 11 月 2 日 @ 下午 7:05
Thumos 發表

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

更新:2023 年 11 月 2 日 @ 下午 4:01
Thumos 發表

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

更新:2023 年 10 月 28 日 @ 下午 9:22
Thumos 發表

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.

更新:2023 年 10 月 7 日 @ 上午 11:45

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.

更新:2023 年 9 月 23 日 @ 上午 7:16

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.