Squads, Leadership and Morale
These notes explain how AI groups choose leaders, maintain trust, react to pressure, and continue operating when plans or relationships begin to break down.
Squad behavior is not controlled by one permanent commander value. Leadership, confidence, morale, and social cohesion change from evidence and events while remaining bounded by the characters and systems that own the underlying state.
Team Trust System
This system manages trust between players in teams. It tracks cooperation and shared damage. Visual markers show team status. Trust decreases when teammates are out of sight or range for long. Killing a teammate causes a penalty that lasts for a set time.
Squad Leadership And Cohesion
This service manages how squads respond to loss of leadership, friendly fire, and emergencies. It uses personality traits and morale to guide behavior changes. The system keeps squad actions coherent during crises. It does not change other systems directly.
Squad Mental State Influence
This service tracks how events and conditions affect a squad's mental state. It considers losses, mission risk, and communication problems to create a morale pressure score. This score influences behavior like panic or aggression but does not decide what the squad actually does. The system keeps squad actions varied and realistic while letting other systems control final decisions. The service only uses approved inputs. It does not hardcode final tactical behavior. It preserves plugin-layer ownership and intent-only mutation.
Learning Better Tactics Safely
ADK is designed to let NPC groups learn slowly from minimized records of how fights and maneuvers unfolded. The system could propose a new tactical pattern for testing when repeated experience suggests that an existing approach is failing.
No generated tactic would control NPCs directly. Every candidate must remain understandable, bounded, testable, and separately approved before runtime use, preventing a few training rounds from turning Private Bob into Napoleon with an assault rifle.