Mineral Sharing
Dec 24 2008, 10:01 pm
By: konflikt  

Dec 24 2008, 10:01 pm konflikt Post #1



Hey I will try and explain my map and problem as best as I can. I'm making a Defense map with 4 teams. Each team has a defense builder and a unit sender (sends units to other teams to defend against). The unit sender ALSO mines minerals for his team to use. Both are going to be building stuff, so how can I make it so they "share" minerals, if one guy builds something, the other guy looses minerals too?



None.

Dec 24 2008, 10:07 pm Morphling Post #2



Look in the wiki first.




Dec 24 2008, 10:09 pm konflikt Post #3



Alright thanks >.<



None.

Dec 24 2008, 11:41 pm Wormer Post #4



You can look at my example after looking the wiki, though it is more complicated...

http://www.fileshost.com/en/file/76163/ShareResources-rar.html



Some.

Dec 25 2008, 6:18 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/maplantis/index.php?sid=91106c960c;topic=120

I think I was the first to ever ask this question, then Antisleep came to the rescue. It works flawlessly, and it's simple to do, since it's only 4 triggers (each one with binary countoffs, so it's actually more. Use a trigger duplicator to make them). You can see my breakdown in that thread.

Pretty much it compares two values, finds the difference, and adds/subtracts the difference from everyone else. Even though you're subtracting all the minerals each trigger run, it's instant, and won't affect spending in the game. The only real problem is that people are idiots, and don't understand the concept of resource sharing and end up spending everyone's money.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[05:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
Please log in to shout.


Members Online: Heinermann