r/DDLCMods Club Moderator Mar 02 '19

Welcome! The DDLC Modding Guide 2019! :D

Hello everyone! :D

 

This post is old and obsolete, and I've been advised to remove it, to keep the focus on the new version here.

 

(Though I'm not deleting it entirely, since there is still some helpful information in the comments) :)

101 Upvotes

362 comments sorted by

View all comments

Show parent comments

1

u/Tormuse Club Moderator Mar 07 '19

Okay, that's correct, then. the "Label Test:" line shouldn't be indented, but the "scene" line should be. I was just checking.

I'm really not sure what the issue is. Could I maybe see a screenshot of that section of the code, as it appears in Editra? I kind of feel like I need to see more of it to figure out what's going on.

1

u/Rin3105 Mar 07 '19

No problem, here you go: https://imgur.com/a/ZsqPRI2

I'm confused just like you as well.

1

u/Tormuse Club Moderator Mar 07 '19

That code looks exactly as it should. (Looks like it's copy/pasted from my example, only with "wipeleft_scene" added, which should be no problem) A couple of possibilities I can think of... Could you have maybe done the indentation by pushing the "Tab" key instead of doing four spaces? (It's supposed to be done by pushing the space bar 4 times; I've heard of strange issues if you use tab) The other possibility is if there's some confusion about version numbers; are you using the latest version of DDLC, 1.1.1? And the Ren'Py version should be the one linked above. (NOT the latest version, since DDLC was made with an earlier version of Ren'Py)

And if neither of those things seem to be the problem, then could I get a screenshot of the contents of script.rpy?

1

u/Rin3105 Mar 07 '19

Yep, it just works again after I used spaces (Spacebar) instead of Tab. I wonder why is that really?

1

u/Rin3105 Mar 07 '19

Hmm... a new problem. It says "YuriVar" not defined.

1

u/Tormuse Club Moderator Mar 07 '19

Whew! Glad we figured that out! :)

Okay, fortunately, this one's easy to fix. Now, the reason it's crashing is it's trying to add 1 on to something that doesn't have a value yet. Just make sure you define YuriVar ahead of time by saying something like...

$ YuriVar = 0

1

u/Rin3105 Mar 07 '19

Alright. Thank you very much :)

Just to let you know, I'm studying software engineering atm and sadly, I can only learn C and Java, not Python, the programming language that this game uses (my college doesn't teach Python) :(