Left 4 Dead 2

Left 4 Dead 2

Special Infected Synchronization (AI+)
Viser 31–40 av 56 bidrag
< 1  2  3  4  5  6 >
Oppdatering: 17. des. 2023 @ 15.30

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.

Oppdatering: 14. des. 2023 @ 19.25

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

Oppdatering: 14. des. 2023 @ 12.40

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.

Oppdatering: 5. des. 2023 @ 21.30

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.

Oppdatering: 4. des. 2023 @ 8.15

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.

Oppdatering: 2. des. 2023 @ 6.35

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.

Oppdatering: 1. des. 2023 @ 21.00

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.

Oppdatering: 20. nov. 2023 @ 2.30

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.

Oppdatering: 2. nov. 2023 @ 19.05

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

Oppdatering: 2. nov. 2023 @ 16.01

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