HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Goldmine

03-05-2004, 07:46 PM#1
NIRRE
how do you make so you need to build somethig on your gold befor you can harvest. and i dont mean like entageld\haunted gold mine. i want the worker to harvest like in a regular goldmine.
03-08-2004, 09:34 AM#2
NIRRE
No one knows?!?!?
03-08-2004, 01:47 PM#3
Lord_Garithos
Could you tell bit more what you mean ? :(
03-08-2004, 02:20 PM#4
Kamux
I think you need to do that with triggers, first add a dummy gold mine ore something and when somebody builds it, replace it with a real one.
03-08-2004, 04:10 PM#5
Zethiros
Eh... don't you love it when people post insufficiant information on their question, and leave you hanging? :D
03-08-2004, 04:21 PM#6
Anitarf
I think the question is quite understandable... If he says he wants the gold mine to be mined "in a regular way", "unlike haunted/entangled mine", then it clearly means that the gold is gathered the way humans and orcs gather it, but only if the gold mine has something built upon it.

Try the way Kamux suggested. Of course, if you want other races to be able to play as well, you'll have to make additional triggers that change the fake gold mine to a real gold mine if any other race builds a town hall nearby... well, it would be complicated, many exceptions to think of, like mining a mine from a distance and similar... Here's a better idea, just make a trigger that checks, whenever a unit is ordered to gather gold, if the unit is "your unit that can only mine in pre-prepared mines" and the mine it targets is not "pre-prepared" then order unit to instead only move to the mine.
03-08-2004, 06:40 PM#7
Kamux
You can also make an event like: unit is issued an order targeting a unit
Conditions:
-Issued order equals to gather--> don't know for sure, check the object editor.
-Goldmine building is not build
Action
Order unit to stop
03-08-2004, 08:42 PM#8
Shark
well, u can edit the goldmine unit to Upgrade to "real gold mine" so when u start the game, each player has its own goldmine without the goldmine ability, and needs to upgrade it to the gold mine.....heres the way it works

u start the game, u have 5 peons, townhall and a gold mine...
u assign your peons to do something, and click on the gold mine, the goldmine has a "Build a Mine (upgrade to THE gold mine)" button on it... you click the button, the min is built within seconds and you can send your peons to work in it....that way u won't have to do any triggering cuz the original gold mine unit stays intact therefore undead and NE can entangle/haunt it (at least i think so)....
hope it helps a bit, cuz it sounds like a hard-coded thing(the whole idea of building across the mine)...