Search found 36 matches
- Sun Jul 29, 2012 1:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Complicated Points-Based Endings... (cont.)
- Replies: 12
- Views: 1478
Re: Complicated Points-Based Endings... (cont.)
You guys are the best! I knew it was worth posting here~ Just for clarification, for anyone reading this with the same question, the solution is just as Levrex said: just avoid using elifs since the engine would skip everything else if nothing is met. So one sample of the code would be this: if 80 >...
- Sun Jul 29, 2012 10:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Complicated Points-Based Endings... (cont.)
- Replies: 12
- Views: 1478
Re: Complicated Points-Based Endings... (cont.)
Oh, wait, I see what's happening. You have a chain like "if refinement >= 80:", "elif 80 < refinement >= 50: ", "else:". But one of the sub-conditions fails, so you end up falling through past the "else:" (which I'm guessing just happens to contain your "best" ending). Basically, you don't want to ...
- Sun Jul 29, 2012 10:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Complicated Points-Based Endings... (cont.)
- Replies: 12
- Views: 1478
Re: Complicated Points-Based Endings... (cont.)
Nothing is wrong with the values, it is just an improper "elif" use (of course, "<"-s too, but she (Sanae is a good girl, am i right?) corrected them). By the way, Ziassan, there is some good music you have there. A Higurashi Kai feel to them for me. Maybe just a perception. === Just to remind, use...
- Sun Jul 29, 2012 8:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Complicated Points-Based Endings... (cont.)
- Replies: 12
- Views: 1478
Re: Complicated Points-Based Endings... (cont.)
Are you sure the variables are actually set to what you think they are? (Make sure you aren't loading from a save.) On a side note, "80 < charisma >= 60" looks like a typo; are you sure you didn't mean "80 > charisma >= 60" or something like that? Thank you for pointing out the typo! D'oh me! I wen...
- Sun Jul 29, 2012 6:41 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Complicated Points-Based Endings... (cont.)
- Replies: 12
- Views: 1478
Re: Complicated Points-Based Endings With Numerous Factors
Or just don't use "and", because that's a bad syntax. And it'll look like this. if refinement >= 80: if 70 < social_reputation >= 50: if charisma: Out of curiosity, how would this work with an elif statement? Would it be like this? elif refinement >= 80: elif 70 < social_reputation >= 50: elif char...
- Sat Jul 28, 2012 4:58 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Complicated Points-Based Endings... (cont.)
- Replies: 12
- Views: 1478
[SOLVED] Complicated Points-Based Endings... (cont.)
... With Numerous Factors Hi! Okay, I'm making a VN with an ending system similar to Princess Maker. Basically, certain amount of points with give you certain endings. If you want an example of how those endings work, click here . Now the tutorial for the Points Based system has been very helpful, ...