• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Gold instead of lumber

Status
Not open for further replies.
Level 8
Joined
Aug 21, 2009
Messages
333
you could make a custom doodad based on a tree and change its model to a goldmine. Also change the life to a really high number (to make the mine last longer) and the collision/selection size so that it fits with the goldmine model. The only downside of doing it this way is that your harvesting units will chop at the goldmine instead of going in (which isn't really that big of deal in my opinion).
 
Level 4
Joined
Aug 30, 2008
Messages
73
Can't I do it with trigger? For example "when a worker gain 1 gold replace it with 1 lumber" or "when a worker give 1 gold do: total gold - 1 and total wood + 1"?
 
Level 4
Joined
Jan 2, 2010
Messages
90
Why don't you just read the posts above? Replace gold with lumber is the easiest way in my opinion... Also, do what Baintastic said for doodads.
 
Level 20
Joined
Oct 21, 2006
Messages
3,231
Can't I do it with trigger? For example "when a worker gain 1 gold replace it with 1 lumber" or "when a worker give 1 gold do: total gold - 1 and total wood + 1"?
  • Untitled Trigger 001
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Set (Picked player) Current gold to ((Picked player) Current lumber)
          • Player - Set (Picked player) Current lumber to 0
?

oh wait its in wrong way but should be changeable
 
Level 5
Joined
Sep 15, 2009
Messages
153
  • Untitled Trigger 001
    • Events
      • Time - Every 0.10 seconds of game time
    • Conditions
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Set (Picked player) Current gold to ((Picked player) Current lumber)
          • Player - Set (Picked player) Current lumber to 0
?

oh wait its in wrong way but should be changeable

Remove the last action
 
Status
Not open for further replies.
Top