Hello, I'm new here and I have a problem when I changed the default font in Options.rpy. The menu and everything else turned out fine except for the characters' names that do not appear. I use MSMINCHO.TTF. I would really appreciate your help! TT-TT
It looks like that... There are four different characters and their names changed to dots, lines and spaces.
Characters' names don't appear after changing default font
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.
- chiBuchiPace
- Newbie
- Posts: 2
- Joined: Sun Sep 28, 2014 5:43 am
- Contact:
- OokamiKasumi
- Eileen-Class Veteran
- Posts: 1779
- Joined: Thu Oct 14, 2010 3:53 am
- Completed: 14 games released -- and Counting.
- Organization: DarkErotica Games
- Deviantart: OokamiKasumi
- Location: NC, USA
- Contact:
Re: Characters' names don't appear after changing default fo
If you want to change only the font of the Character names, add this bit of code right under your Text code in options.rpy:chiBuchiPace wrote:Hello, I'm new here and I have a problem when I changed the default font in Options.rpy. The menu and everything else turned out fine except for the characters' names that do not appear. I use MSMINCHO.TTF. I would really appreciate your help! TT-TT
It looks like that... There are four different characters and their names changed to dots, lines and spaces.
Code: Select all
style say_label:
font "MSMINCHO.TTF"
# bold False #Sometimes a font looks like crap when it's bold. Take off the # to make it NOT bold.
outlines [(1, "#330000", 0, 0)]
## Adds a shadow one pixel to the right and one pixel down
drop_shadow [(2, 2)]
drop_shadow_color "#333333"
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed:
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
Most recent Games Completed:
- The Walk[Psychological][NanoWinter] ~ PG New!
- Trap! [ModernFantasy][VN] ~ PG16
- The Adventures of Prince Ivan [Fant/Adv/VN] ~ PG
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
- chiBuchiPace
- Newbie
- Posts: 2
- Joined: Sun Sep 28, 2014 5:43 am
- Contact:
Re: Characters' names don't appear after changing default fo
It says "Parsing the script failed. File "game/options.rpy", line 149: invalid syntax style say_label -> :" (there's a little red arrow)If you want to change only the font of the Character names, add this bit of code right under your Text code in options.rpy:If you Don't want the outlines or drop shadows on your Names, just add a # in front of the line.Code: Select all
style say_label: font "MSMINCHO.TTF" # bold False #Sometimes a font looks like crap when it's bold. Take off the # to make it NOT bold. outlines [(1, "#330000", 0, 0)] ## Adds a shadow one pixel to the right and one pixel down drop_shadow [(2, 2)] drop_shadow_color "#333333"
But it seems to me that character names really don't appear when I use MSMINCHO, I tried changing font to another and the character names appeared.
Re: Characters' names don't appear after changing default fo
Put this code at the very beginning of the script in options.rpy or at the very bottom of it to be sure that it wouldn't be inside of init python block (where all the usual stuff is).
Who is online
Users browsing this forum: Ahrefs [Bot], Nozori_Games