Skip to content
Shi Johnson-Bey edited this page Dec 6, 2023 · 16 revisions

Welcome to the wiki for Unity-TDRS

Getting Started

  1. Adding TDRS to Your Project

Core Abstractions

Traits

Traits are tags of information associated with characters in your game. They can represent physical attributes (hair color, physical build, tattoos), identity attributes (gender, race, ethnicity), group affiliation, personality traits, and more.

Social Rules

Social rules define preconditions for buffs/debuffs applied to one character's opinion of another. Social rules check for the presence or absence of specific traits and apply buffs/debuffs to opinion calculations.

Global Rules

Global rules are handled by a GlobalSocialRules component. This is a singleton component that provides blanket rules that apply to all opinion calculations.

Social Spaces

Social spaces are a combination of a SocialSpace component and Unity trigger collider. Social spaces apply local rules to characters within the volume and remove them when characters exit. This is a cool way to show differences in social expectations. For example, characters might have greater opinions of students with a Popular trait at school, but not care when both characters are outside of school.