Show HN: Neural Emotion Matrix for NPCs
5 days ago
- #AI-interactions
- #game-development
- #NPC-emotions
- NPCs are given persistent emotions and dynamic personalities that evolve through interactions to make them feel more human.
- The system uses Russell's Circumplex Model to map emotions on a 2D coordinate system (Valence and Arousal).
- Features include Emotional Understanding, Emotional Memory, Evolving Personalities, and Complex Relationships.
- The Neural Affect Matrix provides a C API for integration with game engines like Unity and Unreal Engine.
- Key API functions include initializing NPC sessions, evaluating interactions, and retrieving emotional states.
- NPCs can be configured via JSON, specifying identity, personality, and memory decay rate.
- Memory of interactions is stored locally, influencing future emotional responses.
- The project is open-source, welcoming contributions under the MIT License.