I have made an fortification emplacement. It consists of the lowered supply depot and the siege breaker turret. If I place this structure in the map with the terrain editor, everything is okay. But if I build this emplacement with the help of a SCV, the turret rotation is not shown.
I have pinpoint the source of the problem (maybe?) the the ability "Build In Progress": Without this ability the rotation is applied. With "Build In Progress" only the weapon backswing is shown.
I have taken a look at the tutorial Working with attachments - Beginner difficulty. If I add a build in progress abilty to the "Attachment Bunker", this structure has the same problem.
i think there is either a behavior or flag you can take off that says build in progress that should delete those problems. try that and if that doesnt work i'll have to think of something else.
@fishy77: Go
Neither I have not found any flag that controlled or effected the unit in construction / constructed unit. Nor there is any behavior set. Maybe I cannot to see the wood for the trees ;P
@DrSuperEvil: Go
I exchanged the placement model to ... bunker, supply depot (not lowered), (none), bunker (placement), supply depot (placement) ... no change at all :(
The corresponding actors for this models have no significant differences.
If I use a trigger to check the state of the construstion, it says it is finished. All that seems missing is the event "TurretEnable" to start the turret actor. But this kind of message is not available. I tried to use a behavior to enable the turret, too. No change.
The $#!+ turret is not rotating. Not in fidget mode, not while attacking.
EDIT:
Now I have managed to get it work - with a nasty trick.
I have ignored the wrong animation.
I continued to add other funtions (in this case deploying and retracting the shelter)
By accident I build the unit with its shelter active (supply depot raised) instead of its cannon active (supply depot lowered).
"Tada !" If I morph it from raised to lowered (from without cannon to with cannon) after it is constructed, the turret is rotating - in idle and in attack mode.
After I have cleaned the test map a bit, I can upload it.
To who ever might be interested ...
Here is an updated version of my Crusta Unit Demo Map. There are still some things to do (e.g. The cannon should raise from the subsurface. There should be different cannon types available). But these are other topics and I hope, I will manage most of them before I run into the next problem ;)
I have made an fortification emplacement. It consists of the lowered supply depot and the siege breaker turret. If I place this structure in the map with the terrain editor, everything is okay. But if I build this emplacement with the help of a SCV, the turret rotation is not shown.
I have pinpoint the source of the problem (maybe?) the the ability "Build In Progress": Without this ability the rotation is applied. With "Build In Progress" only the weapon backswing is shown.
Does anyone know, what might be my mistake?
Hmm, no one encountered this problem, yet?
I have taken a look at the tutorial Working with attachments - Beginner difficulty. If I add a build in progress abilty to the "Attachment Bunker", this structure has the same problem.
i think there is either a behavior or flag you can take off that says build in progress that should delete those problems. try that and if that doesnt work i'll have to think of something else.
New to the Editor? Need a tutorial? Click Here
Want data assets? Click Here
It is probably the placement model on the Unit actor.
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
@fishy77: Go Neither I have not found any flag that controlled or effected the unit in construction / constructed unit. Nor there is any behavior set. Maybe I cannot to see the wood for the trees ;P
@DrSuperEvil: Go I exchanged the placement model to ... bunker, supply depot (not lowered), (none), bunker (placement), supply depot (placement) ... no change at all :( The corresponding actors for this models have no significant differences.
If I use a trigger to check the state of the construstion, it says it is finished. All that seems missing is the event "TurretEnable" to start the turret actor. But this kind of message is not available. I tried to use a behavior to enable the turret, too. No change.
The $#!+ turret is not rotating. Not in fidget mode, not while attacking.
EDIT:
Now I have managed to get it work - with a nasty trick.
After I have cleaned the test map a bit, I can upload it.
To who ever might be interested ... Here is an updated version of my Crusta Unit Demo Map. There are still some things to do (e.g. The cannon should raise from the subsurface. There should be different cannon types available). But these are other topics and I hope, I will manage most of them before I run into the next problem ;)