I'm sure this is an extremely newb question for all you mapmaking pros out there, but I've been spending an inhuman amount of time trying to fix this dumb problem.
Basically, the model I'm using for a building has a 0 degree orientation, and the model I'm using for it's death has a different orientation, let's say 45 degrees.
Now, of course I'd like the building to face the same direction at all time. I figured this is something very easy to fix with actors, when the building dies, I just rotate it by 45 degrees so both models always face the same direction and it's done.
UnitDeath.LargeBuilding
Set Facing 45.00000
When I try this, nothing happens, so either this solution makes no sence, either I have no idea how to use the SetFacing command.
well i think the problem is that the actor is trying to set the facing of a unit that is dead (and therefore no longer on the map) why not just have it always face 45 degrees? UnitBirth.LargeBuilding Set Facing 45.00000
That's the problem, one model is always facing 45 degrees more than the other. So if I set the birth facing at 180 degrees, the death animation will face 225 degrees and so on.
Hey there,
I'm sure this is an extremely newb question for all you mapmaking pros out there, but I've been spending an inhuman amount of time trying to fix this dumb problem.
Basically, the model I'm using for a building has a 0 degree orientation, and the model I'm using for it's death has a different orientation, let's say 45 degrees.
Now, of course I'd like the building to face the same direction at all time. I figured this is something very easy to fix with actors, when the building dies, I just rotate it by 45 degrees so both models always face the same direction and it's done.
UnitDeath.LargeBuilding Set Facing 45.00000
When I try this, nothing happens, so either this solution makes no sence, either I have no idea how to use the SetFacing command.
Thanks,
well i think the problem is that the actor is trying to set the facing of a unit that is dead (and therefore no longer on the map) why not just have it always face 45 degrees? UnitBirth.LargeBuilding Set Facing 45.00000
@KingRadical: Go
That's the problem, one model is always facing 45 degrees more than the other. So if I set the birth facing at 180 degrees, the death animation will face 225 degrees and so on.
Use a SOp (Explicit Rotation) SOp on the Model type actor used for the death model?
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
@DrSuperEvil: Go
Thanks! This is exactly what I was looking for, although it would have taken me months to find this one out by myself. Now it works 10/10.