Unity-Utility-Entscheidungen
Macht Unity-NPC-Entscheidungen mit gültigen Optionen und vergleichbaren Bewertungen verständlich. Ergänzt Bindung an gewählte Aktionen und Notfallunterbrechungen gegen ständiges Wechseln bei kleinen Punktunterschieden.
unity-utility-ai-decisions
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze ihn bei vielen konkurrierenden Aktionen mit sprunghaften Wechseln oder unmöglichen Entscheidungen.
Wobei hilft er dir?
- Schließt unmögliche Aktionen vor Normalisierung der Bewertungen aus.
- Definiert Kombination, Gleichstände und reproduzierbare Auswahl.
- Verhindert Pendeln durch Bindung und hält Bewertungen nebenwirkungsfrei.
Das könntest du fragen
Baue einen Unity-Gegner, der Angriff, Deckung oder Rückzug wählt. Schließe unerreichbare Deckung und gesperrte Angriffe vor der Bewertung aus. Protokolliere die Auswahlgründe, teste fast gleiche und ausschließlich null Punkte und prüfe stabile Entscheidungen mit weiterhin möglicher Unterbrechung bei unmittelbarer Gefahr.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Utility AI Decisions
Identify the current decision model and the player-facing choice: target, attack, need, cover or tactical role. Utility scoring is useful for graded trade-offs; preserve a simpler existing rule when it already expresses the task.
- Filter impossible actions before scoring. Represent missing/stale facts explicitly; zero distance, missing target and an unavailable weapon must not accidentally produce an excellent score.
- Map raw measurements through documented response curves with declared units/ranges. Normalize considerations consistently and clamp/validate invalid values before combining them.
- Choose a combination rule deliberately. A weighted sum allows compensation; a product can veto an action with one zero and penalizes actions with more factors. Document any compensation formula and compare actions with different consideration counts.
- Select max, weighted random or softmax according to the intended behavior. Define zero-total-score and tie handling; use a controlled random source for reproducible scenarios and stable ordering when required.
- Add commitment/hysteresis where near-equal scores would cause action thrashing. Specify emergency interrupts separately so commitment does not block an essential reaction.
- Keep scoring free of action side effects. Starting/cancelling actions, spending resources and reserving positions belong to an explicit execution boundary and must occur once per accepted transition.
- Expose raw facts, normalized considerations, combined score and selection reason. Sample decisions on a measured cadence and avoid per-candidate allocation in the hot path.
Verify boundary values, unavailable actions, all-zero scores, unequal factor counts, near-ties, interrupts and repeatability with a recorded seed. Tune against a scenario and trace; do not present example curve constants as universal balance values.
The adapted source documents both BT and Utility patterns; this skill is self-contained and does not require that source's helper files.
Enthaltene Dateien 2
LICENSE.txtSKILL.md
