• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Custom Gold Collector

Status
Not open for further replies.
From the system thread:

  • -------- DATA CONFIGURABLES --------
  • Set RG_Building = Meathouse
  • Set RG_Income = 2
  • Set RG_DurationInterval = 2.00
  • Set RG_ResourceType = RG_ResourceTypeFood
  • Trigger - Run RG Save <gen> (ignoring conditions)
You configure thise fields. For example, Food -> Gold, etc.
 
How to trigger a Gold Collector Tent like Troll and Elves?
I did not think Trolls or Elves used "Gold Collector Tents". I would imagine Trolls shared the same gather system as Orcs and Elves appeared to share the same as Humans in the campaign.

If you are referring to a specific map please link it. We are not physic and cannot possibly know about 1 small part of 1 random map out of the tens of thousands of maps that have been made.

To emphasise the above solution. Basically you are periodically adding an income variable to each player. This variable is incremented appropriately when buildings are built or upgraded and decremented appropriately on death or when upgrade starts. You need a system to handle upgrade cancelation as well but that can be tagged along with construction. Data feeding it from parallel arrays is by far the most scalable and maintainable approach.
 
Status
Not open for further replies.
Back
Top