- Joined
- Oct 15, 2008
- Messages
- 16
hmm thinking about it....
i gained only one solution from myself... create some dummy doodads around that sawmil....
Well, you can make a "dummy" unit (a unit that has no stats and no model) and just remove it once it's finished training, and then just increase its production.
Thx Angry_Bovine this sounds to me like a real solution
anyway i think i will just change my idea since this is too much work
Okay Here is my new idea:
Lumbermill which generates 0 wood in the beginning then
you click an "upgrade" and for 60 gold it generates 10 wood every 5 seconds,
for 60 gold it will be upgraded to generate 20 wood every 5 seconds
... until lvl 5 where it generates 50 wood every 5 second
but i dont want this to be a global upgrade, so that every lumber mill has
to be upgraded to level 5
I'm pretty new to the world editor so I'm open to every idea
Floating text with upwards velocity. Make it have a fade time of ~2 sec, and color it green.
This is a good solution. Just trigger the wood gain with the floating text. Use a integer as a counter, to determine the wood gained/amount floated.
Oh, just so you know, there's a way that'll make that look more elegant: You only have to add lumber to the player once. Take the sum of all the lumber mills (multiplied by the correct coefficients you wish to assign) and then add it to the player all at once. Neat code is easier to read, and thus easier to fix when the time comes.