PlottiPlotti Docs
Script Factory

World Settings

Learn how to build story worldview, create characters, manage items and lorebook

World settings are the foundation of your script, defining the story's background, participating characters, and obtainable items. Good world settings help characters better understand the story context and respond appropriately.


Worldview

The worldview is the foundational background setting for your entire story, described using XML format.

Opening the Worldview Editor

Click the "Worldview" button in the left sidebar to open the editor:

XML Format Description

The worldview uses XML tags to organize information. Basic structure:

<worldview>
  <setting>
    <time>Modern day, early 21st century</time>
    <location>Sakura City, a bustling metropolis</location>
    <background>
      This is a world where ordinary people and those with superpowers coexist.
      Most people are unaware of the existence of superpowered individuals.
    </background>
  </setting>

  <rules>
    <rule>Superpowered individuals must hide their identity</rule>
    <rule>Using abilities consumes mental energy</rule>
  </rules>

  <factions>
    <faction name="Guardians">Organization of superpowered individuals protecting ordinary people</faction>
    <faction name="Shadow">Evil organization attempting to rule the world</faction>
  </factions>
</worldview>

XML Format Generation Assistance

  1. Expand the "Plotti Assist" panel at the bottom of the editor
  2. Describe your worldview in natural language
  3. Click the "Generate" button

Example input:

This is a fantasy story set in a modern city. The protagonist is a college student
who accidentally discovers they have the ability to sense others' emotions. The story
takes place at Sakura University, a famous institution in the city center. There's a
mysterious club at the school that specializes in researching supernatural phenomena.

Plotti will automatically convert the description into structured XML format.


Character Management

Characters are entities that interact with players. Each character has independent settings and an affection system.

Opening Character Management

Click the "Character Management" button in the left sidebar:

Creating a New Character

  1. Click the "Add Character" button
  2. Fill in character information:
FieldDescription
Character AvatarUpload character image
Character NameCharacter's name
Initial AffectionStarting affection value (default 0)
Character DescriptionBrief description of appearance, personality
Character SettingsDetailed background, personality, dialogue style

Character Description vs Character Settings

FieldVisibilityPurpose
Character DescriptionPlayer visibleCharacter intro shown to players
Character SettingsHidden from playerDefine core interaction logic and style

Character Settings are the core of character behavior, invisible to players. Define here:

  • Character personality traits and behavior patterns
  • Speaking style and tone
  • Attitudes and reactions when interacting with players
  • Key information from background story that affects behavior

Character Settings Writing Tips

Good character settings should include:

## Basic Information

- Age: 20 years old
- Occupation: College student
- Appearance: Long black hair, big eyes, often wears casual clothes

## Personality Traits

- Cheerful and lively, curious about new things
- A bit reckless, but reliable in critical moments
- Likes helping others

## Speaking Style

- Light and quick tone, often uses exclamations
- Likes using metaphors and exaggerated expressions
- Uses nicknames for friends

## Behavior Logic

- Stays alert with strangers but doesn't show hostility
- Very interested in mysterious events, will actively ask about related topics
- Will gradually open up if the player is friendly

## Background Story

Grew up in Sakura City, parents run a coffee shop.
Experienced a mysterious event in high school, became interested in supernatural phenomena ever since.

Affection System

Each character has an affection value:

  • Range: -100 to 100
  • Initial Value: Set when creating character (default 0)
  • How it changes:
    • Set affection changes in "Choice Node"
    • Trigger through events in "Interaction Node"
  • Usage: Used as condition in "Condition Node"

Item Management

Here you can manage elements that players can acquire, hold, and use, including items, as well as skills and actions.

Opening Item Management

Click the "Item Management" button in the left sidebar:

Creating a New Item

  1. Click the "Add Item" button
  2. Fill in item information:
FieldDescriptionExample
NameItem nameMysterious Key
DescriptionItem descriptionAn ancient copper key that seems to open a certain door

Item Usage Scenarios

ScenarioOperation
Obtain ItemAdd item in "Choice Node" state update
Consume ItemRemove item in "Choice Node" state update
Check ItemCheck if held in "Condition Node"
Character Give/RequestConfigure in "Interaction Node"

Item Design Tips

  • Key Items: Items necessary for plot progression (e.g., keys, maps)
  • Collectibles: Add exploration fun (e.g., badges, gems)
  • Consumables: One-time use items (e.g., potions, scrolls)
  • Equipment: Items that affect character abilities

Lorebook

The Lorebook is used to store terminology, settings, and background information in the script. When related keywords are mentioned in dialogue, characters will automatically reference this information.

Opening Lorebook

Click the "Lorebook" button in the left sidebar:

Adding Entries

  1. Click the "Add Entry" button
  2. Fill in entry information:
FieldDescription
KeywordsWords that trigger this entry (multiple)
ContentRelated detailed information

Entry Example

Keywords: Sakura University, Sakura U

Content:

Sakura University is the most famous comprehensive university in Sakura City, founded in 1920.
The campus is located in the city center, famous for its beautiful cherry blossom avenue.

Main colleges:
- College of Liberal Arts
- College of Science
- Institute of Supernatural Research (secret)

School motto: Seek truth, pursue excellence

Notable alumni include several mayors and entrepreneurs. The annual Cherry Blossom Festival in spring is the school's grandest event.

Lorebook Usage Tips

Content suitable for the lorebook:

TypeExamples
LocationsDetailed descriptions of schools, cities, secret bases
OrganizationsInformation about clubs, companies, mysterious organizations
TerminologyExplanations of special concepts, skills, magic
HistoryImportant past events
CharactersBackground information for non-main characters

Difference from Worldview

WorldviewLorebook
Overall background settingSpecific detail information
Always referenced by charactersOnly referenced when keywords mentioned
Globally effectiveRetrieved on demand

Best Practices

1. Maintain Consistency

Ensure there are no contradictions between worldview, character settings, and lorebook.

2. From Broad to Detailed

First establish the worldview framework, then add characters, finally supplement lorebook details.

3. Moderately Detailed

Provide enough information for characters to understand, but avoid excessive detail that limits creativity.

4. Regular Updates

As the script develops, update settings promptly to maintain consistency.


Next Steps

After setting up your world, continue learning how to use various nodes to build stories: