Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: apply dds to lots of enemies within an area
apply dds to lots of enemies within an area
Jul 8 2009, 7:44 pm
By: crutex  

Jul 8 2009, 7:44 pm crutex Post #1



Hi guys. Help me sort out the best way to do this.
There are 2 computer players (spawn units)
and two teams of humans (3v3 1 hero each player)

A spell I have effects nearly half the screen, it is supposed to be a swarm of locusts.
I am using a dds for the damage of the spell. So far I have an idea for how to apply the dds in the locust area to the human heroes, but how can I make it so that it will also damage the (multiple) spawn units that might be under the area? Best to just leave spawn unaffected?



None.

Jul 8 2009, 8:12 pm JaFF Post #2



You can try using both computers as scarab owners (and targets in DDS for each other). This will mean that you'll be running the AI for all their units, though. Try it out and see what happens, because I don't know. ;)



None.

Jul 8 2009, 8:20 pm Vrael Post #3



One of the big problems with starcraft, is that there is no real efficient way to "mark" units. If we had an action "Mark Unit X with Flag Y" and a way to detect it, something like you propose affecting half the map would be much more feasible. As starcraft stands now however, you'd probably have to pull some nonsense like giving all the units to be affected to a different computer player, deal damage to 1 individual unit, then give it back and re-order it to whatever it was already doing, then continue to the next individual and deal damage, give it back, re-order it, ect. Depending on the number of units in your location, the amount of damage you need to deal, and the number of scarabs you have stored, you could run out of scarabs long before all the damage is dealt, I imagine. Doesn't seem very feasible to me, but *shrug* best of luck.



None.

Jul 8 2009, 9:25 pm crutex Post #4



Yeah that was the (bad) solution that I had thought of. Might just keep it from effecting spawn.



None.

Jul 9 2009, 4:41 am Pyro682 Post #5



As a part of the Spell Generator that I'm currently working on, I'm dealing with Area of Effect Spells, and one of the effects Included is Damage.

I used a Mobile Grid to detect Areas at which the scarabs would spawn, and then did several Direct Damage Systems that were routed off of that.

If you follow my path, you will (most likely, depending upon how much dmg you're wanting here) run out of scarabs, or run into CCMU. What I did to avoid this was to increase the scarab damage by some factor, and then have less scarabs deal the same amount of damage. I don't know if this solution works for you or not, but it works for me.



None.

Jul 9 2009, 5:15 am crutex Post #6



Quote from Pyro682
As a part of the Spell Generator that I'm currently working on, I'm dealing with Area of Effect Spells, and one of the effects Included is Damage.

I used a Mobile Grid to detect Areas at which the scarabs would spawn, and then did several Direct Damage Systems that were routed off of that.

If you follow my path, you will (most likely, depending upon how much dmg you're wanting here) run out of scarabs, or run into CCMU. What I did to avoid this was to increase the scarab damage by some factor, and then have less scarabs deal the same amount of damage. I don't know if this solution works for you or not, but it works for me.
Yeah the major limiting factor of dds scarab use is 1) how frequently spells are cast and 2) how flexible you need the damage to be. I would be using a low number of scarabs no more than twice per second per player (6) so it should be fine. Also most spells currently do not need to use the dds for their damage although a few do. Curious about your spell generator though.



None.

Jul 9 2009, 5:27 am rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

If you have 4 computer players useable, you can have the scarabs do different amounts of damage each (1, 2, 4, 8). This would allow you to deal damage faster with less scarabs total.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Jul 9 2009, 5:35 am crutex Post #8



Quote from rockz
If you have 4 computer players useable, you can have the scarabs do different amounts of damage each (1, 2, 4, 8). This would allow you to deal damage faster with less scarabs total.
There are 2 cpus available.



None.

Jul 9 2009, 5:46 am Pyro682 Post #9



So have one do 10 dmg, and the other one do 1 dmg. That way, you can easily calculate and use litte amounts of scarabs.



None.

Jul 9 2009, 5:47 am crutex Post #10



Quote from Pyro682
So have one do 10 dmg, and the other one do 1 dmg. That way, you can easily calculate and use litte amounts of scarabs.
Yeah I know but that's not the problem xD



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[05:41 am]
Ultraviolet -- 🤔 so inf is in you?
[04:57 am]
O)FaRTy1billion[MM] -- my name is mud
[04:35 am]
Ultraviolet -- mud, meet my friend, the stick
[10:07 pm]
lil-Inferno -- nah
[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:
Please log in to shout.


Members Online: 6carolinec321yL5, Zycorax, 1carolinee1322wB3, Ziemgs05, NudeRaider