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.
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
Please log in to shout.


Members Online: jun3hong, Roy