Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: rpg spells question. setting up damage
rpg spells question. setting up damage
Jul 5 2010, 3:43 am
By: tentons01  

Jul 5 2010, 3:43 am tentons01 Post #1



im my map, when someone uses a certain spell, a barrage of scourges AKA "missiles" flies to a target and each scourge is suppose to do a little damage to a ground unit AKA the target. How do you make the scourges do damage to a ground unit? I know there is a modify unit hp trigger, but that dosent work for me because like.. is it is set to put the target at 80% hp, then the first scourge would do that, then the rest of the sourges would just die with pretty much no effect, and also, if the target is less than 80% hp, it would basicly heal it. Are there any other ways to trigger scourges to do damage to ground units through triggers?



None.

Jul 5 2010, 4:55 am Vrael Post #2



Simply put, no. The only way its possible is through some form of virtual hit points, where you use death counters to keep track of the actual health, and modify the death count to subtract "health". Then the scourage basically is just a visual effect. Set up a death count for the units HP, then at certain amounts use the Modify Unit HP to certain percents so the unit looks just like the scourage is damaging it, but in reality you're just detecting the scourage in the vicinity of the unit and subtracting from the death count.



None.

Jul 5 2010, 5:07 am tentons01 Post #3



actually, that idea will work for what im doing. thanks ;D you can lock this now



None.

Jul 5 2010, 5:10 am Cinolt Post #4



Alternatively you can cycle through the scourges using Give Unit and use a Direct Damage System.



None.

Jul 5 2010, 5:21 am tentons01 Post #5



actually i had a new easier idea of having 2 different spells, 1 for air and 1 for ground. The anti air spell spawns scourges, the anti ground spell spawns a barrage of scarabs (yes i know how to trigger that ;D) this way i can easily set up the amount of damage i want done. I was going to use infested terrans because its a lot easier to trigger, but the splash could kill the hero. Also scarabs look better.



None.

Jul 8 2010, 5:05 pm CecilSunkure Post #6



Quote from tentons01
Direct Damage System
DDS. Check this out, as yoonkwun said.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:08 pm]
Sylph-Of-Space -- woah! nice! thank you!
[04:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[04:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[04:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[04:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[03:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[03:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[03:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[2024-5-19. : 9:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
Please log in to shout.


Members Online: Roy