Hi, I'm fairly new to the SC2 Map Editor (and this community), but I do have a strong programming background, so the first thing that I decided I really wanted to improve on was the default economy; I want to give it more depth but need less supervision, and not need to have visible units carrying the resources in question.
Unfortunately, the editor seems specifically designed to prevent that: There is no (apparent) way to add true custom resources to the game, in the sense that one would have true control over it's behavior. There also does not seem to be a way define a custom variable to store the quantity of resources a player has. My first choice would be to use the existing game infrastructure for handling resources.
Failing that, I looked at a few workarounds, such as resources being represented by items, which are then produced and consumed by structures, but I couldn't find a way to control which unit's inventory the item was in from the data editor; there does not appear to be a way to make a behavior/ability transfer/create/destroy an item. The preceding would be essential for an economy of this type.
The last resort would be to represent the store of resources in an existing field, such as the position of an object. This could be fed through logic to provide the variables needed to create a new resource. Even then, it would be slow, buggy, and extremely difficult to create and maintain. So it's an absolute last resort.
For now, I'm here to see if anyone can some of these problems, and help me get more familiar with the editor; thanks in advance.
0
Hi, I'm fairly new to the SC2 Map Editor (and this community), but I do have a strong programming background, so the first thing that I decided I really wanted to improve on was the default economy; I want to give it more depth but need less supervision, and not need to have visible units carrying the resources in question.
Unfortunately, the editor seems specifically designed to prevent that: There is no (apparent) way to add true custom resources to the game, in the sense that one would have true control over it's behavior. There also does not seem to be a way define a custom variable to store the quantity of resources a player has. My first choice would be to use the existing game infrastructure for handling resources.
Failing that, I looked at a few workarounds, such as resources being represented by items, which are then produced and consumed by structures, but I couldn't find a way to control which unit's inventory the item was in from the data editor; there does not appear to be a way to make a behavior/ability transfer/create/destroy an item. The preceding would be essential for an economy of this type.
The last resort would be to represent the store of resources in an existing field, such as the position of an object. This could be fed through logic to provide the variables needed to create a new resource. Even then, it would be slow, buggy, and extremely difficult to create and maintain. So it's an absolute last resort.
For now, I'm here to see if anyone can some of these problems, and help me get more familiar with the editor; thanks in advance.