I'm redesigning the Sentry for my melee mod and I need help. I want each Sentry to create only one Force Field at a time, and while it exists, replace the button by a cancel button, which would destroy the Force Field if pressed. But the cancel-button isn't even showing; I guess it's due to the ability not being channeled because the effect just expires after creating the Force Field unit. So I tried to add a persistent effect, but to no avail. Has someone an idea how to accomplish this?
Instead of the effect-targetted ability? But this ability is targetted and I need it to be. Behavior ability doesn't have for example the cursor effect.
Ah, was thinking of the other sentry shield ability.
Make the Create Unit effect used to create the force fields apply a Buff behaviour to them that periodically uses a Damage effect with the kill flag that validates if the caster of the Create Unit effect has a Buff behaviour on it. You can then use an Effect - Instant ability to apply the buff that permits the force fields to suicide.
Alright, got it. I've done it slightly differently, because I have already some effects in place.
The behavior appears on the Sentry, when Forcefield is cast. The Forcefield itself has a behavior with a Timed Life Fate expire effect (that's actually Blizzards work), which is causing the Forcefield to collapse. I added a validator to check whether the caster has this behavior. Working fine till now. Tomorrow I'll add the button to remove the behavior and thus kill the Forcefield, so the important part is done. Thanks. The last thing I wanted is for the Forcefield button to disappear and the cancel button to appear, when the Forcefield is cast. Like for example on Mind control from Infestor. But I have no idea how to do that.
Set the buttons to Restricted under the abilities and then give them requirements set to Show. In your case use the behaviour that if <1 then show the force field button but if >0 show the cancel button.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
You're very helpful, DrSuperEvil. Thank you. I've changed my initial plan and left the cast-Forcefield-button to be able to recast it. I added a button with the Restriction, which shows when the Behavior is active and has an Instant Effect to remove the Behavior. So it's done! :) Wow, this was a lot of work for a tiny thing... this editor could really use an overhaul.
True. That's one big problem though. I stumbled on a thread recently, where people criticised the editor and arcade system. 90% of the posters agreed that it's not worth it to spend time with the SC2 editor, they either went back to Wc3 where most of them have been coming from, or to Unity. The thread was 1 year old - around LotV release. And still these problems.
Hello,
I'm redesigning the Sentry for my melee mod and I need help. I want each Sentry to create only one Force Field at a time, and while it exists, replace the button by a cancel button, which would destroy the Force Field if pressed. But the cancel-button isn't even showing; I guess it's due to the ability not being channeled because the effect just expires after creating the Force Field unit. So I tried to add a persistent effect, but to no avail. Has someone an idea how to accomplish this?
Thanks in advance.
Use a Behavior type ability.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Instead of the effect-targetted ability? But this ability is targetted and I need it to be. Behavior ability doesn't have for example the cursor effect.
Ah, was thinking of the other sentry shield ability.
Make the Create Unit effect used to create the force fields apply a Buff behaviour to them that periodically uses a Damage effect with the kill flag that validates if the caster of the Create Unit effect has a Buff behaviour on it. You can then use an Effect - Instant ability to apply the buff that permits the force fields to suicide.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Alright, got it. I've done it slightly differently, because I have already some effects in place.
The behavior appears on the Sentry, when Forcefield is cast. The Forcefield itself has a behavior with a Timed Life Fate expire effect (that's actually Blizzards work), which is causing the Forcefield to collapse. I added a validator to check whether the caster has this behavior. Working fine till now. Tomorrow I'll add the button to remove the behavior and thus kill the Forcefield, so the important part is done. Thanks. The last thing I wanted is for the Forcefield button to disappear and the cancel button to appear, when the Forcefield is cast. Like for example on Mind control from Infestor. But I have no idea how to do that.
Set the buttons to Restricted under the abilities and then give them requirements set to Show. In your case use the behaviour that if <1 then show the force field button but if >0 show the cancel button.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
You're very helpful, DrSuperEvil. Thank you. I've changed my initial plan and left the cast-Forcefield-button to be able to recast it. I added a button with the Restriction, which shows when the Behavior is active and has an Instant Effect to remove the Behavior. So it's done! :) Wow, this was a lot of work for a tiny thing... this editor could really use an overhaul.
Thanks again!
The editor is powerful with regards to customisation, more so than many other editors. Problem is the devil is in the detail.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
True. That's one big problem though. I stumbled on a thread recently, where people criticised the editor and arcade system. 90% of the posters agreed that it's not worth it to spend time with the SC2 editor, they either went back to Wc3 where most of them have been coming from, or to Unity. The thread was 1 year old - around LotV release. And still these problems.
Yeah I read that one. WC3 was user friendly but all you could do was adjust the output values of an ability and not the mechanics or visuals.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg