Hello everyone.
Is it possible to integrate a system into the game that would allow the player character's lore to be exported from a game, which could serve as a pre-prompt for the AI, and allow modifications to be made? exemple:
Let's say I want to start a new game with my character named Astre. Once I start this new game, an editable file would be immediately created and associated with my character, such as:
PC Astre Silverpine.txt
This file would be editable and would condense a lore, based on predetermined global criteria, to which the AI could directly refer before any interaction with the player in the game. For example:
{
Silverpine: Everyone speaks "insert your native language" absolutely everywhere. (<- "everywhere" is important, you'll understand why.)
Astre: A slave who fled the Republic of Serpentiolis, very reserved about his past as a slave.
Rosalyn: studied at the Valistére Druid Academy.
Oriana: Originally from Serpentiolis, Oriana doesn't slip because she has two magnificent legs covered in ivory-colored scales.
ECT ECT…
}
These details didn't directly interfere with character descriptions, "if" no correlations could be made by the AI.
I'm currently using DeepSeek V3 (BTW: Thanks for the DEV recommendation, DeepSeek is incredibly good at storytelling and roleplaying.) and this LLM can be manipulated for certain narrative aspects, and can sometimes integrate them poorly. Example:
-Rosalyn: "Hey! Look who's coming, Astre! How are you?"
-Me: {AI: Modify your lore, Rosalyn speaks French very well, like all the inhabitants of Silverpine, rewrite this dialogue.}
The AI reacts quite well and either rewrites the dialogue identically in the requested language or sometimes integrates it into the narrative rather skillfully.
-Rosalyn: Oh see, that's French! It's been a long time since I've practiced that language, but I'm sure it'll help me remember it. *Wink*
Well... I prefer it when the text is simply translated identically to the original speech, but overall it goes well.
Except that you have to do this for all the NPCs, even several times, because if an NPC speaks French in the bathhouse, for example, they'll speak English again in the tavern, until I type the same command to the AI again. However, if the NPC in question returns to the bathhouse, they will automatically speak French. Basically... I have the impression that the AI takes into account the location where the command is given and seems to resonate like this:
"Player requests that Rosalyn speak French, in the bathhouse."
So in all other locations, she will initially speak English, before the player corrects this.
Then, by constantly correcting the AI's language, they will all end up speaking French in every location where it was possible to initiate a dialogue with them. (Well... so far, anyway.) But it's long, tedious, and it seriously breaks the immersion and the narrative at times.
So... I just wanted to share with you my feelings about this rough diamond that is Sylverpine, and perhaps open up some avenues for possible developments in the game.
Thank you.