If you check the map you will see the marine works fine. The only problem is the health bar, it doesn't appear anymore.
I think is something in the turret actor , something missing, or I have to add something to make the health bar on ?
Go to the actor and type "flag" in the search bar. I don't remember off the top of my head which one it is, but whichever one it is, there should be an option called "supress life bar" or something. Make sure that's unchecked.
Go to the actor and type "flag" in the search bar. I don't remember off the top of my head which one it is, but whichever one it is, there should be an option called "supress life bar" or something. Make sure that's unchecked.
Unfortunately, that is not it.
Quote:
I played around a little, and it seems adding an attach type site operation to a unit actor will always result in the status bars being lost. The only solution I found so far is giving the actual unit the phoenix model and make it invisible, while attaching a model resembling the unit, in this case the marine. However, I do not like the solution, because you would need to handle all the attack animations etc on the attached model, you would need to add a Site actor to handle launch effects, missile start points, you would need to take care of incoming effect attachments etc etc... it works, but its a mess.
This is a pm I sent to gorjdesign. If anyone finds a better solution or a way to show the status bar regardless of the site operation, feel free to share :)
I have managed to do something weird but seems to work.
It could use some improvements but I am so bad at editing :)
So what I did is just create an actor and made a copy of the model of the phoenix . I changed the size of the model , made it very small, then use the events from the phoenix and added unit birth -> attach model offset, in there I add the actor I made, the copy of the model and set it .
So now I go in the copied model that I attached and just change the model.m3 to what unit I want and the size of it.
The problem is the hit selection. If I make the original unit too small It is hard to select it. There is probably somewhere to edit to increase the hit/click selection to make it bigger. Too tired to find it out where right now ...
Maybe there is a way to make it invisible and don't need all this ...
Change the opacity to 0 instead of changing the size. It will make the original unit invisible without affecting hit selection or attachments (if you configure the attachments not to inherit opacity).
Hehe, I added Unit Birth -> set Opacity to my phoenix actor events , than removed opacity from inherited properties of my attached actor. Now it works like a charm :)
It took a while , didn't thought this will work, almost gave up. Thank you for your help .
Hello,
I was trying to make a unit attack while moving like a Phoenix and I have used this topic as a reference : http://www.sc2mapster.com/forums/development/data/42343-attack-while-moving-turning-unit/
And the map from that topic : http://www.sc2mapster.com/media/attachments/30/447/Marine_Turret.SC2Map
If you check the map you will see the marine works fine. The only problem is the health bar, it doesn't appear anymore.
I think is something in the turret actor , something missing, or I have to add something to make the health bar on ?
Oddly enough, I'm getting the exact same problem =\
Go to the actor and type "flag" in the search bar. I don't remember off the top of my head which one it is, but whichever one it is, there should be an option called "supress life bar" or something. Make sure that's unchecked.
If that doesn't work, then I'm not sure.
@yukaboy: Go
Ya, I know about that one, but it is not checked . It is something in the turret actor that is missing or something .
Unfortunately, that is not it.
This is a pm I sent to gorjdesign. If anyone finds a better solution or a way to show the status bar regardless of the site operation, feel free to share :)
Yeah, I was hoping it would be easy.
I'm terrible with actors, so I wouldn't know what to do, but what I do know is that this might take a bug fix from blizzard.
I have managed to do something weird but seems to work. It could use some improvements but I am so bad at editing :)
So what I did is just create an actor and made a copy of the model of the phoenix . I changed the size of the model , made it very small, then use the events from the phoenix and added unit birth -> attach model offset, in there I add the actor I made, the copy of the model and set it . So now I go in the copied model that I attached and just change the model.m3 to what unit I want and the size of it.
The problem is the hit selection. If I make the original unit too small It is hard to select it. There is probably somewhere to edit to increase the hit/click selection to make it bigger. Too tired to find it out where right now ... Maybe there is a way to make it invisible and don't need all this ...
I will attach photo, maybe they make more sense than my words . http://postimg.org/image/pkzth1g4j/
Change the opacity to 0 instead of changing the size. It will make the original unit invisible without affecting hit selection or attachments (if you configure the attachments not to inherit opacity).
@Kueken531: Go
Hehe, I added Unit Birth -> set Opacity to my phoenix actor events , than removed opacity from inherited properties of my attached actor. Now it works like a charm :)
It took a while , didn't thought this will work, almost gave up. Thank you for your help .