many ressources

Status
Not open for further replies.
Hello
instead of having primary ressources and secondary ressources, i will need more ressources, AND IT'S POSSIBLE, DON'T TELL ME IT'S IMPOSSIBLE! I ONLY NEED THE TRIGGER!
So... here is ressources that I need:
Rock(2)
wood(2)
Gold(1)
Bronze(1)
Iron(1)
Steel(1)
Copper(1)
Silver(1)
Oil(1)
Uranium(1)
tin(1)
tar(2)
Rubber(2)
Coal(1)
Natural Gas(1 + 2)
That's all (I know it's a lot^^) (1= mine , 2 = harvest like lumber)
Here is what I need:
First of all, I need a multiboard where all of these ressources appear with the amount owned by the player (you won't see the amount of other player)
next: I need a way that when a ressource is harvested from a mine, it will be added to tghe board, not to the gold and lumber board at the top of the screen.
next: I need a way to make these ressource used.
Example: If a unit require 25 wood, 60 rocks, and 15 gold, it will be written in its description. then, when the player click on the icon, a Trigger will be activated. It will check the amount of ressource owned by the player. If the player doesnt posses enought ressource, the unit will not begin to be trained, same for the building. If the player has enough ressource, the player will choose where the building must be placed and THEN, the ressource will be substracted. if it's a unit, ressource will be substracted automatically.
If the unit is cancelled or the building is cancelled, in both cases, the player will receives back 75% of ressources used.

I know that it will require a lot of trigger but i'm ready to do these trigger.
to simplify your task of helping me and to help me to understand, I will give you two example and you will give me all trigger that I need to make these unit. Then,I will be ok for ALL unit i have to make.

A Barracks require this :
1500 wood, 500 rocks, 800 gold 850 bronze, 500 Iron, 300 steel, 400 Copper 1000 silver, 200 oil, 50 uranium, 700 tin, 250 tar, 400 rubber, 600 coal and 600 natural gas.
What trigger do I need for this building when I Begin to build it and when I cancel it before the construction is ended.

Second example:
Toxic Soldier require this:
200 gold, 500 bronze, 400 Iron, 300 steel, 500Silver, 40uranium, 100 rubber.
What trigger do I need for this unit when i begin to train it and when I cancel it before the training if ended.

Oh and another thing, can you tellme how to make the multiboard and what is the trigger to make a worker harvesting many ressources. When it return it to the base, the ressource is added to the multiboard, depending of what ressource has been harvested. (only for remember)

I know it's a lot of work, but if you make a tutorial, it will help A LOT of people.
Thanks a lot^^
 
Level 4
Joined
Jun 26, 2010
Messages
73
sadly, you can't make a gold mine give you anything but gold.
you can't make a tree give you anything but lumber.

you are going to have to go through an elaborate process to make this.

so tell me what you know about arrays/ loops/ multiboards/ abilities. Maybe then i can figure out who i am working with.

if you dont mind handing the map over so i can look at, i will be able to better figure out a way to accomplish all of this.

i know how we can do every part of this, but i won't do it for you.
 
Status
Not open for further replies.
Top