I have attached a weapon to a custom model. The weapon isn't turned in the right direction. I messed with the Site Operations and turned it, but then it wouldn't move with the stand/attack animation, only the move animation. What the fuck; Over.
You need to make sure that when you attach the weapon to the unit, you need 2 actors generally, one for the Model Addition and one for the CActorSiteOppAttach. Without the SiteOppAttach, it won't attach to the correct slot of your custom model. You also need to ensure that your custom model has valid attachment points for where you want to place the weapon.
Use explicit site rotations where the first number set is the axis you want to rotate, and the second set is the axis you want it to conform to. There's your fuck; over.
I did this and it worked, except that it doesn't maintain movement with the all of the animations, only the movement animation and even then, it seems to ignore the point it is attached to. It works before I set the explicit rotation though. I went through all the tutorials I could find and I seem to keep coming to this issue.
It is attached in the right spot, it just does not face the right direction. When I use SOp (Explicit Rotation) it turns it the way I want and looks great, but it does not move properly with the model (I have the right flags checked according to the tutorials and messing around did nothing). Yet it still somewhat works for the Walk animations, just not the attack or stand animations.
I added the attachment of my problem, maybe you guys have it confused, so I'll do this to make it clear. If I do explicit rotation, it faces the right way, but then just stays in one spot, centered on the model but does not move with the attachment point.
I have attached a weapon to a custom model. The weapon isn't turned in the right direction. I messed with the Site Operations and turned it, but then it wouldn't move with the stand/attack animation, only the move animation. What the fuck; Over.
@Tattsoo: Go
You need to make sure that when you attach the weapon to the unit, you need 2 actors generally, one for the Model Addition and one for the CActorSiteOppAttach. Without the SiteOppAttach, it won't attach to the correct slot of your custom model. You also need to ensure that your custom model has valid attachment points for where you want to place the weapon.
Use explicit site rotations where the first number set is the axis you want to rotate, and the second set is the axis you want it to conform to. There's your fuck; over.
@eliek: Go that could work too :O
@Eiviyn: Go
I did this and it worked, except that it doesn't maintain movement with the all of the animations, only the movement animation and even then, it seems to ignore the point it is attached to. It works before I set the explicit rotation though. I went through all the tutorials I could find and I seem to keep coming to this issue.
It is attached in the right spot, it just does not face the right direction. When I use SOp (Explicit Rotation) it turns it the way I want and looks great, but it does not move properly with the model (I have the right flags checked according to the tutorials and messing around did nothing). Yet it still somewhat works for the Walk animations, just not the attack or stand animations.
Use the model previewer to see if that animation moves the desired attachment point or not. Also is the explicit rotation set to local?
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
I added the attachment of my problem, maybe you guys have it confused, so I'll do this to make it clear. If I do explicit rotation, it faces the right way, but then just stays in one spot, centered on the model but does not move with the attachment point.
Lets see the site operations of your Model 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