So i'm quite new to this editor, and if been messing around with it since the beta went down.
I want to get the immortal's hardened shield as a upgrade in the robotics bay, just like concussive shells. I got to the point where i am able to research hardened shield, and it also shows at my immortal i need to research it. However even if i do not upgrade my hardened shield, it still works on my immortal.
Am i missing something i forgot to do? i copied most of what i did from the concussive shell upgrade and just editing the values. But maybe i overlooked something. Hopefully someone can help me on this.
You forgot the requirement. Go to requirement and search for concussive shell, duplicate it and change the info (count upgrade concussive to count upgrade hardenshield). Then go to behavior, hardened shield, in the requirement field, change it to the created one.
First off, in the requirements list. Theres a Learn concussive shell and a Use concussive shell. I actually already copied both and changed the values. But i'm unsure which one i have to use, in this picture i used Use hardened Shield but if tried Learn and it doesn't give the desired outcome either.
And i also already put the requirement at the hardened shield icon, or am i ment to put the requirment somewhere else (as well)?
Hardened Shells is a passive, so I would assume that the ability works with or without the command card button. Try adding the requirement to the ability itself.The Immortal may also have a behavior which causes Hardened Shells, I don't have my editor in front of me to check, but if that is the case, then add the requirement to the behavior.
The button in the command card is only a dummy.
Look at the Concussive shell effect for reference. It has a validator called "Punisher Greades Researched". This validator is only active if conc. shells are researched. So you can copy the validator, modify it and apply it to your effect / behavior.
I understand what you mean with the validator part, and yes it makes sense. But it still leaves me with a problem, the marauder slow effect is a ability, not a behavior like the hardened shield so it is not exactly the same. This means i am unsure where i should put my validator. This is what i tried (and didn't work as of now).
Triggering a behavior after an upgrade is tricky, since you can't edit it directly in the upgrades.
One way of handling it is to give the units that can get the upgrade a behavior which periodically calls an apply behavior effect to apply the upgrade behavior. Except by default the behavior count is 0, and then the upgrade can set the behavior count to 1 so it'll actually be applied.
Another possibility is to have the upgrade behavior's default duration be something like 0.01 seconds, and have the upgrade set the duration to 0. With this technique you need a trigger that fires when the upgrade is researched that will reapply the behavior to any existing units, but that only needs to be done once since new units will spawn with the behavior having the duration of 0 (i.e. forever.) This is a little easier but requires using triggers in addition to the data editor.
I understand what you mean with the validator part, and yes it makes sense. But it still leaves me with a problem, the marauder slow effect is a ability, not a behavior like the hardened shield so it is not exactly the same.
Nono, the Hardened shield and Marauder Slow are both behaviors and not abilities.
Search for "Hardened" in the behavior section and you'll find it. The behavior has a field called "Behavior - Validators (Disable)". Add your own behavior Validator in there and make sure it returns False when your don't have the upgrade and True when you've got it (otherwise the shield only triggers until you research the upgrade ^.^).
Ok i found the Behavior - Validators (Disable) part, but your asking me to add a "behavior" into it?
From what i am looking at right now i can only add a validator in that list. So if done that, i made a validator Immortal - Hardened Research Complete. And stuck a Requirement named Use Hardened Shield (same as concussive). But it is still not working. Right now the upgrade does not add my hardened shield, i still pound away 50 damage each shot.
Maybe it's just me lol.
Edit: Nvm, fixed it. Apparantly my hardened shield validator had taken a life of its own for some reason it was checking for a life damage equal to 10 insted of a equal or greater shield damage. Thanks everyone :3.
So i'm quite new to this editor, and if been messing around with it since the beta went down.
I want to get the immortal's hardened shield as a upgrade in the robotics bay, just like concussive shells. I got to the point where i am able to research hardened shield, and it also shows at my immortal i need to research it. However even if i do not upgrade my hardened shield, it still works on my immortal.
Am i missing something i forgot to do? i copied most of what i did from the concussive shell upgrade and just editing the values. But maybe i overlooked something. Hopefully someone can help me on this.
You forgot the requirement. Go to requirement and search for concussive shell, duplicate it and change the info (count upgrade concussive to count upgrade hardenshield). Then go to behavior, hardened shield, in the requirement field, change it to the created one.
First off, in the requirements list. Theres a Learn concussive shell and a Use concussive shell. I actually already copied both and changed the values. But i'm unsure which one i have to use, in this picture i used Use hardened Shield but if tried Learn and it doesn't give the desired outcome either.
And i also already put the requirement at the hardened shield icon, or am i ment to put the requirment somewhere else (as well)?
Anyone?
Hardened Shells is a passive, so I would assume that the ability works with or without the command card button. Try adding the requirement to the ability itself.The Immortal may also have a behavior which causes Hardened Shells, I don't have my editor in front of me to check, but if that is the case, then add the requirement to the behavior.
The button in the command card is only a dummy.
Look at the Concussive shell effect for reference. It has a validator called "Punisher Greades Researched". This validator is only active if conc. shells are researched. So you can copy the validator, modify it and apply it to your effect / behavior.
I understand what you mean with the validator part, and yes it makes sense. But it still leaves me with a problem, the marauder slow effect is a ability, not a behavior like the hardened shield so it is not exactly the same. This means i am unsure where i should put my validator. This is what i tried (and didn't work as of now).
Triggering a behavior after an upgrade is tricky, since you can't edit it directly in the upgrades.
One way of handling it is to give the units that can get the upgrade a behavior which periodically calls an apply behavior effect to apply the upgrade behavior. Except by default the behavior count is 0, and then the upgrade can set the behavior count to 1 so it'll actually be applied.
Another possibility is to have the upgrade behavior's default duration be something like 0.01 seconds, and have the upgrade set the duration to 0. With this technique you need a trigger that fires when the upgrade is researched that will reapply the behavior to any existing units, but that only needs to be done once since new units will spawn with the behavior having the duration of 0 (i.e. forever.) This is a little easier but requires using triggers in addition to the data editor.
Hope that helps.
Nono, the Hardened shield and Marauder Slow are both behaviors and not abilities.
Search for "Hardened" in the behavior section and you'll find it. The behavior has a field called "Behavior - Validators (Disable)". Add your own
behaviorValidator in there and make sure it returns False when your don't have the upgrade and True when you've got it (otherwise the shield only triggers until you research the upgrade ^.^).Ok i found the Behavior - Validators (Disable) part, but your asking me to add a "behavior" into it?
From what i am looking at right now i can only add a validator in that list. So if done that, i made a validator Immortal - Hardened Research Complete. And stuck a Requirement named Use Hardened Shield (same as concussive). But it is still not working. Right now the upgrade does not add my hardened shield, i still pound away 50 damage each shot.
Maybe it's just me lol.
Edit: Nvm, fixed it. Apparantly my hardened shield validator had taken a life of its own for some reason it was checking for a life damage equal to 10 insted of a equal or greater shield damage. Thanks everyone :3.