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.
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
Please log in to shout.


Members Online: Symmetry, Oh_Man