Bronya-Rand / DDLCModTemplate2.0

A new template for producing DDLC mods that adhere to Team Salvato's guidelines based off DDLC itself.
58 stars 18 forks source link

name 'Achievement' not defined #71

Closed StriderYAA closed 1 year ago

StriderYAA commented 1 year ago

Used Ren'py version: 8.1.1 Used Template: DDLCModTemplate-4.2.2-Py3

Hey, sorry for bothering, I'm predicting that I missed a crucial step.

I had a break from modding DDLC, so I decided to try out the newer Mod Templates. While downloading, I took notice that the Extra's were now in a different package, so I downloaded that as well.

After putting "audio.rpa", "images.rpa" and "fonts.rpa" to the now unzipped Mod Template, everything worked as expected. Next, I attempted to install the Extras (Only achievements, gallery and the extras screen).

The "readme.md" file reads: "For most code here, all you need to do is copy the respective feature files inside their folders to your projects' game folder."

So, I checked if any of the three had extra instructions, none of them turned out to have any, so I just put "achievements.rpy", "gallery.rpy" and _"extrasscreen.rpy" directly into the "game" folder in the template. When I tried to run the mod again an execption occured. Full traceback is attached. traceback.txt

Then I tried to run it without "achievements.rpy" and game started but the extras menu didn't show up.

I hope I gave enough information, and again sorry to bother.

Bronya-Rand commented 1 year ago

Will update comment possibly later but in regards to this, you also would have needed to activate some stuff in 0imports.rpy. Will re-see when I get the chance

StriderYAA commented 1 year ago

Ah, alright. I'm waiting.

Bronya-Rand commented 1 year ago

Patched 0imports.rpy to fix achievement issue. Will be part of 4.2.3 when all other issues clear up from the Issue list.

StriderYAA commented 1 year ago

Alrighty, thanks, man. Have a good day.