Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Having issues with mineral detection.
Having issues with mineral detection.
Apr 26 2020, 2:07 pm
By: proeras  

Apr 26 2020, 2:07 pm proeras Post #1



Hello, I'm fairly new to the map making scene and have just recently got into EUDs. I'm currently trying to make a SF style map and have some triggers set up for hero making, for some reason though they only work for player 1, doesn't matter whose in the player 1 slot either.

Here's an example of the player 2 first level trigger,

Quote
Trigger(1){
Conditions:
Memory(-11421, At Least, 10000);
Bring("Current Player", "Terran Marine", "Location 3", At Least, 1);

Actions:
Display Text Message("Always Display", "<13><07>I<02>nfantry Upgraded!\r\n<13>-10,000 Minerals");
Kill Unit At Location("Current Player", "Terran Marine", All, "Location 3");
Create Unit("Current Player", "Jim Raynor (Marine)", 1, "Location 1");
Set Resources("Current Player", Subtract, 10000, ore);
Preserve Trigger();
}

if anyone has some suggestions I could try it would be very appreciated




Apr 26 2020, 2:27 pm jjf28 Post #2

Cartography Artisan

Player 1's minerals would be at -11421 http://farty1billion.dyndns.org/EUDDB/?pg=entry&id=459, player 2's would be at -11420,, player 3 at -11419 and so on.

You probably also need to check the trigger owners, your trigger shows as "Trigger(1)" implying it's only owned by player 1? (or player 2 if it's a zero based number showing).

You also don't need EUDs to check minerals, you can use the accumulate condition.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Apr 26 2020, 2:37 pm proeras Post #3



Quote from jjf28
Player 1's minerals would be at -11421 http://farty1billion.dyndns.org/EUDDB/?pg=entry&id=459, player 2's would be at -11420,, player 3 at -11419 and so on.

You probably also need to check the trigger owners, your trigger shows as "Trigger(1)" implying it's only owned by player 1? (or player 2 if it's a zero based number showing).

You also don't need EUDs to check minerals, you can use the accumulate condition.

Thanks brother! my dumbass didn't think to check the first on the list, lets just say I was trying to get comfy with euds lol



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[04:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[04:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[06:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[03:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[03:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
[2026-6-19. : 9:57 am]
Oh_Man -- artosis dropped pretty interesting vid: https://youtu.be/EqZHB8Blra4
[2026-6-18. : 5:01 pm]
Ultraviolet -- :wob:
[2026-6-17. : 6:15 am]
RexyRex -- :wob:
Please log in to shout.


Members Online: jun3hong, NudeRaider