IMPROVED HORDES 2.0.0-beta.2 for A21.1 EXP b12 released.
This is an experimental release of Improved Hordes. If you encounter any bugs/performance issues regarding the mod, report them in the Issues section of the repository with the experimental label.
Download: https://github.com/FilUnderscore/ImprovedHordes/releases/download/2.0.0-beta.2/ImprovedHordes-Experimental.zip
Changelog
Added
- Player Group Horde Spawn Limits
Can be controlled via the max_hordes_spawned_per_player_group setting (default is 3, -1 to disable).
- This applies to all horde types as of right now, but in the future it will be more configurable.
- It ensures that each player group gets a fair share of hordes, particularly on populated servers.
[*]Variable AI walk speeds for horde entities.
Zombies will no longer sprint and destroy blocks when wandering unless they are targeting heat/a player.
- This required a slight adjustment to how entity AI works, which now switches between EAI (the vanilla AI system) and Horde AI (Improved Hordes' system) depending on what's going on at the moment.
- Another change was made to the way the game schedules AI pathfinding to integrate null checks with thread safety. With the vanilla scheduler, it would attempt to pathfind for an unloaded entity and throw an error, leading to entity AI lockup for the rest of the session.
[*]Startup mod chat message now shows additional info about any mods that interface with Improved Hordes through XML or DLL (in other words, add-ons).
[*]Startup console message for experimental builds that print the current version.
This is to make it clearer which experimental version of Improved Hordes you are running, since ModInfo V2 no longer supports additional version details.
[*]POI and Land Claim Block spawn check to prevent horde entities from spawning in POIs and player bases.
Hordes should now spawn outside POIs and player bases most of the time.
[*]max_spawn_capacity_percent setting to cap the number of horde entities active in the world as a percentage of MaxSpawnedZombies/MaxSpawnedAnimals game prefs (default is 0.8 or 80%).
This should allow screamers and POI sleepers to spawn properly.
[*]thread_tick_ms setting to control how frequently threaded systems tick per second.
A larger value means that threads will tick less times a second. This should have no effect on gameplay, but improve performance if you are finding that the threads are ticking too often. A correction is applied to ensure the threads keep the horde simulation system stable.
Changed
- Startup mod chat message will only show up the first time the mod is initialized in a world.
It will also show up every time the mod is reinitialized when new add-ons are installed/removed so the roaming hordes can be properly updated.
[*]POI zone town weight is now calculated as the minimum of either the average POI weight in the world or the default value of 3.0.
This aims to fix some maps not having zones due to a lack of city sized zones.
[*]Reworked some of the horde entity spawning and generation code.
This fixes an issue where hordes would attempt to complete entity spawns while despawning.
- This should also fix horde entities popping in while spawning.
- Some optimizations have also been made, so gameplay should be running much smoother now.
[*]Hordes will lose interest in events over time depending on the intensity of the events that have occurred.
[*]wandering_animal_enemy hordes will now be attracted to nearby events, but at a lower sensitivity of 0.5 (for comparison, a standard wandering zombie horde has a sensitivity of 1.0).
[*]Slightly reduced the default setting of horde_biome_curve_multiplier from 2.0 to 1.5 for slightly fewer hordes in the wasteland. Other biomes should still have roughly the same number of hordes as before.
[*]Wandering Horde AI changes
Hordes can now run between zones, but will wander while within them when pathing through various parts of town. This gives them a more "wandering horde" feel.
- Hordes should leave zones much sooner now and not roam around too long. There was a bug preventing this behavior, keeping hordes indefinitely within zones.
Fixed
- POI zone stats throwing error when running improvedhordes stats through the dedicated server console.
POI zone stats can only be seen by admins running the command through the in-game console.
[*]Multiple player groups with varying number of players created instead of creating one group of nearby players.
[*]Modified collection error when exiting the world.
[*]Screamers screaming while a game is paused.
[*]Horde wander count being reset every time a location in a zone is reached.
[*]Horde entities stopped from investigation during wander time.
[*]Entities sometimes frozen in place when sleeping, or the game AI lags behind if there are too many entities spawned.
Should be fixed as a result of the AI scheduling change.
[*]Horde entities respawns ignore the spawn cap.
[*]Horde entities pop in when spawning.
[*]Horde entities targeting spectating (invisible) players when the "Invisible" setting is toggled on in the debug menu.