Staredit Network

Staredit Network -> UMS Assistance -> change resource amount
Report, edit, etc...Posted by dumbducky on 2006-05-04 at 17:20:00
Is there anyway to modify the amount of minerals in a mineral patch to subtract 1? I need it for a mining system I'm doing.
Report, edit, etc...Posted by Toothfariy on 2006-05-04 at 17:26:57
well yeah i think so. are you putting it at time intervals?
Report, edit, etc...Posted by dumbducky on 2006-05-04 at 17:34:26
No, when a unit arrives at a location.
Report, edit, etc...Posted by KaboomHahahein on 2006-05-04 at 17:42:11
Then you would have to make a location on each mineral patch or the unit to bring to the minerals. However, you cannot make it just subtract 1 mineral it will need to be set to a different amount. There is no trigger that modifies resource amount on the mineral field to subtract 1.
Report, edit, etc...Posted by dumbducky on 2006-05-04 at 17:44:05
Ah well, I guess I'll need a new mining system. My old system was based on the concept that you could bring a unit to a mineral patch, and it would subtract a mineral from teh patch while adding one mineral to your minerals.


any new ideas?
Report, edit, etc...Posted by Toothfariy on 2006-05-04 at 17:51:38
just dont subtract a mineral. when the player get to a certin amount then destroy the minerals
Report, edit, etc...Posted by Kyuubi. on 2006-05-04 at 17:55:44
i've been wondering if this would work. since the worker mines something it has a mineral chunk in its hand or something. think you can detect those mineral chunks after they mine it?i think that could be a way to detect it since only one worker can mine each mineral patch at a time it might be easy in my opinion...
Report, edit, etc...Posted by dumbducky on 2006-05-04 at 17:58:51
QUOTE(Toothfariy @ May 4 2006, 05:51 PM)
just dont subtract a mineral. when the player get to a certin amount then destroy the minerals
[right][snapback]479485[/snapback][/right]

There will be multiple areas to mine from, so if you just have all minerals from highest mineral patch, that will destroy ever other wood pile in the map.
Report, edit, etc...Posted by Toothfariy on 2006-05-04 at 18:03:10
it is possilbe to use ur first idea but you'd have to set each level of mineral
Report, edit, etc...Posted by dumbducky on 2006-05-04 at 18:10:47
I know, but in the end you will have hundreds of minerals, not just twenty.

That is why I am asking for a new system.
Report, edit, etc...Posted by IanMM on 2006-05-05 at 16:29:04
Creat multiple SCV's at the spot then when they leave it gives a chunk to one SCV when it gose to the CC it drops it off and a trig adds mins. Like so:
Trigger
Players:
¤ The player
Conditions:
¤ Bring Player * brings exactly 1 SCV to mineral chunk 1
Actions:
¤ Creat 2 SCV's
¤ Wait till they stop mining
¤ Kill 3 SCV's at Chunk 1
¤ Creat 1 Guy with min at Chunk 1


Trigger
Players:
¤ The player
Conditions:
¤ Bring Player * brings exactly 1 Guy with min to CC
Actions:
¤ Creat 1 SCV at CC
¤ Kill 1 Guy with min
¤ Add # of mins
Report, edit, etc...Posted by Voyager7456(MM) on 2006-05-05 at 16:49:39
Unfortunately, the mineral chunks that miners carry after mining a patch are not detectable.
Report, edit, etc...Posted by dumbducky on 2006-05-05 at 19:08:12
Unfortunately, I still have no solution.
Fotunately, I can use teh post to bump my minerals back up.
Report, edit, etc...Posted by Kyuubi. on 2006-05-05 at 19:44:47
QUOTE(Voyager7456(MM) @ May 5 2006, 12:49 PM)
Unfortunately, the mineral chunks that miners carry after mining a patch are not detectable.
[right][snapback]480108[/snapback][/right]

yea sorry my bad... just i haven't tested it. but the minerals a worker carries looks like the same one from the extra units, so i pretty much assumed they were the same, but isn't. they explode pretty much the same without a death wav, but i did some testing and the minerals from the mineral patch and the mineral chunks from the extra units are different.
Report, edit, etc...Posted by dumbducky on 2006-05-05 at 21:59:46
That helps me in no way at all. I think I have a new system that works, but not as good as the old one would have. Do you guys think the below would work well?

Mineral patchs have only 1 or 2 minerals in them. When you bring a person to the location, you collect the amount of minerals in that patch. What do you think?
Next Page (1)