What I'm trying to do is to make a changeling that morphs into a zealot that's a normal zealot but still the differently colored actor. Here's what I did:
1. Duplicated (original > duplicate's name):
-Changeling [unit] > "Changeling Hero"
-Zealot [unit] > "Zealot (Changeling Hero)"
-Changeling [actor] > "Changeling Hero"
-Changeling (Zealot) [actor] > "Zealot (Changeling Hero)"
-Changeling -- Morph Zealot [ability] > "Changeling -- Shapeshift Zealot"
2. Set the "Changeling Hero" [actor] to work for the "Changeling Hero" [unit] and same for "Zealot (Changeling Hero)" actor and unit.
3. Set Shapeshift Zealot's attached unit from "Changeling (Zealot)" to "Zealot (Changeling Hero)"
4. Opened "Changeling Hero" [unit]'s ability list to remove "Morph Zealot" and add "Shapeshift Zealot"
So.. THEORETICALLY.. what should happen is i have a seemingly normal changeling, but when I approach a protoss unit, he morphs into a normal zealot (able to attack and what not) but looks like the off-color changeling zealot model.
What ACTUALLY happens is that whenever I approach a protoss unit, the changeling loops the animation it plays right before turning into the new actor. It never actually morphs into the custom zealot unit. What did i forget?!?!
PS is it possible to add something to that ability that makes the changeling turn back into a changeling when he leaves the event area, or do i have to make a whole new ability?
You probably didn't change the changelings actor events and something is conflicting there with the new zealot actor. If you want to post your map here I can take a look, not much else I can really say other than look at your actor events and make sure everything is right.
map attached.I'm not very bright when it comes to the data editor, so I don't know how to do the actor events, but that might be it
Well, unfortunately I couldn't figure out what was going wrong with your new zealot that you duplicated, but the good news is that if you just switch the changeling's ability back to the regular Disguise as Zealot, all you have to do to allow to zealot to attack is add the 'attack' ability to the Changeling (Zealot) unit and remove its 'Changeling Disable' behavior. This will make it so it can freely attack using the normal zealot weapon and it won't get instantly killed when the changeling is attacked.
I know I can do that, but I want to duplicate everything that I'm changing, so that I can have both my changed versions and the normal versions available :/
Trouble is "There can only be one!" when it comes to Unit actors. You must destroy the old one first and then create the new one after a 1/16 sec delay.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Not sure what behaviors do (i'm mostly a trigger guy, not data..) But i just looked at it and its not linked to any of the morphing abilities that I can tell. I just need to know what to do so the changeling will stop looping its animation and actually transform into the Zealot (Changeling Hero) unit
Not sure what behaviors do (i'm mostly a trigger guy, not data..) But i just looked at it and its not linked to any of the morphing abilities that I can tell. I just need to know what to do so the changeling will stop looping its animation and actually transform into the Zealot (Changeling Hero) unit
I'm sorry I don't have more time to look at it because I'm currently swamped, but I'll post my discoveries here so maybe someone else can figure it out:
The problem is mechanical (a non-actor issue)
I've narrowed the problem down to the changeling behavior is not getting properly removed
This makes it so when it finds a unit to mimic it starts the morph animation (but keeps doing so because it keeps finding that unit every .5 sec)
I got stuck at being unable to determine why the behavior is not being removed. A "remove behavior" effect is clearly being used.
There are many other issues that have not yet surfaced until you fix this bug, but they are easier to fix
The behaviour uses a periodic Search Area effect to find a single enemy unit within range. Based on the eveny unit race (via Unit Compare Field validators) a Switch effect then uses a Set effect to use both a Modify Unit effect to mimic the team colour and an Issue Order effect to tell it to use one of the Morph abilities the changeling has.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
What I'm trying to do is to make a changeling that morphs into a zealot that's a normal zealot but still the differently colored actor. Here's what I did:
1. Duplicated (original > duplicate's name):
-Changeling [unit] > "Changeling Hero"
-Zealot [unit] > "Zealot (Changeling Hero)"
-Changeling [actor] > "Changeling Hero"
-Changeling (Zealot) [actor] > "Zealot (Changeling Hero)"
-Changeling -- Morph Zealot [ability] > "Changeling -- Shapeshift Zealot"
2. Set the "Changeling Hero" [actor] to work for the "Changeling Hero" [unit] and same for "Zealot (Changeling Hero)" actor and unit.
3. Set Shapeshift Zealot's attached unit from "Changeling (Zealot)" to "Zealot (Changeling Hero)"
4. Opened "Changeling Hero" [unit]'s ability list to remove "Morph Zealot" and add "Shapeshift Zealot"
So.. THEORETICALLY.. what should happen is i have a seemingly normal changeling, but when I approach a protoss unit, he morphs into a normal zealot (able to attack and what not) but looks like the off-color changeling zealot model.
What ACTUALLY happens is that whenever I approach a protoss unit, the changeling loops the animation it plays right before turning into the new actor. It never actually morphs into the custom zealot unit. What did i forget?!?!
PS is it possible to add something to that ability that makes the changeling turn back into a changeling when he leaves the event area, or do i have to make a whole new ability?
@ctccromer: Go
You probably didn't change the changelings actor events and something is conflicting there with the new zealot actor. If you want to post your map here I can take a look, not much else I can really say other than look at your actor events and make sure everything is right.
map attached. I'm not very bright when it comes to the data editor, so I don't know how to do the actor events, but that might be it
Well, unfortunately I couldn't figure out what was going wrong with your new zealot that you duplicated, but the good news is that if you just switch the changeling's ability back to the regular Disguise as Zealot, all you have to do to allow to zealot to attack is add the 'attack' ability to the Changeling (Zealot) unit and remove its 'Changeling Disable' behavior. This will make it so it can freely attack using the normal zealot weapon and it won't get instantly killed when the changeling is attacked.
I know I can do that, but I want to duplicate everything that I'm changing, so that I can have both my changed versions and the normal versions available :/
Trouble is "There can only be one!" when it comes to Unit actors. You must destroy the old one first and then create the new one after a 1/16 sec delay.
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
Is there a way to do this in the data editor or do I have to make a trigger for it? Also exactly which unit do I need to destroy/replace?
You do know the changeling has a behaviour called Changeling Disguise that orders the unit to morph.
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
Not sure what behaviors do (i'm mostly a trigger guy, not data..) But i just looked at it and its not linked to any of the morphing abilities that I can tell. I just need to know what to do so the changeling will stop looping its animation and actually transform into the Zealot (Changeling Hero) unit
I'm sorry I don't have more time to look at it because I'm currently swamped, but I'll post my discoveries here so maybe someone else can figure it out:
The behaviour uses a periodic Search Area effect to find a single enemy unit within range. Based on the eveny unit race (via Unit Compare Field validators) a Switch effect then uses a Set effect to use both a Modify Unit effect to mimic the team colour and an Issue Order effect to tell it to use one of the Morph abilities the changeling has.
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