Different Nameboxes for Different Characters

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
roankun
Regular
Posts: 94
Joined: Fri Jun 11, 2010 4:01 am
Projects: RHS
Contact:

Different Nameboxes for Different Characters

#1 Post by roankun »

I'm close to giving up. I've already read Aleema's tutorial on customizing textboxes. And the documentation.

My problem is that I want the textbox/dialog box to remain the same, but I want the nameboxes to be different. I've already tried a lot, none of which have worked. Help...
I don't have any kind words to spare to someone who already has all the reason in the world to feel good about himself.
http://roankun.wordpress.com/

User avatar
Camille
Eileen-Class Veteran
Posts: 1227
Joined: Sat Apr 23, 2011 2:43 pm
Completed: Please see http://trash.moe
Projects: the head well lost
Organization: L3
Tumblr: narihira
Deviantart: crownwaltz
itch: lore
Contact:

Re: Different Nameboxes for Different Characters

#2 Post by Camille »

Code: Select all

define h = Character('Hisako-san', kind=stw, who_kerning=7, who_xoffset=47)
This is what I use for one of the characters in my VN. (whenever a character's name is too long, I change the kerning so it'll fit in the box) You can see that the prefix for changing the namebox is who_. So I'm pretty sure if you want to change the background or whatever, it'd just be who_background and so on.

roankun
Regular
Posts: 94
Joined: Fri Jun 11, 2010 4:01 am
Projects: RHS
Contact:

Re: Different Nameboxes for Different Characters

#3 Post by roankun »

I'm pretty sure I already tried that before... *tries again* Yup, doesn't work. :(
Any other ideas?
I don't have any kind words to spare to someone who already has all the reason in the world to feel good about himself.
http://roankun.wordpress.com/

Post Reply

Who is online

Users browsing this forum: No registered users