Left 4 Dead 2

Left 4 Dead 2

Special Infected Synchronization (AI+)
正在显示第 31 - 40 项,共 57 项条目
< 1  2  3  4  5  6 >
更新于:2023 年 12 月 25 日 下午 4:00
作者:Thumos

Changes
  • Allowed the `SISync.Events.OnGameEvent_player_death` function to call the `SISync.ReduceSpecials()` function whenever a special infected is killed instead of letting it be called in the `SISync.RespawnCheck` function whenever a special infected has spawned. This should allow more special infected to spawn in case the total special infected currently active hasn't reached the `MaxSpecials` variable yet.
  • Reworked the `ReduceSIDuringTank` option to also work with the `cm_MaxSpecials` variable.
Bug Fixes
  • Removed the `MapOptions` table and moved a few of its variables to the `SISync.ConfigInitiate` function. This fixes an issue where the variables in the `MapOptions` table such as `cm_AggressiveSpecials` and `ShouldAllowSpecialsWithTank` weren't being utilized.

更新于:2023 年 12 月 17 日 下午 3:30
作者:Thumos

Changes
  • Modified the `OnGameEvent` functions to make use of `CollectEventCallbacks` and moved `IncludeScript("sisync-ai+")` into the `ScriptMode_Init` function. This should reduce the chance of other add-ons conflicting with this one.

更新于:2023 年 12 月 14 日 下午 7:25
作者:Thumos

Changes
  • Set the `OverrideMobDirection` variable to `false` by default as it made some crescendo events not play out as they were originally intended.

更新于:2023 年 12 月 14 日 下午 12:40
作者:Thumos

Additions
  • Added two options named `PreferredMobDirection` and `PreferredSpecialDirection` to `~/ems/sisync-ai+/cfg/settings.txt` which determines what directions the mobs and special infected respectively are allowed to spawn from. These variables allow the special infected to spawn closer to the survivors while allowing the common infected to spawn farther away. By default, `PreferredMobDirection` is set to `SPAWN_NO_PREFERENCE`, and `PreferredSpecialDirection` is set to `SPAWN_LARGE_VOLUME`.
  • Added two options named `OverrideMobDirection` and `OverrideSpawnRange` to `~/ems/sisync-ai+/cfg/settings.txt` which determines whether the `PreferredMobDirection` and `ZombieSpawnRange` variables are allowed to be overwritten.
Changes
  • Set the `z_large_volume_mob_too_far_xy` and `z_large_volume_mob_too_far_z` command variables to `750` and `200` respectively so the special infected will prefer to spawn closer to the survivors.
  • Set the `z_finale_spawn_safety_range` and `z_finale_spawn_safety_range_override` command variables to `-600` and `300` respectively to prevent finale hordes from potentially breaking. See this page for more information.
  • Allowed the `SessionOptions` table to use the `<-` operator when assigning variables as opposed to using the `=` operator. This allows new variables to be added to the `SessionOptions` table if they're not already available.
  • Removed the `FlowDistance` function as the `PreferredSpecialDirection` variable will always be set to the specified integer instead.

更新于:2023 年 12 月 5 日 下午 9:30
作者:Thumos

Additions
  • Added a new option named `LastSpawnedTime` in `~/ems/sisync-ai+/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`.
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.
  • Set `SessionOptions.cm_SpecialRespawnInterval` to `0` in the `foreach` loop for every special infected spawned. This should reduce the chances of desynchronized spawning.

更新于:2023 年 11 月 20 日 上午 2:30
作者:Thumos

Additions
  • Allowed the initial spawn delay of the SI to be randomized with the `InitialSpawnDelayMin` and `InitialSpawnDelayMax` variables.
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-ai+.nut` file instead.
  • Removed the `hunter_pounce_max_loft_angle` command variable from the `convars.txt` file so it can use its default value instead.
  • Added a `try/catch` statement to the compilestring in the `sisync-ai+_converter.nut` file to remove any invalid variables from the `settings.cfg` file instead of causing an error.

更新于:2023 年 11 月 2 日 下午 7:05
作者:Thumos

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