Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Suggested Triggers for UMS Island Based Map
Suggested Triggers for UMS Island Based Map
Aug 4 2019, 8:09 pm
By: bix666  

Aug 4 2019, 8:09 pm bix666 Post #1

One of the things I loved about the old SC were the Island maps. I recently got back into SC after the re-released it and I wanted to make the Island comp stomp map I had in 99. Alas, I have forgotten so much about map making! In particular I am having problems with the triggers. My biggest issue is that my triggers end up causing a "Victory" Condition at start. I have not been able to do much map testing outside of that. So, here are my questions.

1.) What are the basic triggers I need to have for a UMS game (specifically victory conditions and AI script. I want to use an "insane" AI script but they all seem to be race based)?

2.) How do I get the forces to be on the same island (there are 4 island for two players each) but have the island be random in their spawn locations each game?

I have spent about 5 hours on this trying to find my answers online. My map and resources are done as are my start locations, I think I just need to master the basic triggers. Thanks again!

Start Locations.png
Hits: 1 Size: 301.02kb
Hits: 0 Size: 125.33kb


Aug 4 2019, 11:03 pm NudeRaider Post #2

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

1) yeah you gotta figure out the race to activate the correct ai script. Just check if the computer player owns a nexus, cc or hatch.

2) disable randomized start locations and do the randomization yourself.
The only "drawback" is that it won't randomize the colors. For example with default colors P1 in the lobby will always be red, P2 in the lobby will always be blue, etc. But of course you can still freely set the colors for the player slots.

Randomization at map start is best done with switches. For simplicity I recommend doing it this way: Randomize 2 switches which will give you 4 states:
S1:0 S2:0
S1:1 S2:0
S1:0 S2:1
S1:1 S2:1
Depending on the outcome you pick an island for players of force 1.
Then you roll again until you get a result different from the first time and assign to force 2.
The same again a 3rd time and the remaining island is for force 4

mapping creates pretty specific / unique challenges. Unlikely to find a solution that fits your case exactly. But that's what our forums are for! Also welcome. :)

Aug 4 2019, 11:40 pm bix666 Post #3

Yeah, switches are a thing I have not used before! Thanks for the help!!!


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:27 am]
O)FaRTy1billion[MM] -- or a magic box :(
[03:31 am]
martosss -- FaRTy1billion
FaRTy1billion shouted: how about 5 minerals
you can't even get a scarab with those!
[03:26 am]
O)FaRTy1billion[MM] -- how about 5 minerals
[03:26 am]
O)FaRTy1billion[MM] -- Voyager7456
Voyager7456 shouted: I think the intention was that staff awards minerals for good posts and content but in practice I'm the only one that does it :P
and for that you should receive an award
[02:53 am]
martosss -- jjf28
jjf28 shouted: the map is playable on both 1.16.1 and SC:R, this would just be straight up unprotecting
OK, I have 1 more question - are you using 32 bit SC:R or 64 bit ? In game settings there's an option to switch to 32, is it checked? I just tried hosting the map with 64-bit SC:R and it failed... I ticked the option to use 32 bit SC:R => it worked and map was hosted. So I guess the issue still exists for 64 bit SC:R ? I also tried calling a friend and he couldn't see the map when he entered the lobby. Weird, I might have to report this to Blizzard?
[12:42 am]
Voyager7456 -- Glad I can entertain you Nude
[10:42 pm]
lil-Inferno -- ayy Moose add reactions to the shoutbox so I can react salt to the shout below this lmao
[09:51 pm]
NudeRaider -- Voyager7456
Voyager7456 shouted: lil-Inferno Once I finish moving I can actually play lmao
yeah, I too am laughing my ass off at this
[08:18 pm]
lil-Inferno -- I'm not gonna be able to play (on a weekend) for another month lmao
[07:24 pm]
Voyager7456 -- lil-Inferno
lil-Inferno shouted: err'one always doesn't wanna play or is busy or w/e
Once I finish moving I can actually play lmao
Please log in to shout.

Members Online: Roy, suricajwelo662, ocimazyt