So I'm having trouble with a custom unit. I have a normal zergling that can morph into a "Fast Zergling" just like morphing into a baneling. I got everything to work ability/unit wise. When I tested it, it would morph into the Fast Zergling, but then it would not be selectable. It could be pushed around, but you couldn't click it. I've looked at the unit and the ability but I can't seem to find what's wrong.
Could it be you have it checked "Unselectable" in the unit's "Stats - Flags" section of the data editor? Or any of the other flags there that could render it unclickable?
Nope, I copied it directly from the basic Zergling (as per this guide: http://www.sc2mapster.com/api-docs/getting-started-with-galaxy-edit/creating-your/ ). The "morph" ability works. But when the unit is done morphing, it cannot be clicked. Something I just noticed, while it is still morphing, you see 2 health bars and 2 loading bars, but it's only one unit.
I downloaded the map, and pretty much the first thing I saw was that "Cannot Be Clicked" and "Cannot Be Highlighted" was checked, should give it another look if I were you :)
For some reason that's the default setting for units. I tried unchecking those boxes but it didn't work. The normal Zergling has those boxes checked, but it doesn't bug out.
I just duplicated the Zergling in all entirety. I edited a few stats on the Fast Zergling, but that was it. I found out that if you select the cocoon and another unit before the Fast Zergling finishes morphing, you can control the Fast Zergling. But you cannot select it individually. The Baneling does not have this problem. I just copied the Zergling - Morph (Zergling -> Baneling) ability and made it Zergling -> Fast Zergling. I will update when I try the Zealot test.
Update: I tried to get the zealot to morph, but there was a problem with the actors. The Zergling can morph into an Egg, but when it morphs into a Fast Zergling, the Egg actor doesn't dissappear, and I have the same movement problem as below. I did some editing, and found that somehow I fixed the selectable issue with the Fast Zergling. However, now the original Zergling cannot move. I get the "No units can handle that command" error when I try to move it.
I have no idea how. I'm basing it off of the Zergling - Morph (Zergling -> Baneling) ability, but the final actors aren't appearing. I placed the units directly using the terrain editor, and they can be controlled (Except for the Zergling).
Edit: I've uploaded the most current version of the map.
Edit: I managed to fix the movement issues, and the morph is working mostly correctly. The only problem is that when I begin the morph, the Zergling actor does not disappear, and when I complete it, the Zerg Egg actor does not disappear.
Edit: I've uploaded the latest file I'm using right now. I would appreciate it if someone could take a look at the map and try to help me figure out my actor problem.
(Bump) Has anyone else had this problem? When I morph, the original actor does not disappear, and when the morph is finished, the cocoon does not disappear. The units work, but the actors don't. There are 6 instances in my map where one unit can morph into another. So far, the only one working is Hatchery -> Lair. Somehow I broke Zergling -> Baneling.
Zergling > Baneling Cocoon > Zergling - Morph Unit (Zergling -> Baneling)
then make a new Cocoon or dupe 1
Zergling > Fast Zergling Cocoon > Zergling - Morph Unit (Zergling -> Fast Zergling)
In
*Zergling - Morph Unit (Zergling -> Fast Zergling)
Ability - Info + (remove Baneling Cocoon) and (Fast Zergling) add Fast Zergling Cocoon
then link the (Fast Zergling Cocoon) to Fast Zergling
with this u need to make a new actor and i think model for the Fast Zergling Cocoon
or
just remove
*Zergling - Morph Unit (Zergling -> Fast Zergling)
Ability - Info + (remove Baneling Cocoon) add (Fast Zergling)
Zergling > Baneling Cocoon > Zergling - Morph Unit (Zergling -> Baneling)
then make a new Cocoon or dupe 1
Zergling > Fast Zergling Cocoon > Zergling - Morph Unit (Zergling -> Fast Zergling)
[I did this.]
In
*Zergling - Morph Unit (Zergling -> Fast Zergling)
Ability - Info + (removeBaneling Cocoon) and (Fast Zergling) add Fast Zergling Cocoon
[I did this.]
then link the (Fast Zergling Cocoon) to Fast Zergling
[I'm not sure how to do this.]
with this u need to make a newactor and i thinkmodel for the Fast Zergling Cocoon
[I think I did this. I just duplicated the Zerg Egg model and all.]
----
See comments in [].
Current Bugs.
The Zergling -> Baneling morph gives me the weird double-actor bug still. The Fast Zergling Egg actor doesn't show up at all. After about 1 minute from birth, Zerglings become unselectable. This only happens to Zerglings.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
So I'm having trouble with a custom unit. I have a normal zergling that can morph into a "Fast Zergling" just like morphing into a baneling. I got everything to work ability/unit wise. When I tested it, it would morph into the Fast Zergling, but then it would not be selectable. It could be pushed around, but you couldn't click it. I've looked at the unit and the ability but I can't seem to find what's wrong.
Could it be you have it checked "Unselectable" in the unit's "Stats - Flags" section of the data editor? Or any of the other flags there that could render it unclickable?
Nope, I copied it directly from the basic Zergling (as per this guide: http://www.sc2mapster.com/api-docs/getting-started-with-galaxy-edit/creating-your/ ). The "morph" ability works. But when the unit is done morphing, it cannot be clicked. Something I just noticed, while it is still morphing, you see 2 health bars and 2 loading bars, but it's only one unit.
Bump. Attached map.
I downloaded the map, and pretty much the first thing I saw was that "Cannot Be Clicked" and "Cannot Be Highlighted" was checked, should give it another look if I were you :)
For some reason that's the default setting for units. I tried unchecking those boxes but it didn't work. The normal Zergling has those boxes checked, but it doesn't bug out.
Edit: I made a "map", and moved the file there: http://www.sc2mapster.com/maps/creep-defense/
You're using the zergling model twice, right? Which morph ability are you using? Did you duplicate one, or create your own.
Try changing the fz's model to a zealot or something, and see if the ability still works/doesn't. I had lots of trouble with morphing myself.
I just duplicated the Zergling in all entirety. I edited a few stats on the Fast Zergling, but that was it. I found out that if you select the cocoon and another unit before the Fast Zergling finishes morphing, you can control the Fast Zergling. But you cannot select it individually. The Baneling does not have this problem. I just copied the Zergling - Morph (Zergling -> Baneling) ability and made it Zergling -> Fast Zergling. I will update when I try the Zealot test.
Update: I tried to get the zealot to morph, but there was a problem with the actors. The Zergling can morph into an Egg, but when it morphs into a Fast Zergling, the Egg actor doesn't dissappear, and I have the same movement problem as below. I did some editing, and found that somehow I fixed the selectable issue with the Fast Zergling. However, now the original Zergling cannot move. I get the "No units can handle that command" error when I try to move it.
How are your events on the morph? Do you create the actors properly?
@Quelor: Go
I have no idea how. I'm basing it off of the Zergling - Morph (Zergling -> Baneling) ability, but the final actors aren't appearing. I placed the units directly using the terrain editor, and they can be controlled (Except for the Zergling).
Edit: I've uploaded the most current version of the map.
Edit: I managed to fix the movement issues, and the morph is working mostly correctly. The only problem is that when I begin the morph, the Zergling actor does not disappear, and when I complete it, the Zerg Egg actor does not disappear.
Edit: I've uploaded the latest file I'm using right now. I would appreciate it if someone could take a look at the map and try to help me figure out my actor problem.
@Hakiki: Go
What the hell are those flags for anyway? The default for all units is to be unselectable and unclickable, but that is obviously not true.
(Bump) Has anyone else had this problem? When I morph, the original actor does not disappear, and when the morph is finished, the cocoon does not disappear. The units work, but the actors don't. There are 6 instances in my map where one unit can morph into another. So far, the only one working is Hatchery -> Lair. Somehow I broke Zergling -> Baneling.
first u got 1 egg doing 2 job
so to fix this set
Zergling > Baneling Cocoon > Zergling - Morph Unit (Zergling -> Baneling)
then make a new Cocoon or dupe 1
Zergling > Fast Zergling Cocoon > Zergling - Morph Unit (Zergling -> Fast Zergling)
In
*Zergling - Morph Unit (Zergling -> Fast Zergling)
Ability - Info + (remove Baneling Cocoon) and (Fast Zergling) add Fast Zergling Cocoon
then link the (Fast Zergling Cocoon) to Fast Zergling
with this u need to make a new actor and i think model for the Fast Zergling Cocoon
or
just remove
*Zergling - Morph Unit (Zergling -> Fast Zergling)
Ability - Info + (remove Baneling Cocoon) add (Fast Zergling)
Quote from f9angel:
Zergling > Baneling Cocoon > Zergling - Morph Unit (Zergling -> Baneling)
then make a new Cocoon or dupe 1
Zergling > Fast Zergling Cocoon > Zergling - Morph Unit (Zergling -> Fast Zergling)
[I did this.]
In
*Zergling - Morph Unit (Zergling -> Fast Zergling)
Ability - Info + (removeBaneling Cocoon) and (Fast Zergling) add Fast Zergling Cocoon
[I did this.]
then link the (Fast Zergling Cocoon) to Fast Zergling
[I'm not sure how to do this.]
with this u need to make a newactor and i thinkmodel for the Fast Zergling Cocoon
[I think I did this. I just duplicated the Zerg Egg model and all.]
----
See comments in [].
Current Bugs.
The Zergling -> Baneling morph gives me the weird double-actor bug still. The Fast Zergling Egg actor doesn't show up at all. After about 1 minute from birth, Zerglings become unselectable. This only happens to Zerglings.