Page 11 of 26

Re: ORK integration

Posted: Thu May 28, 2020 12:19 pm
by Talairina
Using Save Point it has the same issue. I'm not sure what's going on.

Re: ORK integration

Posted: Thu May 28, 2020 1:31 pm
by Tony Li
Well at least it's consistent, which will help narrow down the issue.

In your main menu / start screen scene, does your Quest Machine GameObject have Save System components? For example, this is the Quest Machine GameObject in the example's "0 Main Menu QM" scene:

qmORKSave.png
qmORKSave.png (81.39 KiB) Viewed 62136 times

Re: ORK integration

Posted: Thu May 28, 2020 1:40 pm
by Tony Li
Please feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look directly. (Zip up Assets, Packages, and ProjectSettings, and include steps to reproduce the issue.)

Re: ORK integration

Posted: Fri May 29, 2020 6:19 pm
by Talairina
So I started a new Project. Imported ORK, ORK's completed Tutorial resources, Quest Machine, Quest Machines ORK Support and finally the QM ORK Demo Files. I then started the game and everything works fine. It saves the quests correctly. So it's an issue within my Project itself. My Quest Machine object is set up exactly like the image above.

Re: ORK integration

Posted: Fri May 29, 2020 6:56 pm
by Tony Li
If you tick the Debug checkboxes on Quest Machine's save system components, it might give you enough information to identify the issue in your project.

If you don't see any logs at all, then the save system components aren't being called. Make sure you're using QuestJournalFor ORK, QuestGiverForORK, etc. The components with "ForORK" at the end tie into ORK's save system.

If none of that helps, you're welcome to send a reproduction project to tony (at) pixelcrushers.com

Re: ORK integration

Posted: Fri May 29, 2020 9:33 pm
by Talairina
So I'm seeing no calls from the Save System with Debug attached. I double checked that everything was attached correctly and I believe it is. I ticked Debug on the test project I made as mentioned above and whilst that work's fully, it does not show any Debug logs when asked to.

Re: ORK integration

Posted: Fri May 29, 2020 10:09 pm
by Tony Li
Can you post some screenshots of your setup? You can email them to tony (at) pixelcrushers.com if you prefer.

Re: ORK integration

Posted: Mon Jul 13, 2020 4:19 am
by dlevel
So, I'm trying to give another EXP reward to player which is called DP, I can create a similar ORKExpRewardSystem class and replace what is necessary, but then I see the ORKGiveExpQuestAction class which is specific to EXP (which btw it's statusValue[11] while my EXP is on 12 id in ORK, does that mean I need to change it correct?

Should I also create a new ORKGiveDPQuestAction and ORKGiveDPQuestActionEditor ?

It would really be helpful if this one was more modular, in the ORKExpRewardSystem class having an ID and name of the status value so we can replace and have multiple EXP rewards if needed and not need to create these classes all over, also if someone like me has the EXP in another ID :)

Re: ORK integration

Posted: Mon Jul 13, 2020 1:20 pm
by Tony Li
Good ideas! I'll make it modular. I'll try to get the integration updated by the end of tomorrow.

Re: ORK integration

Posted: Mon Jul 13, 2020 10:22 pm
by Tony Li
Hi,

Please give this a try. To maintain compatibility with existing quests, it uses the same name ("ORK Give Exp" quest action) but you can now specify any status value ID.

QM_ORKSupport_2020-07-14.unitypackage
[EDIT: Updated]