I finally remembered that there is already an ability that works in a similar fashion - Fungal. Once I remember that, it just took a few minutes of reviewing the actor before I realized what I needed to change.
I created a model that is placed on a unit when an ability is activated. However, the model is too small for any unit. I'd like the scale of the model to match the size of the unit the ability targets, but I'm not sure how to do that.
There is the Set Scale message, but that seems to increase the size of whatever I target equally. Is there any way to scale the model size dynamically?
Finally got it working! That took far more hours than it should have.
All I changed was I set the Clear Tint Color message Target to _Unit and I gave the Set Tint Color and Clear Tint Color messages the same Label; for former of which I believe fixed it.
I have an ability which applies a tint color to a unit when the ability is activated. My issue is that when the ability ends, the tint color isn't removed. At this point I'm not sure how to fix this. I haven't been able to find any good information online either. I have been using the Seeker Missile tint as a reference and that got me this far which is pretty good imo.
The Benign attribute is applied correctly, the tint color is at least applied, the ability last for 30 seconds as expected, but I just can't get the tint to stop taking effect when the ability ends. Any ideas?
Behavior (Buff)
Stats: Duration set to 30.0.
Behavior: State Flags Benign is checked.
Effect (Apply Behavior)
Not doing anything but applying the above behavior.
I would, but I can't figure out where to add it. I've looked at both the unit and morph abilities for the Command Center, but I don't see a section like that anywhere. I have been looking for such a requirement on the CC so I can replicate it for my morph, but my problem has been I don't know where it is.
I want it to work like the Command Center -> Orbital Command/Planetary Fortress morph. If there's an SCV in the build queue, the morph button becomes grayed out and you cannot morph until there's nothing in the queue.
That part makes sense. Though I'm still confused as to why it suddenly worked now compared to when I changed it to Target Point this past weekend and it was still having issues.
Sigh..... so I fixed this issue, but let me tell you exactly what I did...
Target: Impact Location Value is set to Target Unit/Point.
Changed the Target: Impact Location Value to Target Point.
Published - snapping still occurring.
Added the Search Effect as the Target: Impact Location Effect.
Changed the Target: Impact Location Value to Target Point.
Published - snapping no longer occurring.
Removed the Search Effect as the Target: Impact Location Effect.
Published - snapping still not occurring.
Changed Target: Impact Location Value back to Target Unit/Point.
Published - snapping occurs again.
This editor makes no sense sometimes.
What makes even less sense is that the Psi Storm search effect and the search effect of the other custom ability I created work just fine with the Impact Location set to Target Unit/Point. I'm running into the weirdest issues.
Anyone have further thoughts on this? I still haven't been able to figure it out at all. If needed, I can upload my mod file so you could take a look at it first hand.
Impact location is already set to Target Unit/Point which should work as that's the same setup as Psi Storm. I tried changing it to just Target Point the other day, but that didn't fix anything.
I see. So I tested that change and it actually improved the ability quite a bit - though it's still not quite right.
The ability is now properly applying the shield buff to all my units in the target area, but the effect is still 'snapping' to a unit if one is too close to my cursor. This is somewhat troublesome as it can limit what units receive the buff if it unexpectedly snaps in one direction.
0
Managed to figure this out!
I finally remembered that there is already an ability that works in a similar fashion - Fungal. Once I remember that, it just took a few minutes of reviewing the actor before I realized what I needed to change.
0
I created a model that is placed on a unit when an ability is activated. However, the model is too small for any unit. I'd like the scale of the model to match the size of the unit the ability targets, but I'm not sure how to do that.
There is the Set Scale message, but that seems to increase the size of whatever I target equally. Is there any way to scale the model size dynamically?
0
Finally got it working! That took far more hours than it should have.
All I changed was I set the Clear Tint Color message Target to _Unit and I gave the Set Tint Color and Clear Tint Color messages the same Label; for former of which I believe fixed it.
0
@TyaArcade: Go
The Target of the ClearTintColor message is set to EvadeTintRed and the 'bounce' effect is working when I test.
There aren't spaces in the tint name, it's set to EvadeTintRed.
0
I have an ability which applies a tint color to a unit when the ability is activated. My issue is that when the ability ends, the tint color isn't removed. At this point I'm not sure how to fix this. I haven't been able to find any good information online either. I have been using the Seeker Missile tint as a reference and that got me this far which is pretty good imo.
The Benign attribute is applied correctly, the tint color is at least applied, the ability last for 30 seconds as expected, but I just can't get the tint to stop taking effect when the ability ends. Any ideas?
Behavior (Buff)
Effect (Apply Behavior)
Not doing anything but applying the above behavior.
Actor (Simple)
Behavior.Evade.On
-> Create
ActorCreation
-> SetTintColor 255,50,50 1.000000 Bounce EvadeTintRed
Behavior.Evade.Off
-> ClearTintColor 0.500000
Behavior.Evade.Off
-> Destroy
0
@DrSuperEvil: Go
I would, but I can't figure out where to add it. I've looked at both the unit and morph abilities for the Command Center, but I don't see a section like that anywhere. I have been looking for such a requirement on the CC so I can replicate it for my morph, but my problem has been I don't know where it is.
0
@DrSuperEvil: Go
I want it to work like the Command Center -> Orbital Command/Planetary Fortress morph. If there's an SCV in the build queue, the morph button becomes grayed out and you cannot morph until there's nothing in the queue.
0
@DrSuperEvil: Go
i created this one from scratch and have been trying to match settings to other morphs.
0
@TyaArcade: Go
That part makes sense. Though I'm still confused as to why it suddenly worked now compared to when I changed it to Target Point this past weekend and it was still having issues.
0
Sigh..... so I fixed this issue, but let me tell you exactly what I did...
This editor makes no sense sometimes.
What makes even less sense is that the Psi Storm search effect and the search effect of the other custom ability I created work just fine with the Impact Location set to Target Unit/Point. I'm running into the weirdest issues.
0
Anyone have further thoughts on this? I still haven't been able to figure it out at all. If needed, I can upload my mod file so you could take a look at it first hand.
0
@TyaArcade: Go
Impact location is already set to Target Unit/Point which should work as that's the same setup as Psi Storm. I tried changing it to just Target Point the other day, but that didn't fix anything.
0
@TyaArcade: Go
I see. So I tested that change and it actually improved the ability quite a bit - though it's still not quite right.
The ability is now properly applying the shield buff to all my units in the target area, but the effect is still 'snapping' to a unit if one is too close to my cursor. This is somewhat troublesome as it can limit what units receive the buff if it unexpectedly snaps in one direction.
0
Here's a short clip of the 'snapping' behavior I'm seeing: http://webmshare.com/play/MA5rj
@FunkyUserName: Go
So far I've only tested on my units. It shouldn't be able to target enemy units given how I configured it.
@TyaArcade: Go
My search effect does have Nexus - Recharge (Apply) set as the Effect in the (Basic) Search: Areas section, is this what you are referring to?
0
@dragozal: Go
Perfect! That's just what I needed. Thanks a bunch.