So to start with my goal is to make a worker be able to pickup certain types of plants and in turn replant those plants.
How I've approached the problem: Basically what I would like to do and partly already done is make the adults plants a pick up item that replenishes charges that are in turn used to build more of the specific plant that was picked up.
So far there are two problems with this...
1)
I have the building cost set for the plants as charges but those charges aren't specific to the type of plant I'm building. Thus when I pick up a plant it gives charges to every type of plant/building and then when I build a specific kind of plant (aka build a type of building) it uses up charges from all my building.
So my question on this is; is there a way to make building cost charge specific to different types of charges?
Also note: Resources are pretty much out at this point because I have about 10+ different types of plants that need to cost different resources...
2)
My second problem is that the charges are worker specific, for example if I have one worker pick up 3 plant seeds (aka charges) they only apply to that worker, I would like them to be universal across all my workers.
Now what I would like to do, which I know is going to be a pain if it is at all possible, is I would like to use a building that displays all the charges that player has for different plants, the charges would also be displayed on the workers as well. Then when a worker would use a charge to build something it would take a charge out for all of the workers.
Anyway I'm open to approaching this problem differently but any input is very much appreciated at this point :)
To display the charges on your building, you could give the ability to the building and put it on the Command Card. Just make sure the ability Arc is set to 0 and that the building cannot turn, otherwise it will be able to plant if it doesn't have to move/within the Arc(if your arc is set to 15 or whatnot).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So to start with my goal is to make a worker be able to pickup certain types of plants and in turn replant those plants.
How I've approached the problem: Basically what I would like to do and partly already done is make the adults plants a pick up item that replenishes charges that are in turn used to build more of the specific plant that was picked up.
So far there are two problems with this...
1)
I have the building cost set for the plants as charges but those charges aren't specific to the type of plant I'm building. Thus when I pick up a plant it gives charges to every type of plant/building and then when I build a specific kind of plant (aka build a type of building) it uses up charges from all my building.
So my question on this is; is there a way to make building cost charge specific to different types of charges?
Also note: Resources are pretty much out at this point because I have about 10+ different types of plants that need to cost different resources...
2)
My second problem is that the charges are worker specific, for example if I have one worker pick up 3 plant seeds (aka charges) they only apply to that worker, I would like them to be universal across all my workers.
Now what I would like to do, which I know is going to be a pain if it is at all possible, is I would like to use a building that displays all the charges that player has for different plants, the charges would also be displayed on the workers as well. Then when a worker would use a charge to build something it would take a charge out for all of the workers.
Anyway I'm open to approaching this problem differently but any input is very much appreciated at this point :)
So your plants are items?
1) Your Ability - Info - Charge - Link is the same, make it different.
2) Your Ability - Info - Charge - Location need to be set to Player
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@LitePollution9: Go
To display the charges on your building, you could give the ability to the building and put it on the Command Card. Just make sure the ability Arc is set to 0 and that the building cannot turn, otherwise it will be able to plant if it doesn't have to move/within the Arc(if your arc is set to 15 or whatnot).