• 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.

How can this be done?

Status
Not open for further replies.
Level 6
Joined
Jun 23, 2005
Messages
195
I need to gain lumber instead of gold when acotyle(s) are on gold mine. I tried to somehow detect when it mines the gold, but couldnt do it...
 
Level 32
Joined
Oct 23, 2006
Messages
5,291
It may not be possible to edit Gold Mines or the Gold Mine ability to provide lumber instead of gold.

Try copying a tree destructible, applying the gold mine model to it, and give it the maximum hit points; also add the Harvest (Ghoul's Lumber) ability to the Acolytes. Adjust each and every object editor field that causes conflicts.

This (potential) solution does not take into account haunting/summoning the "Lumber Mine." You may need to do some fancy trigger editing to make everything work properly.
 
Level 6
Joined
Jun 23, 2005
Messages
195
It may not be possible to edit Gold Mines or the Gold Mine ability to provide lumber instead of gold.

Try copying a tree destructible, applying the gold mine model to it, and give it the maximum hit points; also add the Harvest (Ghoul's Lumber) ability to the Acolytes. Adjust each and every object editor field that causes conflicts.

This (potential) solution does not take into account haunting/summoning the "Lumber Mine." You may need to do some fancy trigger editing to make everything work properly.

thx for suggestion, alltought that aint quite what i need, because i want the unit to stay at the sumoning thingy and not return it (i dont need the haunting lumber mine thingy anyway, because i create it with trigger)...i quess ill just have to think of something
 
Level 12
Joined
Feb 1, 2007
Messages
1,092
Not at all a good idea, but just use a periodic event that sets the current gold amout to a variable, removes that amount from the player's gold, and gives that much as wood to the same player. You will need as many variables as you have players though, or jsut use an array. Like is said, not good because it might casue lag.
 
Level 5
Joined
Jan 23, 2005
Messages
124
Try swapping gold with lumber? Just change the icon and tooltip in gameplay constants.

This may not be a real solution, but there aren't really much of any other way.
That seems like a harmless easy way to do it.

You could use the Wisp's gather lumber ability and just replace the model of the tree with a gold mine.
He already said that he wanted them to stay at the summoning locations the acolytes sit in when gathering.
 
Status
Not open for further replies.
Top