Text-Formatting
Overview
Text-formatting tags are special placeholders used in dialogue nodes and other text-based elements within the game. They dynamically replace text with specific game data, enhancing the interactive storytelling experience. This document outlines the key text-formatting tags and their functions.
Text-Formatting Tags
- Conspirator and Target Names
{c*Name}
: Returns the name of the Conspirator.{t*Name}
: Returns the name of the Target.
- Full Names with Titles
{c*FullName}
: Returns the full name of the Conspirator, including title and family name. Example: "King Baldur of Forheaven".{t*FullName}
: Returns the full name of the Target, similar to the above format.
- Cultural Background
{c*Culture}
: Returns the culture name of the Conspirator.{t*Culture}
: Returns the culture name of the Target.
- Family Affiliation
{c*Family}
: Returns the family name of the Conspirator.{t*Family}
: Returns the family name of the Target.
- Roles in Society
{c*Role}
: Returns the role name of the Conspirator. Example: "Engineer".{t*Role}
: Returns the role name of the Target. Example: "Engineer".
- Titles
{c*Title}
: Returns the title of the Conspirator. Example: "King".{t*Title}
: Returns the title of the Target. Example: "Queen".
- Clan Membership
{c*Clan}
: Returns the clan name of the Conspirator.{t*Clan}
: Returns the clan name of the Target.
- Gender Identification
{c*Gender}
: Returns the gender of the Conspirator.{t*Gender}
: Returns the gender of the Target.
- Age Details
{c*Age}
: Returns the age of the Conspirator.{t*Age}
: Returns the age of the Target.
- Private and Public Variables
{c:varname}
: Returns the value of a specified Conspirator's private variable. Example: "Coins".{t:varname}
: Returns the value of a specified Target's private variable. Example: "Health".{g:varname}
: Returns the value of a specified public variable. Example: "GameMode".
- Scheme Graph Variables
{table:varname}
: Returns the value of a specified Scheme graph variable.
- Language Localization
{l:language_key}
: Returns the localized text corresponding to the specified language key. Example: "welcome_text".
Usage Notes
- These text-formatting tags can be used in dialogue nodes or any other text field in the game to dynamically display relevant information.
- They help create a more immersive and personalized gaming experience by reflecting the game's current state and player choices.
- It is crucial to ensure the correct spelling and format of these tags for them to work as expected.
Examples in Game
In dialogue nodes, the text "Welcome, {c*Name}! You are a {c*Role} from the {c*Clan} clan."
could dynamically display as "Welcome, Aria! You are an Engineer from the Arcanum clan."
based on the current Conspirator's details.
Conclusion
Utilizing these text-formatting tags effectively can significantly enhance the narrative depth and player engagement in the game. They allow for dynamic text that adapts to the player's actions and the game world's state.