• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Lumber system

Status
Not open for further replies.
Ok guys, i need a lumber system so that every 100.000 gold is 1 lumber and if u have an 400k income u get 4 lumber... thats quiet simple the trick on it should be that u also can buy units that cost 50.000 gold when u have 1 lumber so after it u bought the unit u have 50k gold left...

long text short sense: i want the lumber system from multi square defense thats the best for my things i need it for..

would be glad of any help of u

-Tr!KzZ aKa SlyRipper
 
Level 4
Joined
Apr 8, 2005
Messages
70
Just off the top of my head...
Make all units free, have what the cost should be in the tooltip. When you make one, a trigger first checks to see if you have enough gold. If you don't then it checks your lumber. If you can afford it, it removes the required resources from you otherwise it removes the unit.
 
Level 2
Joined
Nov 26, 2005
Messages
7
I don't know about you, but what azalgath said makes perfect sense. I think that was the system Heros and Empires uses, cept HaE uses variables as a resource XD.
 
you surely can make it like this... like 100000 from the first variable is the same like the 1 from the second variable and just check this with the cost of the units.. but like in multi square defense i want it that u also can buy it with the normal lumber and gold... if i made this with variable and make all costless and just use variables i must competly change all on the map and i dont want that and i dont have time to do this.. so no1 that knows how the system from Multi Square Defense works?? i could realy need this :(

c'mon help me... i think the simplest way is via jass but i dot know anything about jass :( if this is possible with riggers too then post it, i already tried a lot of things but none works :(
 
Status
Not open for further replies.
Top