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#6948 on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

-- Updated as of December 2021 --

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.
[08:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[05:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
[05:24 pm]
lil-Inferno -- poopoo
[05:14 pm]
UndeadStar -- I wonder if that's what happened to me. A returned product (screen) was "officially lost" for a while before being found and refunded. Maybe it would have remained "lost" if I didn't communicate?
[03:36 pm]
NudeRaider -- :lol:
[03:02 am]
Ultraviolet -- I'm gonna send inf to have sex with their moms
[03:02 am]
Ultraviolet -- fuck those motherfuckers
[11:02 pm]
NudeRaider -- PSA: ASUS apparently decided their RMA department needs to "become profitable" and for a while now outright tries to scam customers. They were called out on it a year ago, promised to change, but didn't. https://www.youtube.com/watch?v=7pMrssIrKcY so my recommendation: Stop buying ASUS, and if you already have and need something RMA'd, make sure to not let them bully you into paying.
[2024-5-15. : 3:08 pm]
Oh_Man -- example of wat u mean?
[2024-5-15. : 5:59 am]
NudeRaider -- *is
Please log in to shout.


Members Online: 7giannae3485fh7, 2giannae863fc3