Dark Swarm
Mar 18 2008, 2:21 pm
By: stankydonkey  

Mar 18 2008, 2:21 pm stankydonkey Post #1



I was reading along that float DTs threat and I was wondering if there was any way to have a trigger that makes a number of dark swarms over an area?

I know that you can't use triggers to CREATE swarms, but I created the swarms (via player 12) on an unused area of the map, and when a certain condition happens I use the move unit trigger to try and move the swarms to their new locations. The problem I'm having, which I can't seem to figure out, is every time I start the game to test it out the dark swarms are immediately "unplacable." Any ideas? Will this even work? Also, once I get this working, do I just make the "Dark Swarm" unit properties "invincible" if I want it to last for the rest of the map?

There isn't an AI script for this is there? I wouldn't mind using a script and having a def. cast the swarms, but I couldn't seem to find one...

Thanks!



None.

Mar 18 2008, 2:52 pm Falkoner Post #2



Dark Swarms cannot be stacked WHATSOEVER when preplaced, also, Dark Swarms, unlike Disruption Webs, cannot be moved, neither can Nukes, you can trick computers into using it though, here's how:

Dark Swarm

This spell is cast by the Defiler and Unclean One (Hero Defiler). It costs 100 energy by default.
The targeted area will be covered with a dark swarm unit for a duration Any ground units under this dark swarm unit will be immune to ranged attacks.
Splash attacks and melee attacks can hit units in the dark swarm.

Computer Use
A computer player will cast Dark Swarm if its melee units are attacked by ranged units.
The defiler won't always use it, though. Additional units in combat will encourage it to use Dark Swarm.

Source: http://www.maplantis.org/index.php?wiki=89



None.

Mar 18 2008, 3:17 pm stankydonkey Post #3



I got it to work creating the def, a couple lings where I wanted the swarm and some ranged units hitting the lings, but the only problem is that I can't seem to get the swarm to last (obviously, it acts as the normal spell would). I did preserve the trigged to go off every 25 seconds, but for aesthetic reasons I don't think I can keep it in =/

Also, in the map editor (scm2) I can't seem to delete the swarms I created... is there a special trick to this?

My goal for this trigger is to prevent ranged units from attacking an area (including air units, so that rules out web). Is there a way to do this without using swarm that anyone can think of?

Thanks for the help too :)

Edit: Swarms and Webs cannot be created using triggers. Does this also concern the rest of the "Neutral" units, i.e., floor gun traps, critters, etc?

Post has been edited 1 time(s), last time on Mar 18 2008, 3:31 pm by stankydonkey.



None.

Mar 18 2008, 3:54 pm Falkoner Post #4



You can delete them... Are you sure you are using the correct section? You might have placed them as a sprite or something.

And no, it's kinda random, you just have to test things out, the general rule with creation is that only units that can be placed using normal StarEdit can be created via triggers.



None.

Mar 18 2008, 4:45 pm NudeRaider Post #5

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

Prevent units from attacking by either allying them to the defenders or order/teleport them out of the location.
Giving the attackers to P12 or making the defenders invincible works too.
Maybe healing the defenders or killing the attackers will do too.

These are all work arounds because web and swarm won't work the way you would like.
If tell us more about your map we might be able to give better alternatives.




Mar 18 2008, 11:31 pm stankydonkey Post #6



It's an lotrish, where I'm wanting to create a trigger so what when a hero is brought to a certain area, that area is protected from ranged units (this player has strong melee). It's supposed to give the player incentive to keep the hero in that area, because if the hero leaves then the area is no longer protected by swarm. Sort of a give-and-take situation, where playing defensively has stronger benefits (as it probably should). I'm sure I can come up with something different on the storyboard, because it doesn't sound like I'll be able to get swarm to work =/

Just for my own curiosity's sake, why is it that creation triggers are limited to the StarEdit units?

Thanks again for the comments though, I really appreciate them :)

Edit: Oh and no, still haven't been able to delete them. I used the Units-->Neutral-->Zerg-->Dark Swarm, and no matter which toolbar I'm using I can't even seem to select the swarms. Not a huge issue though, they're sitting in a place that is unused :)



None.

Mar 19 2008, 12:20 am 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 stankydonkey
Edit: Oh and no, still haven't been able to delete them. I used the Units-->Neutral-->Zerg-->Dark Swarm, and no matter which toolbar I'm using I can't even seem to select the swarms. Not a huge issue though, they're sitting in a place that is unused :)
Try making a large box in the units layer around them. I suppose the box has to be way larger than the actual swarm to select it. I noticed that with some other units that were smaller, maybe it's the same here.

Quote from stankydonkey
It's an lotrish, where I'm wanting to create a trigger so what when a hero is brought to a certain area, that area is protected from ranged units (this player has strong melee). It's supposed to give the player incentive to keep the hero in that area, because if the hero leaves then the area is no longer protected by swarm. Sort of a give-and-take situation, where playing defensively has stronger benefits (as it probably should). I'm sure I can come up with something different on the storyboard, because it doesn't sound like I'll be able to get swarm to work =/
I think ordering the ranged units away of that location would be valid for the spell... Call it "fear" then. ;)
As a variation you could cast a couple of webs around the hero and move only air units away for a nice visual effect.

Quote from stankydonkey
Just for my own curiosity's sake, why is it that creation triggers are limited to the StarEdit units?

Ask Blizzard... :omfg:




Mar 19 2008, 6:16 pm -BW-Map_God Post #8



Would it be possible to have the hero arrive close enough to the start that the swarms could be pre-placed at the location? That might solve the problem... you would of course have to speed your initial timeline up to keep balance and such. Pre-placed swarms do last forever and as long as their not stacked you should have no problems.



None.

Mar 19 2008, 6:23 pm NudeRaider Post #9

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

You cannot move swarms, so it's useless to preplace them as a spell.




Mar 19 2008, 7:18 pm -BW-Map_God Post #10



Quote from NudeRaider
You cannot move swarms, so it's useless to preplace them as a spell.

Not if you pre-place them where you want them later and change the story as I suggested so that uber melee hero arrives at the start and the swarms there to protect him make sense. Thus eliminating any need to move them.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[01:05 am]
Vrael -- that's better
[12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
Please log in to shout.


Members Online: No-Name-Needed-II, Roy, Excalibur