Good afternoon.
I’m new to unreal and I’ve been in my head with an internship project for a long time and I’ve been stuck on this problem for at least a year, that’s why I turn to the forum, which I’m sure will be of great help. I expose you my problem and two questions, in case you can advise me.
I would like to have a system in Unreal in which, it is a resource management, in which I want that each element of a list, for example, a list of mines (mines of metal, wood, food, etc.) and in which, each one, has its own characteristics, that is to say, it would be a list inside another list, with for example, its name (to show it later in screen), maximum capacity of storage, that each one stores its sprite to assign it, etc.
All these characteristics, I would like to access it individually in case I have to access any of its data to modify it.
I want that the list of the mines, goes through them and each second, generates the corresponding resource that is assigned to it, that is to say, each second, it will generate the resources of each mine, and each mine, will generate resources faster than another, for example, the wood mine, will give more resources than the metal one, because it is more complicated to obtain (I do not believe that it is very complicated, simply each second, each one will have a float, that will be the greater or less according to the amount that is assigned to it). What would be a list of mines and inside each mine, another list of its characteristics, but it would go through the list of mines and according to the characteristic of each one, it would generate more or less resources.
What I discovered is that the best way to do it is with a map collector (or so I think).
Also I want that these resources are always represented on the screen every second, when these resources are generated.
The other questions are:
-
I would like to learn more about this topic, but I do not know what information to look for or tutorials, I have followed some of unreal, but do not see any of this type of problems, to practice, if you can recommend me something, to help me improve in this field, I would appreciate it, because I did a BP course, but it did not help me much.
-
I also wanted to ask you, how do I know when I have to use BP or code in C++.
Thank you very much in advance and best regards.