Hi, first of all, I apologize if I posted in wrong section.
I'm working on a balance mod, one of the features is to move the Contaminate spell from Overseer to Infestor, which I done without issues.
What I want to do, is to make the Contaminate have an extra effect of changing the Command Center and Barracks into Infested version if the building has less then 1/2 HP.
So far:
- I made a morph ability for Barracks using Infestable Infested Barracks as a base for a new structure
- I made an issue order effect to force the morph with a validator Life < 1/2, which should work correctly
However, I'm only starting to learn the editor, so my problem is:
How do I add this effect to Contaminate, so that if I cast the ability on the Barracks, it executes the morph if it's under 1/2 HP? How do I change the ownership of the structure to the caster?
(optional) How do I add this effect, so if the Barracks or Command Center is already Contaminated and goes under 1/2 HP (like 10 seconds after casting the spell for example), the morph is executed?
Also, I have searched for it on the internet, and as far as I can tell, there are some issues with the supply of units produced still counted for the Terran. But first I want to get it working.
Is there any other, easier way of achieving what I want? I know some people prefer using Colony Infestation, but I do not know how could I make it work with Contaminate.
Hi, first of all, I apologize if I posted in wrong section. I'm working on a balance mod, one of the features is to move the Contaminate spell from Overseer to Infestor, which I done without issues. What I want to do, is to make the Contaminate have an extra effect of changing the Command Center and Barracks into Infested version if the building has less then 1/2 HP.
So far:
- I made a morph ability for Barracks using Infestable Infested Barracks as a base for a new structure
- I made an issue order effect to force the morph with a validator Life < 1/2, which should work correctly
However, I'm only starting to learn the editor, so my problem is: How do I add this effect to Contaminate, so that if I cast the ability on the Barracks, it executes the morph if it's under 1/2 HP? How do I change the ownership of the structure to the caster? (optional) How do I add this effect, so if the Barracks or Command Center is already Contaminated and goes under 1/2 HP (like 10 seconds after casting the spell for example), the morph is executed?
Also, I have searched for it on the internet, and as far as I can tell, there are some issues with the supply of units produced still counted for the Terran. But first I want to get it working.
Is there any other, easier way of achieving what I want? I know some people prefer using Colony Infestation, but I do not know how could I make it work with Contaminate.