Shopping Basket
Your Basket is Empty
There was an error with PayPalClick here to try again
CelebrateThank you for your business!You should receive an order confirmation from Paypal shortly.Exit Shopping Basket


January 23 2019

Posted on 23 February, 2019 at 10:10

While learning about the GooglePlay setup featuers in Unity, i found that i need to build a test build to see if my functions are working correctly, well then i was thinking i need a way to utilize the pre written code for using the PlayStore. The got me thinking i need quests to activate the achievements and goals to reach for those achievements to be received. That way i can utilize the PlayStore Points system and leader board system and make people have competition. Wile figuring that out i decided to created the base work for all the dialogue and quest systems. This part of the pack will be clean and easy to use for developers. Next is editors to create quest lists of quests with goals, that can be loaded from resources at runtime, and minimal inspector editing is required.


How it works so far:


On the Awake Function a dialogue manager and a Quest manager, both populate the list's based on the quest managers List of folder names. This list you edit in the inspector by filling in each string in an array of the names of the folders found in "/Resources/Quests/QuestTypes/" + ({QuestsFolderNamesByQuestType}/ {QuestName}) and within those folders needs to be a folder called Quests, and one called Dialogue. The editor (When creating new quest) will add a new asset file to both folders for each quest. one for the Quest itself, and the other is the dialogue script for that quest.


Also in the awake it checks if that list of names has anything containing within it, and if it is empty do nothing at all, otherwise for each string in the list, fill a list to read from later of all the assets in that folder with that string name. Next it Takes those strings and uses them for a Toolbar style button system. Each string creates a category and each category creates a new button on the tab. now we can change what category of quest we want to view easily later. next with the files that were loaded from the folders it takes all the names of all the quests and adds those to a list to read from later. It then creates 4 lists starting out all as default, but by end of Awake function all 4 are different.

Reason is we need to make sure all data is there and remove what isn't needed after.

The 4 lists are ListAsset of Quest lists,

-1 for all quests (Default reference for resetting a quest),

-2 for creating a locked quest list (Completed and locked for w/e reason (Requirement Script), and

-3 a list that changes on runtime (Foe incomplete quests)

-4 a second list that changes on runtime (For Completed Quests))

List 1: Simply just populates all quests in resources,

List 2: Checks is quest is complete or locked based on the PlayerPreff's setting,

List 3: Checks is quests is completes and locked, and gets changed in update function, as quest's get completed. When a quest is completed it is removed from list. first at awake and any time during Update it updates the list of current quests. by A unlocking next quest and B moving completed quest to the 4th list Will do this on awake when checking also.


-4 is just a placeholder for the completed quests

if Completed in update and is a repeatable quests, 1st time, activate any Achievements on google play and prizes are given to the player, then remove the reward and add it to players item list, set a bool to true saying that achievement has been set, so next time we come into awake we can change that repeatable quests settings.


Quest has:(Gets changed on update and awake)

-A firstMoneyPrize (received when activating a, leave empty if not applicable),

-A Starting Item (quest Can be used to give a player an item to do quest, leave empty if not applicable),

-A RepeatablePrize (if player finished quest a second time), -A MainPrize (For when quest is complete First time) this contains its own prizeMoney variable and is removed and replaced by the RepeatablePrize on mission complete,

-And a Dialogue script for holding the conversations of that quest.


There are a number of OnOff bools for various things such as,


-is the quest locked,

-is the quest completed,

-is it enabled,

-is it repeatable,

-is it in the que


Quest also has:


-A QuestGiver script and a QuestComplete Script, these are used for activating and deactivating a quest,





-Enum for quest type, Used to toggle bool

-Enum for repeatable, Used to toggle bool

-Enum for finished, Used to toggle bool


Dialogue is very similar in how it works in the awake and update, accept it grabs the dialoge scripts from the quest. in update the dialogue lists do what ever the quests lists states are instead of setting themselves.


It also controls all dialogue box animations and sentences in each dialogue script by first playing the 'OpenTextBox' animation, then start to display the text in the form of a type-writer style text (1 letter at a time based on the speed) once animation is complete. theres a public button function for Starting convo, skipping to next sentance in convo, and a function to end the convo. if Quest Complete remove dialoge script from list.


Google play can only be tested on build and i'm not ready to do that just yet, when i do i can test to see if quests are completing and activating Achievements to Google play.


still need to add Achievements script, create an achievements list for PlayStore to load, Match the data On the GooglePlay Developers Account to it, build the editor to build, edit, and save the assets, and then make a hand-full of the test quest's for seeing if this part of the pack works as expected. so still some work needs to be done.


That's the update for today,

Thamas Bell @ ZeredaGames

Categories: None

Post a Comment


Oops, you forgot something.


The words you entered did not match the given text. Please try again.


Reply MarkduM
16:36 on 9 December, 2022 
best brand metformin
Reply hermes outlet
2:53 on 9 December, 2022 
I must convey my admiration for your kind-heartedness giving support to persons who really need assistance with this area. Your very own dedication to passing the message all-around ended up being extremely significant and has in most cases made workers just like me to arrive at their endeavors. Your amazing warm and friendly guide denotes so much to me and still more to my colleagues. Thanks a lot; from all of us.
hermes outlet
Reply golden goose
2:52 on 9 December, 2022 
I'm also writing to make you understand what a really good discovery my wife's princess obtained checking your web site. She came to find so many things, with the inclusion of what it's like to possess a wonderful giving style to make many more without problems fully understand several extremely tough issues. You really did more than readers' desires. I appreciate you for churning out those helpful, trustworthy, educational and also cool tips about this topic to Janet.
golden goose
Reply TommyVop
22:31 on 7 December, 2022 
prozac 40mg
Reply kawhi leonard shoes
19:57 on 7 December, 2022 
Thank you for all of your work on this blog. Kim enjoys working on investigation and it is easy to understand why. My spouse and i notice all concerning the lively tactic you create rewarding ideas through the web site and even recommend contribution from some other people on that situation plus our favorite princess is now understanding a lot of things. Enjoy the rest of the year. You have been doing a superb job.
kawhi leonard shoes
Reply off white outlet
19:57 on 7 December, 2022 
Thanks for your own efforts on this web site. My daughter really likes working on internet research and it's really simple to grasp why. All of us hear all about the dynamic tactic you give valuable guides on the web blog and improve contribution from the others about this area of interest and our favorite child is now understanding a lot. Take pleasure in the rest of the year. You have been conducting a remarkable job.
off white outlet
Reply jordan shoes
19:57 on 7 December, 2022 
I and my friends have been reviewing the excellent advice located on your site while unexpectedly developed an awful feeling I had not thanked you for those secrets. Most of the boys are actually for that reason warmed to study them and now have extremely been making the most of these things. Appreciate your getting very considerate and also for making a choice on these kinds of really good subjects millions of individuals are really desirous to discover. Our own sincere regret for not saying thanks to earlier.
jordan shoes
Reply goyard outlet
19:57 on 7 December, 2022 
I am glad for commenting to let you know of the helpful discovery my wife's princess developed reading your site. She figured out too many details, which include how it is like to have an amazing giving spirit to make many more really easily know precisely a variety of extremely tough matters. You undoubtedly exceeded our own desires. Many thanks for distributing such practical, healthy, educational and also cool tips about this topic to Janet.
goyard outlet
Reply yeezy boost 350
19:56 on 7 December, 2022 
I must express my appreciation for your kindness for folks who should have help with your issue. Your very own dedication to passing the message along appears to be exceptionally insightful and have continuously made professionals much like me to realize their pursuits. Your warm and friendly report implies a whole lot a person like me and a whole lot more to my peers. Warm regards; from each one of us.
yeezy boost 350
Reply yeezy 380
14:11 on 6 December, 2022 
My wife and i were now thankful when Ervin could round up his investigations from the precious recommendations he got while using the web site. It's not at all simplistic to just be releasing information and facts which usually people could have been selling. And now we fully understand we need the website owner to thank for that. The illustrations you made, the simple site menu, the relationships you will help to promote - it's everything fabulous, and it's really leading our son in addition to our family recognize that this topic is fun, which is certainly truly fundamental. Thanks for all!
yeezy 380
Reply supreme
14:10 on 6 December, 2022 
I not to mention my guys were actually looking through the good techniques found on your web blog and suddenly developed an awful feeling I had not thanked the blog owner for those secrets. All of the people came consequently very interested to see all of them and now have certainly been taking advantage of those things. I appreciate you for actually being well helpful and for getting this kind of notable themes most people are really desperate to learn about. My sincere apologies for not saying thanks to sooner.
Reply air jordan shoes
14:10 on 6 December, 2022 
I must show some thanks to the writer for rescuing me from such a issue. After scouting through the the web and getting basics which are not powerful, I believed my entire life was gone. Living without the answers to the issues you've fixed by means of this post is a serious case, as well as those which might have in a wrong way affected my career if I hadn't come across your web site. Your actual know-how and kindness in controlling all things was excellent. I'm not sure what I would have done if I hadn't come across such a subject like this. I can also now relish my future. Thanks a lot very much for this specialized and amazing guide. I will not hesitate to endorse the blog to anybody who will need counselling on this problem.
air jordan shoes
Reply kobe sneakers
14:09 on 6 December, 2022 
Thank you so much for giving everyone an extraordinarily terrific possiblity to read articles and blog posts from this blog. It is often very sweet plus jam-packed with amusement for me and my office mates to visit your web site no less than three times in a week to read the fresh things you will have. And lastly, I'm so always motivated for the beautiful principles you give. Certain 4 tips in this article are unquestionably the simplest we've had.
kobe sneakers
Reply Daviscreno
15:56 on 5 December, 2022 
antibiotic cipro
Reply bape clothing
8:57 on 5 December, 2022 
I really wanted to post a brief comment in order to thank you for these fantastic ways you are posting on this website. My time intensive internet investigation has now been paid with reliable tips to talk about with my friends and family. I 'd believe that many of us site visitors are unequivocally endowed to live in a decent site with many lovely individuals with useful ideas. I feel pretty fortunate to have used your webpage and look forward to plenty of more entertaining moments reading here. Thanks a lot again for a lot of things.
bape clothing
Reply off white jordan
8:57 on 5 December, 2022 
Thank you a lot for providing individuals with an extraordinarily spectacular chance to read articles and blog posts from here. It's usually very beneficial and as well , jam-packed with a great time for me and my office friends to search your blog at a minimum 3 times weekly to study the new secrets you have. Not to mention, we are always motivated with your mind-boggling inspiring ideas served by you. Some 2 points on this page are without a doubt the most suitable we have had.
off white jordan
Reply jordans
8:57 on 5 December, 2022 
I have to show my thanks to the writer for rescuing me from such a matter. Just after browsing throughout the internet and finding techniques that were not helpful, I believed my life was gone. Existing without the presence of solutions to the issues you have fixed as a result of the posting is a critical case, and the kind that might have badly affected my career if I hadn't noticed your blog. Your primary training and kindness in playing with all things was priceless. I'm not sure what I would have done if I had not come across such a solution like this. I am able to at this time look forward to my future. Thanks for your time very much for the impressive and result oriented guide. I will not be reluctant to propose your blog to anyone who should get support about this matter.
Reply hermes birkin
8:57 on 5 December, 2022 
I definitely wanted to compose a word to be able to say thanks to you for those precious concepts you are sharing at this site. My prolonged internet search has at the end been rewarded with extremely good suggestions to exchange with my companions. I would admit that many of us website visitors are unquestionably lucky to dwell in a magnificent network with many outstanding individuals with helpful tips. I feel very happy to have encountered your entire website page and look forward to really more fabulous moments reading here. Thank you once again for a lot of things.
hermes birkin
Reply supreme clothing
20:35 on 4 December, 2022 
I simply wanted to construct a brief message to be able to express gratitude to you for these splendid solutions you are giving on this website. My extensive internet search has at the end of the day been honored with good facts and strategies to talk about with my great friends. I 'd mention that many of us website visitors are rather blessed to live in a really good community with very many awesome individuals with beneficial tips and hints. I feel very much privileged to have encountered your entire website and look forward to some more enjoyable moments reading here. Thanks once again for everything.
supreme clothing
Reply jordan 12
20:35 on 4 December, 2022 
Thanks so much for giving everyone a very superb possiblity to read critical reviews from this blog. It's always so cool and also jam-packed with a good time for me personally and my office fellow workers to search your site nearly thrice weekly to study the newest secrets you have got. And lastly, I'm also actually impressed considering the fantastic knowledge you give. Selected 4 tips in this posting are ultimately the most impressive I've ever had.
jordan 12