| 11-04-2003, 03:47 AM | #1 |
I'm trying to create a refinery like the one in Starcraft. I'm using the gold mine as the base for the geyser. What triggering could I use to make it so that I could build a refinery over a geyser and make it so that you can mine at it? An answer that works = 50 points. |
| 11-04-2003, 04:10 AM | #2 |
here's what to do. do likr the undead and make a building that can only be built on gold mines. (you can modify the haunted gold mine building). Then remove the ability from gold mines to allow workers to collent gold and give that ability to your new building. |
| 11-04-2003, 04:16 AM | #3 |
well.. u can use the gold mine of the undeads as model of a real gold mine (or create ur own model) but to make it like starcraft.. just do this use a normal gold mine and set the gas refinery as the undead gold mine and use this trigger Unit enters in a region (REGION CALLED refinery) Unit type of entering unit is equal to refinery -->building (undead gold mine) remove all uits in refinery (the region) from the game create 1 refinery for owner of entering unit at REFINERY (the region) ok. this is how it works. ( u have to make another real gold mine using the same model of the refinery. ) 1 a worker start to build a refinery (the undead gold mine with tha name refinery) over a real gold mine (the gold mine its located in the region "refinery") 2) when the refinery enters in the map. it will be removed from the game and the real gold mine will be removed too. 3) a new gold mine will be created at the position of the Removed unit and will have the model of ur refinery. thats all... |
| 11-05-2003, 01:30 AM | #4 |
Does anyone know how I can tell how much gold is currently in a gold mine? |
| 11-05-2003, 02:13 AM | #5 |
click on it. |
| 11-05-2003, 03:13 AM | #6 |
No... I mean through triggers, so I can create a corresponding action. |
| 11-05-2003, 04:05 AM | #7 |
use the trigger for Destructibles-. and u can set the gold amout of the gold mine |
| 11-05-2003, 05:06 AM | #8 |
The amount of gold in a gold mine is stored by a real number, if you are using integers just use convert real to integer. Simple demonstration of what it looks like. (Real((Resource quantity contained in (Last created unit)))) |
