Search found 8 matches

by JanusP
Thu Feb 04, 2021 10:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Re: Wrongly shown variables and display hidden variables

Whoops, I meant to say screen choice(items): style_prefix "choice" vbox: for i in items: if " (disabled)" in i.caption: $ caption = i.caption.replace(" (disabled)", "") textbutton caption action None else: textbutton i.caption action i.action Although what yo...
by JanusP
Thu Feb 04, 2021 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Re: Wrongly shown variables and display hidden variables

If you want it to be centered and look like the default choice GUI, keeping the vbox would've been better: screen choice(items): style_prefix "choice" vbox: for i in items: if " (disabled)" in i.caption: $ caption = i.caption.replace(" (disabled)", "") textbu...
by JanusP
Thu Feb 04, 2021 6:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Re: Wrongly shown variables and display hidden variables

You'll see in your code you have vbox: for i in items: textbutton i.caption action i.action followed by your disabled code, but also window: style "menu_window" xalign 1.0 yalign 0.5 vbox: style "menu" spacing 2 for caption, action, chosen in items: followed by your disabled cod...
by JanusP
Wed Feb 03, 2021 3:11 am
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Re: Wrongly shown variables and display hidden variables

Well first of all, when I was suggesting adding a separate disabled style, I meant specifically the ones with (disabled) in them so they could be styled differently from normal choice buttons. So past the 'else' statement they'd go back to normal styles. It now seems like what you're disliking is n...
by JanusP
Tue Feb 02, 2021 6:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Re: Wrongly shown variables and display hidden variables

...I'm not sure I understand what you're seeing vs. what you want. Can you better explain what you mean by this translucent overlay, maybe show a picture? Maybe share the code you're using for the choice screen styles? In the script, its a normal choice format This is what it looks like: https://im...
by JanusP
Mon Feb 01, 2021 10:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Re: Wrongly shown variables and display hidden variables

Are you saying choices with (disabled) are using the insensitive button text color but you want them to use the normal text color? You could style them like normal text instead, just change the style from 'menu_choice' to 'menu_disabled_choice' or whatever and make sure not to give the menu_disable...
by JanusP
Sun Jan 31, 2021 10:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Re: Wrongly shown variables and display hidden variables

Python is case-sensitive and you use both "Disabled" and "disabled" in different parts of the code. You should change them all to be the exact same case (all "disabled" or all "Disabled"). Your other problem is coming from trying to use [] syntax for interpol...
by JanusP
Sun Jan 31, 2021 12:54 am
Forum: Ren'Py Questions and Announcements
Topic: Wrongly shown variables and display hidden variables
Replies: 15
Views: 1068

Wrongly shown variables and display hidden variables

Display shows (disabled) text when its not supposed to show and be system indicator only. For the title, it shows as [d20roll] and [TD] instead of the info in variables. Trying to make it show assigned input variables. label start: label choice1: "Congratulations to your initiation, there are b...