Skip to content

Is there a simple way to give the player character a custom name and portrait? #706

Answered by Jowan-Spooner
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Alright I'm going to answer this, sorry I didn't see it ealier.

Customizing the name is pretty easy. You should create a value definition and call it something like PLAYER_NAME.
Then you can create a name selection/editing screen on your own (basically you only need a LineEdit and a Button). Set the definition to your name by using Dialogic.set_variable('PLAYER_NAME', $LineEdit.text).
Now you can use [PLAYER_NAME] (with the brackets) inside your text, question or choice events and it will be replaced with the name.

The portraits aren't that easy right now. You could create a custom scene for your portraits that change the image depending on some variable. You can also set the portrait dep…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by coppolaemilio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant