Search found 1107 matches

by noeinan
Wed May 20, 2020 12:28 am
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: Accessing Dictionary Using Variable as Key? (solved)
Replies: 2
Views: 96

Re: Syntax Question: Accessing Dictionary Using Variable as Key?

Doing it like that unfortunately also doesn't work, however, I did just figure it out! Been ramming my head against it for a while (not helped by me initially using the wrong search terms) and I eventually found the answer here: https://renpy.org/wiki/renpy/doc/reference/Text#Interpolation So for my...
by noeinan
Tue May 19, 2020 11:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: Accessing Dictionary Using Variable as Key? (solved)
Replies: 2
Views: 96

Syntax Question: Accessing Dictionary Using Variable as Key? (solved)

Hello! I was wondering if there was a way I could replace the index of a dictionary with a variable? To elaborate, here is what I am trying to do: I've got a random generator which creates a dictionary, each index is one character, each with their own set of stats. Normally, if I want to use the gen...
by noeinan
Sun May 17, 2020 8:16 am
Forum: Ren'Py Questions and Announcements
Topic: Modifying Extend to Show All At Once? (solved)
Replies: 6
Views: 137

Re: Modifying Extend to Show All At Once?

Ah, thanks! I didn't realize {nw} was used like this. Much appreciated!
by noeinan
Sun May 17, 2020 2:18 am
Forum: Ren'Py Questions and Announcements
Topic: Modifying Extend to Show All At Once? (solved)
Replies: 6
Views: 137

Re: Modifying Extend to Show All At Once?

What I was showing was just an example, but what I'm doing is a bit more complicated. I have a lot of random events, and sometimes add line extensions based on variables in classes, and not all the lines will show up in the same order every time. It might be plausible to fenagle it with variables, b...
by noeinan
Sun May 17, 2020 1:19 am
Forum: Ren'Py Questions and Announcements
Topic: Modifying Extend to Show All At Once? (solved)
Replies: 6
Views: 137

Modifying Extend to Show All At Once? (solved)

I was wondering if there was a way to modify dialogue extend so that when the player clicks to see the next line, all the extended sections show at the same time as the first line instead of having to click again for each extended bit. Ex. "There was a series of unfortunate events." if weather == "s...
by noeinan
Tue Apr 28, 2020 12:32 am
Forum: Ren'Py Cookbook
Topic: [Tutorial] Customizing the NVL Textbox
Replies: 38
Views: 24577

Re: [Tutorial] Customizing the NVL Textbox

Got an answer to this in another thread, so I'm posting here in case anyone else runs into this problem! gui.nvl_borders = Borders(0, 10, 0, 20) is what's used to change the nvl window padding. Changing the second value in Borders with adjust the height at which the dialogue will start appearing. El...
by noeinan
Tue Apr 28, 2020 12:26 am
Forum: Ren'Py Questions and Announcements
Topic: NVL Thought Ypos Adding Spacing Between Lines? (solved)
Replies: 5
Views: 181

Re: NVL Thought Ypos Adding Spacing Between Lines?

Thanks again, MaydohMaydoh! I really appreciate your help, this one works
by noeinan
Mon Apr 27, 2020 4:23 am
Forum: Ren'Py Questions and Announcements
Topic: NVL Thought Ypos Adding Spacing Between Lines? (solved)
Replies: 5
Views: 181

Re: NVL Thought Ypos Adding Spacing Between Lines?

Thanks for the response! This has really been bugging me but I haven't made any progress so far. After trying out your suggestion, I got an error "Value is not a style." so it seems like maybe this isn't programmed into the new style format? (Unless I just messed up and did something wrong, I just a...
by noeinan
Mon Apr 27, 2020 2:22 am
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: If item in list (contained within a dict) (solved)
Replies: 2
Views: 143

Re: Syntax Question: If item in list (contained within a dict)

Oh, thanks! That worked-- I could swear I tried putting it in quotes before, but maybe I had a typo somewhere. Thank you very much!
by noeinan
Sun Apr 26, 2020 10:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Syntax Question: If item in list (contained within a dict) (solved)
Replies: 2
Views: 143

Syntax Question: If item in list (contained within a dict) (solved)

Hello! I am in the middle of coding some combat/interaction code and ran into a syntax issue. I'm using this code to generate a random NPC for the triggered event: def GenerateMultipleNPCs(npc): ## npc is number of npcs you want to create npc_dict = {} for x in range(npc): ## add new dictionary entr...
by noeinan
Sun Apr 26, 2020 6:35 pm
Forum: Ren'Py Questions and Announcements
Topic: NVL Thought Ypos Adding Spacing Between Lines? (solved)
Replies: 5
Views: 181

NVL Thought Ypos Adding Spacing Between Lines? (solved)

I've been customizing my nvl textbox using information in this tutorial: https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=17232 but I've run into some issues and was wondering if anyone had some insight! This is the code posted in the thread for adjusting the position of the nvl text: Gui.rpy:...
by noeinan
Sun Apr 26, 2020 6:29 pm
Forum: Ren'Py Questions and Announcements
Topic: NVL Textbox Not Accepting Custom Layer
Replies: 1
Views: 157

Re: NVL Textbox Not Accepting Custom Layer

Hm, still working on this one. It seems the nvl textbox is just not accepting the custom layer since custom layers work properly everywhere else. I only found two threads that even somewhat mention someone doing this, but neither seem to apply to my issue... https://lemmasoft.renai.us/forums/viewtop...
by noeinan
Sat Apr 25, 2020 8:24 pm
Forum: Ren'Py Questions and Announcements
Topic: Choices in NVL Textbox? (solved, kinda)
Replies: 1
Views: 102

Re: Choices in NVL Textbox? (solved, kinda)

Alright, I figured out a way to make it work with labels instead of a button, so hyperlink will probably be easier than figuring out how to make choices show up in nvl. Still a bit curious as to how that would work, but for my purposes I guess this is solved!
by noeinan
Sat Apr 25, 2020 7:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Choices in NVL Textbox? (solved, kinda)
Replies: 1
Views: 102

Choices in NVL Textbox? (solved, kinda)

Hello! I found this old thread which lets you put choices in the dialogue textbox, but when I tried with my game set to nvl mode it switches to adv mode for the choice. Is there a way to instead have the choice show up under the dialogue in nvl mode? (I looked at the edited choice screen but I didn'...
by noeinan
Sat Apr 25, 2020 7:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Stop ShowMenu button action from hiding nvl? (solved)
Replies: 1
Views: 92

Re: Stop ShowMenu button action from hiding nvl? (solved)

Ooop, I googled quite a bit before posting but after changing my search terms I solved this for myself. I just need to use Show instead of ShowMenu.

viewtopic.php?t=38826