Hi, how would i go about starting a simple crafting system to make recipes for a cooking game. It doesn’t have to be anything more than for example Item 1 + 2 = item 3 and Item 4 + 5 = Item 9, then Item 3 + 9 = Item 12.
Thanks!
Hi, how would i go about starting a simple crafting system to make recipes for a cooking game. It doesn’t have to be anything more than for example Item 1 + 2 = item 3 and Item 4 + 5 = Item 9, then Item 3 + 9 = Item 12.
Thanks!
Well it entirely depends on how complex you want o make it. For instance I have a package of code I want to submit soon that has 4 different “infinitely” expanding weight limited inventory arrays. They can categorize alphabetically and find out exactly what items they contain. That’s meant for a completely different game, but what you can do, very very simple in fact, is literally… addition and subtraction.
Let’s say you do all of this in your character BP
If you want to have all of this done in UMG you can essentially tie all of it to button actions and constantly refresh whenever you produce something. It can also tie into your integer values for the items you have to give you a good visual representation
In my head its around 20 items that can be combined in different ways to make 40 or so final items, so 2 layers of combinations i think.
20-40 variables isn’t a lot. The array systems I build are for hundreds of items, but having 20-40 variables for items in a character BP isn’t bad at all, and it’ll save you a lot of time rather than trying to get arrays up and running
can you pls make a tutorials on this but in widget blueprint.the exact thing in widget blueprint!!