I made a building based on the terran barracks, and I created an upgraded version of it. I made an ability to morph the lvl 1 barracks to lvl 2 and it works, except from it looks kind of dull. I would like to have the terran build animation run while upgrading.
I assume I need to make some kind of mix between the actors Terran Construction and Zerg Lair To Hive Progress, but I can't figure out how the Zerg actor activate when the Lair is upgraded.
Using the data editor for this seems too hard. I am now trying to resolve it with triggers, so what I try is that when the morph ability is used, I create a new model actor based on the Barracks Build model. But I want it to skip straight to the Birth C Stand animation, and loop it. I can't seem to figure out how to make it loop.
If I call the Animation - Play animation.. with Play Forever flagged it still only play the animation once, and then loop Birth A Stand..
So, anyone who figured out how to order an actor to loop an animation?
hmm. you know, you just rezzed a 100 day old thread..
But on topic.. Your solution is based around playing an animation in the events of the barracks actor, and since this actor does not contain the barracks build animation (I did reefer to the model Barracks Build), so I don't see how it would work - did you test it? (I didn't)
Anyway, I solved this with triggers a long time ago - not the most elegant solution, but it works nicely ingame.
and there I went rezzing a 7 day old thread :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I made a building based on the terran barracks, and I created an upgraded version of it. I made an ability to morph the lvl 1 barracks to lvl 2 and it works, except from it looks kind of dull. I would like to have the terran build animation run while upgrading.
I assume I need to make some kind of mix between the actors Terran Construction and Zerg Lair To Hive Progress, but I can't figure out how the Zerg actor activate when the Lair is upgraded.
Anyone here who have figured this one out?
Using the data editor for this seems too hard. I am now trying to resolve it with triggers, so what I try is that when the morph ability is used, I create a new model actor based on the Barracks Build model. But I want it to skip straight to the Birth C Stand animation, and loop it. I can't seem to figure out how to make it loop. If I call the Animation - Play animation.. with Play Forever flagged it still only play the animation once, and then loop Birth A Stand..
So, anyone who figured out how to order an actor to loop an animation?
Ex : Barracks Will upg to factory
Go toyour barracks actor
1. Go to Events
2. Add events
3. Add 2 terms
4. Set term 1 to Morph From ( Chose your buildings ( Ex: Barracks ) )
5. Set term 2 to Morph To ( Chose your buildings ( Ex: factory ) )
6. Set The events Abil Morph * Start
7. Set the action to play animation ( Chose your animation )
8. Go to Events
9. Add events
10. Add 2 terms
11. Set term 1 to Morph From ( Chose your buildings ( Ex: Barracks ) )
12. Set term 2 to Morph To ( Chose your buildings ( Ex: factory ) )
13. Set The events Abil Morph * Finish
14. Stop animation
15. Go to Events
16. Add events
17. Add 2 terms
18. Set term 1 to Morph From ( Chose your buildings ( Ex: Barracks ) )
19. Set term 2 to Morph To ( Chose your buildings ( Ex: factory ) )
20. Set The events Abil Morph * Finish
21. Set the action to Destroy
22. Go To your factory
23. Add events
24. Add 2 terms
25. Set term 1 to Morph From ( Chose your buildings ( Ex: Barracks ) )
26. Set term 2 to Morph To ( Chose your buildings ( Ex: factory ) )
27. Set The events Abil Morph * Finish
28. Set the action to Create
hmm. you know, you just rezzed a 100 day old thread..
But on topic.. Your solution is based around playing an animation in the events of the barracks actor, and since this actor does not contain the barracks build animation (I did reefer to the model Barracks Build), so I don't see how it would work - did you test it? (I didn't)
Anyway, I solved this with triggers a long time ago - not the most elegant solution, but it works nicely ingame.
and there I went rezzing a 7 day old thread :)