I have seen quite a few attachment tutorials on this site, and they all are far to specific. What I aim to do is attach a given model to a specific point on another model ( a unit). I used a SOAttachment with a actor linked to a unit to achieve some standard attachments such as weapon, overhead and head. What I want to do, since there are a limited amount of SOAttachment actors available, is create my own and add attachment points that are already exist. Such as Chest and Foot.
That is where I am having trouble. I change the method in my custom SOAttach actor to the desired method (here being chest, on a marine), and the results look very strange. Is there a tutorial out there that explains how to do this in detail, or could someone take the time to explain the proper way to create custom SOAttach actors?
Not sure, if I understand you correctly. You want to attach actors to another actor, but you don't want to use the usual attachment points. You want to create your own ones?
You can only attach to attachment points, which are available at the model file (you can show them, when you watch a model in the previewer).
A marine does not have a "chest" attachment point (and no "foot" either), so trying to attach something to chest should fail and probably fallback to center.
The marine has 9 attachment points:
origin
center
hardpoint
hardpoint 01
hardpoint 02
head
overhead
target
weapon
You can attach to these points only, not any other attachment points. Other models may have other attachment points, you can use, or may miss some of the attachment points listed here.
However, you can attach actors to those points and give them an offset and a rotation with site operations to simulate more attachment points in other locations. So for your chest, you could attach to center and move/rotate the actor, until it looks like you want.
Not sure, if I understand you correctly. You want to attach actors to another actor, but you don't want to use the usual attachment points. You want to create your own ones?
You can only attach to attachment points, which are available at the model file (you can show them, when you watch a model in the previewer).
A marine does not have a "chest" attachment point (and no "foot" either), so trying to attach something to chest should fail and probably fallback to center.
It seems I have forgotten that attachment points are limited by the models in question. Although I did not know you could view the available attachment points in the previewer. That will come in handy.
Quick question, I tried to create a local offset actor and attached it to my attachment actor, and it seems I didn't do this 100% correctly. The SO local offset operation shows that it's correctly attached but the attachment remains in the same location. Can you give me a quick rundown of the proper way to do this?
Can you be a bit more specific with that? Are you referencing to the unit these actors are attached to, or something else?
Also I only have one attached SO attached to the attached actor (the actor that is attaching to the unit). So maybe thats why i'm confused when you said the order of SOops.
SOps are site operations and the order you put them in the Hosting - Site Operations - Operations field of the actor you are attaching onto the host actor is important.
An example is if you have
Attachment any attachment point
Offset with a magnitude of 4
Offset with a magnitude of 3
Explicit Rotation 90 degrees
you will get the attached actor being a magnitude of 7 away from the host actor with the attached actor faceing 90 degrees from the host actor
while if you have
Attachment any attachment point
Offset with a magnitude of 4
Explicit Rotation 90 degrees
Offset with a magnitude of 3
you will get the actor being attached at an angle from the host with a magnitude of 5
I have seen quite a few attachment tutorials on this site, and they all are far to specific. What I aim to do is attach a given model to a specific point on another model ( a unit). I used a SOAttachment with a actor linked to a unit to achieve some standard attachments such as weapon, overhead and head. What I want to do, since there are a limited amount of SOAttachment actors available, is create my own and add attachment points that are already exist. Such as Chest and Foot.
That is where I am having trouble. I change the method in my custom SOAttach actor to the desired method (here being chest, on a marine), and the results look very strange. Is there a tutorial out there that explains how to do this in detail, or could someone take the time to explain the proper way to create custom SOAttach actors?
Not sure, if I understand you correctly. You want to attach actors to another actor, but you don't want to use the usual attachment points. You want to create your own ones?
You can only attach to attachment points, which are available at the model file (you can show them, when you watch a model in the previewer).
A marine does not have a "chest" attachment point (and no "foot" either), so trying to attach something to chest should fail and probably fallback to center.
The marine has 9 attachment points:
You can attach to these points only, not any other attachment points. Other models may have other attachment points, you can use, or may miss some of the attachment points listed here.
However, you can attach actors to those points and give them an offset and a rotation with site operations to simulate more attachment points in other locations. So for your chest, you could attach to center and move/rotate the actor, until it looks like you want.
It seems I have forgotten that attachment points are limited by the models in question. Although I did not know you could view the available attachment points in the previewer. That will come in handy.
Thanks.
@silvermage: Go
Quick question, I tried to create a local offset actor and attached it to my attachment actor, and it seems I didn't do this 100% correctly. The SO local offset operation shows that it's correctly attached but the attachment remains in the same location. Can you give me a quick rundown of the proper way to do this?
Thanks in advance.
The order you put SOps in the attached actor is important. You want to specify the attachment point first followed by your offest.
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
Can you be a bit more specific with that? Are you referencing to the unit these actors are attached to, or something else?
Also I only have one attached SO attached to the attached actor (the actor that is attaching to the unit). So maybe thats why i'm confused when you said the order of SOops.
SOps are site operations and the order you put them in the Hosting - Site Operations - Operations field of the actor you are attaching onto the host actor is important.
An example is if you have
Attachment any attachment point
Offset with a magnitude of 4
Offset with a magnitude of 3
Explicit Rotation 90 degrees
you will get the attached actor being a magnitude of 7 away from the host actor with the attached actor faceing 90 degrees from the host actor
while if you have
Attachment any attachment point
Offset with a magnitude of 4
Explicit Rotation 90 degrees
Offset with a magnitude of 3
you will get the actor being attached at an angle from the host with a magnitude of 5
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
Got it, thanks.