Just Good Babysitter

If you liked this item, please rate it up on Steam Workshop page.

Author: Deo

Last revision: 12 Jan at 10:58 UTC (19)

File size: 49.6 KB

On Steam Workshop

Description:

7.0+ compatible

Have you ever felt yourself more a baby tender than a commander because your units stop doing what they were doing and go smoking every 5 seconds for CA knows what reason? If yes – this mod is for you.

It helps your units with one simple thing – following orders
If one was ordered to attack, the unit will continue to attack until there is no one to attack.
If one was ordered to stay – he will stay

– automatically attack nearby targets from idle mode if last command from player was to attack
– will not attack if guard mode is enabled

there is also a bit of logic implemented
– units prefer to attack same target as before they gone idle unless it is shattered
– ranged units will attack same target if its in their range
– active units preferred over routing or shattered ones
– routing ones preferred over shattered
– new: units attacking shattered targets will change to another target if there is more than 4 active enemy units left and current target is not a character

if you see any inconsistencies or something can be improved – let me know, but basic purpose of the mod – to handle idle states giving you time for more important decisions

The is few MCT (Mod Configuration Tool) options, so check it out! To persist changes should be made in campaign

How to do basic debug
1. Get the ‘Script Debug Activator‘ mod
2. Enable debug mode in MCT settings of a mod
3. Reproduce the problem, look for the log files in WH3 rood directory
4. See if logs contains any "SCRIPT ERROR" lines

Update 09/02/2025
Weights system added, helping better decide which target should unit attack from idle state
– Units should prefer closer enemies, or those over which they have a speed advantage
– Now they should split between enemies more evenly
– Units got a chance to change target that is shattered and have higher speed

Mods compatibility
– Compatible with AI General 3

Just Good UI Mod
Just Good Battle UI

[paypal.me]
[www.patreon.com]