In my current project the camera is VERY far away (300 high looking top down) from units. Because of this the player cannot hear any sounds. How can I fix this?
The normal Zealot attack is made up of two effects: "Psi Blades" and "Psi Blades (Damage)". The first is a Create Persistent effect which just splits the Zealot's attack into two hits, by creating the "Psi Blades (Damage)" effect twice.
To achieve what you want is very simple.
Create a new effect of type Modify Unit and set the Shields Change Fraction to 1. That means "set shields to 100%". Then set the Impact Unit to "Caster". Call this effect something like "Zealot - Restore Shields".
Create a new effect of type Set and add to it the two effects "Psi Blades (Damage)" and the new Modify Unit effect you just created.
In the "Psi Blades" effect, change the Period Effects to the new Set effect you just created. This will cause it to execute both effects (Damage Restore Shields) for every swing.
Create a new validator of type Unit Compare Vital and call it "Zealot - Unit Died From Attack". Leave everything at its default values. It will compare if the target's life is equal to 0, i.e. dead.
Add this validator to the "Zealot - Restore Shields" effect.
And it works!
Now you just need someone more knowledgeable than me to show you how to create a nice shield regen animation on the Zealot.
Thanks for this! I will just use the Karass Plasma Surge art.
This seems simple, but I could not find it on SC2mapster.
I want my zealot to restore all of it's shields when it kills a unit. How can I do this?
Thanks!
I'm making an ability that shoots projectiles randomly around the caster. How can I send the projectiles in random directions without targeting a specific point?
Thanks
Okay, I've played around with modify unit and have 2 problems.
First of all, I can only increase the remaining cooldown of the ability, not decrease it.
Secondly, I can only get the effect to work when it's the initial. Neither expire nor final seems to work with modify unit.
Any advice?
The ability creates a channeled CP, which deals damage on periodic effect, nothing too fancy. I want the expire effect to reduce the next cooldown by 50%.
Okey, I have an ability that deals damage over time, and the effect is channeled. The ability has a cooldown of 30 seconds. This does not change.
However, if the effect gets channeled for the full duration, I would like the cooldown for that one use of the ability to be reduced by 15 seconds.
For example, if somebody channels for 2 seconds, they will have to wait the full 30 seconds.
If the next use of the ability they channel for the full 5 seconds, they will only have 15 seconds until the next use.
Then, they use the ability again and channel for 3 seconds, they will have to wait the full 30 seconds again.
Sorry, edited OP to specify that the remaining cooldown gets reduced, not the abilities's cooldown.
For example, say the channel expires 5 seconds into the 30 seconds cooldown, I want the cooldown remaining to go down to 10 seconds.
I'm making a channeled ability that deals damage over time. The ability has a 30 seconds cooldown.
What I want: When the effect expires, the remaining cooldown is reduced by 15 seconds, preferably done through data.
Is this possible? If not, how can I do this through triggers?
0
Hi all,
In my current project the camera is VERY far away (300 high looking top down) from units. Because of this the player cannot hear any sounds. How can I fix this?
Thanks!
0
Thanks for this! I will just use the Karass Plasma Surge art.
0
Because data is a cleaner answer then a trigger.
0
That's why I asked here :)
0
Hi all,
This seems simple, but I could not find it on SC2mapster. I want my zealot to restore all of it's shields when it kills a unit. How can I do this? Thanks!
0
Hi all,
I'm trying to make a Space Marine squad from the old WH40k games
Here's my questions:
How can I limit reinforcements?
How can I limit weapon upgrades?
How can I select one unit to select the whole squad?
How can I make the squad move in formation?
How can I make a squad cost the same supply, regardless of unit count in the squad?
How can I attach a leader to the squad?
Thanks for the help!
0
If I know that I don't want to use the assets in any more maps can I delete them from my desktop?
0
Hi all,
I'm making an ability that shoots projectiles randomly around the caster. How can I send the projectiles in random directions without targeting a specific point? Thanks
0
I'd change the marine's attack effect to be a set, which has the damage effect and a remove behavior effect.
0
Okay, I've played around with modify unit and have 2 problems. First of all, I can only increase the remaining cooldown of the ability, not decrease it. Secondly, I can only get the effect to work when it's the initial. Neither expire nor final seems to work with modify unit. Any advice?
0
The ability creates a channeled CP, which deals damage on periodic effect, nothing too fancy. I want the expire effect to reduce the next cooldown by 50%.
0
Okey, I have an ability that deals damage over time, and the effect is channeled. The ability has a cooldown of 30 seconds. This does not change. However, if the effect gets channeled for the full duration, I would like the cooldown for that one use of the ability to be reduced by 15 seconds.
For example, if somebody channels for 2 seconds, they will have to wait the full 30 seconds. If the next use of the ability they channel for the full 5 seconds, they will only have 15 seconds until the next use. Then, they use the ability again and channel for 3 seconds, they will have to wait the full 30 seconds again.
I hope that is clear enough.
0
Sorry, edited OP to specify that the remaining cooldown gets reduced, not the abilities's cooldown. For example, say the channel expires 5 seconds into the 30 seconds cooldown, I want the cooldown remaining to go down to 10 seconds.
From what I've found that only changes the cooldown of the ability.
0
Hi all, first thread on here.
I'm making a channeled ability that deals damage over time. The ability has a 30 seconds cooldown. What I want: When the effect expires, the remaining cooldown is reduced by 15 seconds, preferably done through data. Is this possible? If not, how can I do this through triggers?