Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
I have automated refinery and basic terran refinery converted into unit production structures, and I set both to play work animation while training, but for some reason regular refinery doesn't work, unlike automated refinery. Any idea what is wrong?
I am guessing it might have something to do with either not firing the event (maybe "any" is not supported for train event?) or that it is not seeing "Work D" as a valid animation.
Try applying "Work D". Or adding animation group D.
Animations are very tricky to get right. I am still learning them slowly.
I am guessing it might have something to do with either not firing the event (maybe "any" is not supported for train event?) or that it is not seeing "Work D" as a valid animation.
Try applying "Work D". Or adding animation group D.
Animations are very tricky to get right. I am still learning them slowly.
Nope, it didn't work with event change, I had it previously set to be BarracksTrain already, this was just an experiment to see if it works this way. Also, changing it to Work D didn't change anything either, unfortunately.
Also, there is Work D and Work D 01, while automated refinery has only Work D, maybe that has something to do with it.
That is what animation groups are for. They specify a generic animation to play (eg attack). Which variant (00, 01, 02 etc) plays is then chosen based on animation properties such as frequency. This allows one to have rare animations such as a dog scratching itself or sniffing its behind that only get seen once in a blue-moon.
Using the explicit "play animation" you should be able to select specific animations from an animation group to play.
That is what animation groups are for. They specify a generic animation to play (eg attack). Which variant (00, 01, 02 etc) plays is then chosen based on animation properties such as frequency. This allows one to have rare animations such as a dog scratching itself or sniffing its behind that only get seen once in a blue-moon.
Using the explicit "play animation" you should be able to select specific animations from an animation group to play.
Hmm, so play animation works only with specific animations, yes? Since I would prefer both animation (one has left robotic arm pick up the barrel, another has right arm pick up a barrel).
Anyways, um, any clue what else can be wrong if this yields no results either?
You will have to post the map with the refineries in it. Without being able to see all the events, and all macros attached to the refinery actors I cannot rule out that actions are not interfering with your animation play.
Specifically since the animation has barrels coming out of both sides. It sounds like it could require special ordering (to make sure a barrel does not come out of only one side). As such there might be more to it than simple animation playing.
You will have to post the map with the refineries in it. Without being able to see all the events, and all macros attached to the refinery actors I cannot rule out that actions are not interfering with your animation play.
Specifically since the animation has barrels coming out of both sides. It sounds like it could require special ordering (to make sure a barrel does not come out of only one side). As such there might be more to it than simple animation playing.
Problem is because of how the work animation is implemented on the model. Automated refinery uses standard work animation practice of looping. The normal refinery has non-looping work animations.
However with a bit of hacking around I present to you the solution.
Paste this over the Refinery actor entry in your map. To do this open Data editor, go to actor catalog and then enable XML View (either from menus or with hotkey Ctrl + 3). Paste over the current entry (which runs from opening tag to closing tag).
How it works is that it explicitly plays the Word D animation. When any Work D animation expires it plays Work D again. So that it reliably varies which side it uses a Status is kept by the actor. This is incremented after every work animation completion and bounded to have values of only 0 and 1. To prevent action duplication a signal to play work animation is used so that the animation sequence can be started initially when training begins and so that it can be looped once it finishes. In response to the signal it either players variation 0 of the animation or variation 1 depending on what the current status is.
Result is that when training a Marine from it, canisters appear to be constantly loaded into the middle section from both sides in sequence.
Problem is because of how the work animation is implemented on the model. Automated refinery uses standard work animation practice of looping. The normal refinery has non-looping work animations.
However with a bit of hacking around I present to you the solution.
Paste this over the Refinery actor entry in your map. To do this open Data editor, go to actor catalog and then enable XML View (either from menus or with hotkey Ctrl + 3). Paste over the current entry (which runs from opening tag to closing tag).
How it works is that it explicitly plays the Word D animation. When any Work D animation expires it plays Work D again. So that it reliably varies which side it uses a Status is kept by the actor. This is incremented after every work animation completion and bounded to have values of only 0 and 1. To prevent action duplication a signal to play work animation is used so that the animation sequence can be started initially when training begins and so that it can be looped once it finishes. In response to the signal it either players variation 0 of the animation or variation 1 depending on what the current status is.
Result is that when training a Marine from it, canisters appear to be constantly loaded into the middle section from both sides in sequence.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.