Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Dark Templar and Cerebrates
Dark Templar and Cerebrates
Oct 3 2013, 5:32 pm
By: checkmate824  

Oct 3 2013, 5:32 pm checkmate824 Post #1



Does anyone know how the resurrection(without DTs) and permanent slaying(with DTs) of Zerg Cerebrates works in the official campaigns, specifically; what are the trigger conditions and actions used?



None.

Oct 3 2013, 6:08 pm jjf28 Post #2

Cartography Artisan

I highly recommend you download this at some point so you can look at the campaign maps yourself: Campaign Extraction Utility. Remember to put it in its own folder before you run it, since it will pull out alot of files.

These are the triggers (in text version), and a snapshot of the locations (stripped down to the important ones)

Code
Trigger("Player 5"){
Conditions:
    Bring("Player 2", "Protoss Dark Templar", "AttackCerebrate02 .g", At least, 1);
    Bring("Current Player", "Zerg Cerebrate", "Cerebrate2 .g", At most, 0);

Actions:
    Comment("Disable respawning Cerebrate (bring Dark Templar/bring 0 Cerebrate)");
    Set Switch("C2Dead", set);
}

//-----------------------------------------------------------------//

Trigger("Player 4"){
Conditions:
    Bring("Player 2", "Protoss Dark Templar", "AttackCerebrate01 .g", At least, 1);
    Bring("Current Player", "Zerg Cerebrate", "Cerebrate1 .g", At most, 0);

Actions:
    Comment("Disable respawning Cerebrate (bring Dark Templar/bring 0 Cerebrate)");
    Set Switch("C1Dead", set);
}

//-----------------------------------------------------------------//

Trigger("Player 4"){
Conditions:
    Switch("C1Dead", not set);
    Bring("Current Player", "Zerg Cerebrate", "Cerebrate1 .g", At most, 0);

Actions:
    Comment("Respawning Cerebrate (C1Dead clear/bring 0 Cerebrate)");
    Move Unit("All players", "Men", All, "Cerebrate1 .g", "Reloc1A .g");
    Move Unit("All players", "Men", All, "Cerebrate1 .g", "Reloc1B .g");
    Kill Unit At Location("All players", "Any unit", All, "Cerebrate1 .g");
    Create Unit("Current Player", "Zerg Cerebrate", 0, "Cerebrate1 .g");
    Preserve Trigger();
}

//-----------------------------------------------------------------//

Trigger("Player 5"){
Conditions:
    Switch("C2Dead", not set);
    Bring("Current Player", "Zerg Cerebrate", "Cerebrate2 .g", At most, 0);

Actions:
    Comment("Respawning Cerebrate (C2Dead clear/bring 0 Cerebrate)");
    Move Unit("All players", "Men", All, "Cerebrate2 .g", "Reloc2A .g");
    Move Unit("All players", "Men", All, "Cerebrate2 .g", "Reloc2B .g");
    Kill Unit At Location("All players", "Any unit", All, "Cerebrate2 .g");
    Create Unit("Current Player", "Zerg Cerebrate", 0, "Cerebrate2 .g");
    Preserve Trigger();
}

//-----------------------------------------------------------------//







TheNitesWhoSay - Clan Aura - github

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

Oct 3 2013, 6:24 pm Dem0n Post #3

ᕕ( ᐛ )ᕗ

Yeah, Blizzard just basically checked to see if there was a Dark Templar around the Cerebrate, and if there was, it didn't respawn, but if there wasn't one around it, they respawned the Cerebrate.




Oct 4 2013, 10:09 pm checkmate824 Post #4



Quote from Dem0n
Yeah, Blizzard just basically checked to see if there was a Dark Templar around the Cerebrate, and if there was, it didn't respawn, but if there wasn't one around it, they respawned the Cerebrate.

Yeah this is basically what I did, except I just triggered invincibility and deactivation.

Quote from jjf28
I highly recommend you download this at some point so you can look at the campaign maps yourself: Campaign Extraction Utility. Remember to put it in its own folder before you run it, since it will pull out alot of files.

These are the triggers (in text version), and a snapshot of the locations (stripped down to the important ones)

......


Thanks so much for the detailed info; this isn't as elegant as how I wrote the trigger, but I suppose it is more effective in some ways(such as lore).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:36 am]
Moose -- Thinking on it more, I vaguely remember it being annoying because it kept repeating some short loop of the Super Mario World theme LMAO
[12:57 am]
Oh_Man -- I thought i remembered an old mario map but i searched super mario starcraft on utube and i couldnt see anything cept UMS
[11:40 pm]
lil-Inferno -- Blizzard forgot about SC so it's okay
[07:04 pm]
Symmetry -- malware maps for everyone
[07:03 pm]
Moose -- probs lmao
[06:57 pm]
Symmetry -- (and will be patched)
[06:56 pm]
Symmetry -- The old stuff would've gotten patched no? this is current
[06:55 pm]
Moose -- Just made? I thought we had that years ago
[05:23 pm]
Oh_Man -- so someone just made super mario in brood war https://www.youtube.com/watch?v=DmrUcKU65oQ
[2026-8-06. : 2:41 am]
Oh_Man -- i used to play TF2 competitive in that clan, and also was PR manager (ie: i wrote all the website posts)
Please log in to shout.


Members Online: DarkenedFantasies, MarineElite