How to disable Namebox? [answered]
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.
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.
- AsHLeX
- Miko-Class Veteran
- Posts: 556
- Joined: Wed Dec 25, 2013 1:09 pm
- Completed: Starlight Dreamers, Mysterious Melody, Town of Memories, Marked, To Fly, The Change, Him From The Past, A Forgotten Memory
- Projects: Cafe Mysteria
- Location: Malaysia
- Contact:
How to disable Namebox? [answered]
Hey guys! Kind of a silly question here but I'm not used to the new Ren'py GUI. How do I disable the namebox? I want both the character name and the dialogue to just be in the same window, but I can't figure out how to do that since the namebox is enabled by default. Thanks!
Last edited by AsHLeX on Thu Oct 04, 2018 10:27 am, edited 1 time in total.
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: How to disable Namebox?
I can think of two ways to do it:
1. Go to screens.rpy and search the "screen say(who, what):" line. The original screen has a window containing another window with the namebox and the text of the dialogue. You can change it, deleting the window of the namebox and adding a vbox. For example (code not tested):
2. Define your characters with None as the name and add a what_prefix with the actual name:
https://renpy.org/doc/html/dialogue.html#Character
1. Go to screens.rpy and search the "screen say(who, what):" line. The original screen has a window containing another window with the namebox and the text of the dialogue. You can change it, deleting the window of the namebox and adding a vbox. For example (code not tested):
Code: Select all
screen say(who, what):
style_prefix "say"
window:
id "window"
has vbox
if who is not None:
text who id "who"
text what id "what"
Code: Select all
define e = Character(None, what_prefix="{b}Eileen{/b}\n")
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
- AsHLeX
- Miko-Class Veteran
- Posts: 556
- Joined: Wed Dec 25, 2013 1:09 pm
- Completed: Starlight Dreamers, Mysterious Melody, Town of Memories, Marked, To Fly, The Change, Him From The Past, A Forgotten Memory
- Projects: Cafe Mysteria
- Location: Malaysia
- Contact:
Re: How to disable Namebox?
Hey, xavimat! Thanks for your help!
The first option works, but how do I customize where I want the name to be (like the location). It seems to be on the left in the middle by default.
Thanks!
The first option works, but how do I customize where I want the name to be (like the location). It seems to be on the left in the middle by default.
Thanks!
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: How to disable Namebox?
Apply position properties to the line text who id "who"
https://www.renpy.org/doc/html/style_pr ... properties
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Who is online
Users browsing this forum: Ahrefs [Bot]