Mineral Sharing
This topic is locked. You can no longer write replies here.
Jan 30 2010, 4:43 am
By: Lord Malvanis  

Jan 30 2010, 4:43 am Lord Malvanis Post #1



What I want to do is a little confusing. I'm going to try and put it simply.

This is basically what it is:
Two players on a team.
Player 2 is defending player 1. Player 2 cannot mine minerals or gas. Player 1 must mine minerals and gas for player 2. I want it so that the minerals and gas mined by player 1 is sent directly to player 2, as if player 2 had mined it him/herself.
I would figure this out myself, but I'm busy with terrain. Can anyone help me out with this?



None.

Jan 30 2010, 4:50 am Riney Post #2

Thigh high affectionado

If player 1 has 1 mineral then
Remove one mineral from player 1
Add one mineral to player 2

:hurr: ?



.riney on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

Jan 30 2010, 4:54 am Neki Post #3



On top of that, use binary count-offs to more efficiently redistribute the minerals. So do what DM said, and then do it for 2,4,8,16,32,64 too, to make it even faster. Putting highest at the top of the trigger list so it fires first.



None.

Jan 30 2010, 4:55 am ImagoDeo Post #4



Use Binary Countoffs to transfer minerals from Player 1 to Player 2 every trigger cycle.

Preventing Player 2 from mining minerals is a bit more complicated. In fact, I'm not even sure it can be done. Any ideas, SEN?



None.

Jan 30 2010, 5:00 am Lord Malvanis Post #5



I plan on preventing player 2 from mining minerals by only giving him one probe, and to add more to the fact, he won't be able to build any more than one nexus, and that nexus is isolated away from minerals. The only accessable minerals would be far away, and near the enemy. Or in player 1's base. I'll look at the binary countoffs and do the triggers. Thanks guys.
(Also, even if player 2 decided to mine with one probe, he would die from not building.)



None.

Jan 30 2010, 6:46 am rockz Post #6

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/wiki/Sharing_Minerals
http://www.staredit.net/wiki/Resource_Sharing
http://www.staredit.net/wiki/Changing_Minerals_Mined

If you want them to have the same minerals at all times, you can use one of these. If you want player 1 to never have any minerals, that's already been discussed. If you want player 1 and 2 to have separate but linked minerals, use the "changing minerals mined" method, and instead of changing it, add 8 to both players, essentially giving the team 16 minerals per 8 ore mined.

If you want to prevent 2nd player from mining, prevent them from returning minerals to a town hall by pre-placing it somewhere, or prevent them from going near minerals in some way shape or form.



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

Jan 30 2010, 2:22 pm NudeRaider Post #7

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Forum Rules
4. Thou shalt use the Wiki *, Search, and Google. You might find your answer before posting and thus not have to open a topic.

Besides as far as I can tell your topic has already been solved.

>> Locked




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[2026-7-16. : 6:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[2026-7-16. : 6:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[2026-7-16. : 2:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[2026-7-16. : 2:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[2026-7-15. : 8:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
Please log in to shout.


Members Online: Moose, Symmetry