Left 4 Dead 2

Left 4 Dead 2

Special Infected Synchronization (AI+)
Showing 31-40 of 54 entries
< 1  2  3  4  5  6 >
Update: 14 Dec, 2023 @ 12:40pm

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.

Update: 5 Dec, 2023 @ 9:30pm

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.

Update: 4 Dec, 2023 @ 8:15am

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.

Update: 2 Dec, 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: 1 Dec, 2023 @ 9:00pm

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.

Update: 20 Nov, 2023 @ 2:30am

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.

Update: 2 Nov, 2023 @ 7:05pm

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

Update: 2 Nov, 2023 @ 4:01pm

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

Update: 28 Oct, 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: 7 Oct, 2023 @ 5:00pm

Bug Fixes
  • Moved the `cm_AggressiveSpecials` variable into the `MapOptions` table. This allows the variable to be utilized when it intitially did nothing before.