SX-2: Character Cards Environment ~ by Sphiratrioth

Welcome the new age of role playing character cards for Silly Tavern. Generate starting messages (every time a different one), swap scenarios, clothes, weather and additional roleplay conditions. All done from a standard chat window. No extensions needed. Just a creative use of the embedded lorebook and my personal character format based on strings. It works perfectly with all of my other tools - such as a character generator template (https://huggingface.co./sphiratrioth666/Character_Generation_Templates) or active guidance of characters through lorebooks (https://huggingface.co./sphiratrioth666/Lorebooks_as_ACTIVE_scenario_and_character_guidance_tool).

It is the actual environment - so much more than simple character cards - but it's still "plug & play" - so no special knowledge needed will be ever required to use it.

image/png
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License (https://www.gamereactor.pl/czy-wladca-pierscieni-moze-byc-idealnym-horrorem-881623/)

Introduction

Today, I bring you a whole character cards environment I've been developing and using since Summer 2024. The idea behind it is to create the "raw" characters aka Avatars with their personal information, body descriptions & personality descriptions but without a typical scenario, starting message nor fixed features such as clothing, weapons, skills etc. Instead - we're using the swappable and mixable embedded lorebooks with pre-defined scenarios/scenes, clothing sets, adjustable {{char}} relationship with {{user}}, adjustable weather, adjustable {{char}}'s mood and additional features. It may be considered a character environment that offers a lot of freedom and flexibility. All the scenes & swappable character features are triggered DIRECTLY IN A CHAT WINDOW - with simple, quick and intuitive trigger words - so not additional extensions will be ever required. We're able to achieve amazing things just by the creative use of lorebooks - the embedded ones and the actively selectable ones.

What it does

  1. It generates a different starting message each time - no more repetitive, boring, fixed starting messages.
  2. It allows adjusting our characters with each roleplay by seamlessly swapping things, which real people swap - like clothes, current mood, weapons - but we do it without modifying a character card and we can also do it in a middle of the roleplay.
  3. It allows adjusting the roleplay conditions - current weather, character's relationship with user, character's residence.
  4. It comes with a set of 10 pre-made scenarios to play with - and yes, we trigger them at the beginning with a trigger word and the starting message for a given scenario will be generated.
  5. We can roll the scenarios - aka pick them randomly.
  6. We can also roll clothes, weather, character's mood randomly.
  7. Because it is the environment format rather than just cards, we can swap the settings by swapping lorebooks. For example - a character, which comes with 10 real life scenarios of living together may be thrown into a cyberpunk setting with different 10 scenarios by just selecting one of the "DLC" lorebooks with settings. Currently, there're 6 settings available: Cyberpunk, Fantasy, Housemates Drama, Office Drama, Japanese Paranormal, Western Paranormal.
  8. We can also create our own, custom scenarios - by just typing it in the chat window - it will also work and the LLM will generate a starting message based on our set-up scene.

What it is

SX-2 Format Character Cards - each one with embedded lorebook with everything ready to go.

  • Realistic Setting: example characters to download
  • Takashi Aika (Yakuza Heiress on a Run), Shiratori Chiasa (misunderstood artist), Yoshida Tomoe (housemate friend), Nicholas Quail (my cameo - sorry, my dear female friends - I'm making female characters - so the best I am able to force out of myself is my own persona converted into a male character :-P I'm terrible, I know - sorry for that - but it should be a fun character regardless! Feel free to edit the character, change a pic or whatever!)
  • Cyberpunk Setting: example characters to download
  • Sylvia Blades (Mercenary)
  • Fantasy Setting: example characters to download
  • Ghorza Barg'nash (Adventurer)

    image/png

    Embedded Lorebooks - each one with universal, character matching, 10 pre-made starting scenes & all the optional, useful features to swap.

  • 5 Unique Clothing Sets (Character's Signature - editable)
  • 40 universal clothing sets (Male & Female Templates - yeah, I made them myself...)
  • Weather (Sun, Rain, Storm, Heat)
  • Character's current mood (10 typical states)
  • Character's relationship with user (21 options)
  • Residence (apartment, house, villa, hotel - alone/housemates)
  • DLC Lorebooks - each one with 10 pre-made starting scenes in a given setting.

  • Cyberpunk
  • Fantasy
  • Housemates Drama (modern)
  • Office Drama (modern)
  • Japanese Supernatural
  • American Supernatural
  • Control Lorebooks - lorebooks allowing us to make a TTRPG game (D&D like) out of it or choosing between different, useful tools.

  • TTRPG Lorebook (success/failure check of user's/character's actions, random events generator etc.)
  • Horny Control (prevent characters from going NSFW like crazy or trigger it yourself if you want to)
  • Clothes (Boutique) (even more clothes with "constant" insertion method - activate/dactivate to switch them in scenes)

  • How to use:

    I will not lie to you. All you see here works best with my SillyTavern presets (https://huggingface.co./sphiratrioth666/SillyTavern-Presets-Sphiratrioth). You can theoretically try different presets as well - but as much as I always suggest trying them all out (I like the Marinara's and Virt-dude's ones myself) - this time, I sadly need to auto-promote. I tailored my presets to work exactly with this format here since that's how I am personally roleplaying since last summer (2024). Feel free to try it with other presets - but do not complain if something goes wrong!

    Download Example Characters:

    1. Navigate to the files section of this post and download the characters.
    2. Import Characters in SillyTavern.
    3. Click on the SX-2 Character on the list - it should ask you to import the embedded lorebook and to turn the attached REGEX on.

    Character Set-Up:

    1. Make sure that the character-attached REGEX is on under the SillyTavern tab Extensions/Regex/Scoped Scripts.

    image/png

    1. Make sure that the character embedded lorebook has been imported: click on the green globe button under the character tab to make sure that the embedded lorebook loads up properly. SillyTavern should ask if you're ant to import the embedded lorebook automatically - when you import a character and click on it for the first time. Thus, this step is just to make sure that everything works as intended.

    image/png

    Starting Roleplay:

    1. Default starting message - this is where you roleplay. You activate scenarios through their trigger words and the LLM will generate the actual starting message for a given scene. A starting message will be always a bit different - so - no more boring, repetitive roleplays!

    image/png

    1. Swipe left (to the last starting message) - to see the list of all the available scenarios embedded in the character lorebook. They are activated with trigger words: SC01, SC02, SC03... or SC: 01, SC: 02, SC: 03... or Scenario: 01, Scenario 02, Scenario 03... or Scene: 01, Scene: 02, Scene: 03... Which must be typed under the default starting message. Do not use any other window than a default starting message for the actual roleplay!

    image/png

    1. You can also define the optional variables of your scenes - such as a current weather or a relationship with {{user}}. To do that, simply add the given conditions keywords after SC01, SC02, SC03. The list of pickable options is just below the scenarios list.

    Example - this is what you type in a normal chat window under the default starting message:

    SC03, weather: rain, relationship: friend, residence: apartment

    image/png

    1. If you swipe left again - you will see the list of all the available clothes in a wardrobe of your character. You can pick up what you like and dress up a character in that - also mid-roleplay!

    image/png image/png

    Example - again, what you need to type in a normal chat under the default starting message:

    SC03, outfit: 8, weather: rain, relationship: friend, residence: apartment

    image/png

    1. You can also create your own scene/scenario and generate a starting message for it. In such a case, you will need to navigate to the default starting message again and type exactly this in a normal chat window:

    Custom Scenario/Scene: clear, short instructions on what each character is doing, where they are, how scene looks like

    Example:

    Custom Scenario: I am driving a car on the German highway, you are sitting next to me, I pull off to the gas station.

    image/png

    or

    Custom Scene: {{char}} is a cyberpunk mercenary, {{user}} is a fixer, {{char}} visits {{user}} in a bar to get the new job.

    image/png

    1. As long as you type at least a predefined scenario trigger word or you define a scenario yourself, LLM will generate a starting message and you can start your roleplay!

    image/png

    image/png

    image/png

    image/png

    image/png

    1. You can also roll a scenario from the list. Just use a command: scenario: roll or scene: roll.

    image/png

    1. If generated messages are not good enough, try using my SillyTavern presets - the characters were actually tailored to work best with them: (https://huggingface.co./sphiratrioth666/SillyTavern-Presets-Sphiratrioth).

    2. Quick-start message - by using it, you can just start the roleplay without generating anything. In this scene, you wake up and {{char}} knocks on the door of your bedroom, which serves as a nice starter for a slice of life roleplay. It is currently set-up as the second starting message so swipe right to see it. Just remember that the default (first) starting message remains the main, functional one to generate anything and to take full advantage of the SX-2 format. A secondary starting message comes purely as a bonus - when you do not want to use the pre-defined scenarios or craft your own scene.

    image/png

    1. Quick Triggers - weather, mood, relationship state, sexuality, everyday outfits may be also triggered or rolled with quick triggers instead of the whole words. For weather, just use W: your choice, for mood, use M: your choice, for relationship, use R: your choice, for sexuality, use S: your choice. You can also roll everything with the quick triggers aka W: roll, M: roll, R: roll, S: roll.

    image/png

    1. DLCs - you can simply load the DLC lorebook as one of your active lorebooks and use the trigger words DLC: 01, DLC: 02, DLC: 03... or DLC: roll to trigger the DLC lorebooks scenarios. All the standard, swappable features will still work normally - because the basic lorebooks is still embedded within a character card. The new DLC lorebooks include only the additional, setting-related scenes/scenarios.

    image/png

    image/png


    How is it even possible?!:

    This method inserts the instructions in a template {{"TAG"}}:{INSTRUCTION} into the context, at different depths, sometimes with a "sticky" parameter on - so the information such as clothes or a relationship with user stays in context forever, sometimes at depth 0 as system instructions aka "OOC on steroids", which is deleted from context when not needed anymore - like instructions to generate the starting message. You will not see the instructions nor information injected into the context in chat, so if you want to check what's happening underneath the hood, you perform a context inspection. You can do it easily in SillyTavern.

    image/png

    image/png

    image/png

    image/png


    How to create your own characters in SX-2:

    1. Download the MAN & WOMAN template lorebooks.
    2. Import them into SillyTavern & clone them under a desired name.
    3. Edit the clothing sets & entries that generate the messages. Use simple instructions - where {{char}} and {{user}} are, what's happening. Do not overdo it. Think of it as painting a picture for the starting message only - not the real scenario.
    4. To add details, edit the entries that inject the "scenario" part into the context. There, you can add more instructions - like what's gonna happen - for instance, what kind of monster will live under the bridge. A red hot chilli pepper monster, a kappa or whatever you want.
    5. Use the character edit options in SillyTavern to detach the linked (embedded) lorebooks and link (embed) your own.

    Alternatively: open a lorebook template in a text editor, copy-paste everything into GPT/Gemini/Mistral/Deepseek or whatever LLM you like using and give it instructions to write the lorebook for you. It works. Trust me - it works :-D You can also generate the whole characters like that and here I suggest reading my post with a character generator template (https://huggingface.co./sphiratrioth666/Character_Generation_Templates).

    Downloads last month

    -

    Downloads are not tracked for this model. How to track
    Inference Providers NEW
    This model is not currently available via any of the supported Inference Providers.
    The model cannot be deployed to the HF Inference API: The model has no library tag.

    Model tree for sphiratrioth666/SX-2_Characters_Environment_SillyTavern

    Finetuned
    (1)
    this model