Code: Select all
## The maximum number of NVL-mode entries Ren'Py will display. When more entries
## than this are to be show, the oldest entry will be removed.
define gui.nvl_list_length = 16
## The height of an NVL-mode entry. Set this to None to have the entries
## dynamically adjust height.
define gui.nvl_height = None
## The spacing between NVL-mode entries when gui.nvl_height is None, and between
## NVL-mode entries and an NVL-mode menu.
define gui.nvl_spacing = 4
## The position, width, and alignment of the label giving the name of the
## speaking character.
define gui.nvl_name_xpos = 345
define gui.nvl_name_ypos = 0
define gui.nvl_name_width = 425
define gui.nvl_name_xalign = 1.0
## The position, width, and alignment of the dialogue text.
define gui.nvl_text_xpos = 375
define gui.nvl_text_ypos = 12
define gui.nvl_text_width = 1500
define gui.nvl_text_xalign = 0.0
## The position, width, and alignment of nvl_thought text (the text said by the
## nvl_narrator character.)
define gui.nvl_thought_xpos = 360
define gui.nvl_thought_ypos = 0
define gui.nvl_thought_width = 1170
define gui.nvl_thought_xalign = 0.0
I followed what Divona posted in post #10 and added the lines to screen.rpy as well as the "icon=" bit to all of my relevant characters. I set the xalign to 0.062 so that the image I'm using for my first character's avatar appears just to the left of their name. After testing my second character I realized that the position of the image is completely independent from the name of the character it's assigned to, so despite all of my characters having names of various lengths, their avatars would all appear at the same x value.
My question is: is there a way to make it so that these icons/avatars will appear x amount of pixels to the left of wherever the first letter of their character's name is on the screen?