Normally, the blocks of ice are covering the Warhounds shield arm thingy. The blocks will stay right where they are until the Warhound stops attacking. It doesnt even freeze in the same place each time. It looks and flows perfectly in the editor, but things get screwy once it does anything but walk around. Standing? It pulls this crap:
The model additions just freeze in place. Which is a crock of bull since I've done this a million times over with it always working. Stupid Warhound.
Odds are this has to do with the actor event action used by the HOTS campaign. That event action sets what attachment point to host to and is only used by the ice block actors. Something must be going wrong with it when applied to your unit.
Which attachment point are you using? Some attachment points are static and move locations with the model but don't move in animations with the model. If you go into the cut scene editor, load up your model and go to Render -> Show Geometry -> Attachment points, the hotkey for which is just A -_- you will see all the attach points, look for the points that move with the model when it plays animations and use one of them as your attach point.
I messed around with the War hound to see if I could get it working and it seems to work fine, looks pretty sweet when he shield bashes too. I used attach point Target 05.
If you are using an explicit rotation site op this might be causing you problems that sound like maybe what you are having,
Pasted from ProzaicMuze's attachment tutorial: "Also, you must have a value for BOTH vectors even if using the default forward/facing (0.0, -1.0, 0.0) or up/axis (0.0, 0.0, -1.0). If either field is left with (0.0, 0.0, 0.0) the attachment will spin sporadically as the attachment Host moves."
I also used Target 05. I even used that same model once with the same bad results. With or without an explicit rotation, the same thing happens. This is why I'm so boggled. Again, I've done this whole process many many times with it working properly on the first try, but not with the Warhound.
Edit: Example, these work fine:
And these all freeze: (wip placement, dont judge)
I also attached pics of the fields. This is how I've always done it with success.
It might be having trouble hosting onto the host actor. Have you tried changing the event so the model addition is created when the Host Actor is created instead of when the host unit is birthed?
Tried that too. With all the fiddling I did, it either attached itself to the ground and stuck there, or didn't spawn at all. But it looked fine in the editor.
Well you seem pretty experienced at this so maybe you just forgot to set a field or something, here's a checklist and what worked for me, maybe you'll notice something you missed:
1. Duplicated War hound unit, actor and model and didn't change anything in them. Renamed Test Hound.
2. Created Actor with type Site Op (attachment) named Ice Block Attach
Set attachment query to -> Methods -> Direct (Target) Index : 5.
3. Created Actor with type Explicit Rotation
Set forward to 0,1,0
Set up to -1,0,0
Is local enabled
Hold position & hold rotation disabled
4. Duplicated Ice block actor and Model.
Model
left as doodad and just rescaled it
Actor
Changed actor type to model, model addition.
Removed Alias (Can be important)
Cleared events and added unit birth (test hound) -> Create; unit death (test hound) -> Destroy
Set host to subject -> Actor -> test hound
Set Site ops to (Ice block Attach) & (Test Rotation)
This is what I mean:
Normally, the blocks of ice are covering the Warhounds shield arm thingy. The blocks will stay right where they are until the Warhound stops attacking. It doesnt even freeze in the same place each time. It looks and flows perfectly in the editor, but things get screwy once it does anything but walk around. Standing? It pulls this crap:
The model additions just freeze in place. Which is a crock of bull since I've done this a million times over with it always working. Stupid Warhound.
I searched around and found some threads with similar issues. I followed this one: http://www.sc2mapster.com/forums/development/data/51645-solved-actors-model-attachment-moving-with-model/
And got nothing. Even after attaching it to an invisible attached marine, the same thing happened. Any ideas as to wtf is going on?
Odds are this has to do with the actor event action used by the HOTS campaign. That event action sets what attachment point to host to and is only used by the ice block actors. Something must be going wrong with it when applied to your unit.
Looks like an offset issue.
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
It's not just the ice. It happens to anything I attach to the Warhound. Is it just Hots models in general that suck at this?
What attachment point you attaching to?
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
Which attachment point are you using? Some attachment points are static and move locations with the model but don't move in animations with the model. If you go into the cut scene editor, load up your model and go to Render -> Show Geometry -> Attachment points, the hotkey for which is just A -_- you will see all the attach points, look for the points that move with the model when it plays animations and use one of them as your attach point.
I messed around with the War hound to see if I could get it working and it seems to work fine, looks pretty sweet when he shield bashes too. I used attach point Target 05.
If you are using an explicit rotation site op this might be causing you problems that sound like maybe what you are having, Pasted from ProzaicMuze's attachment tutorial: "Also, you must have a value for BOTH vectors even if using the default forward/facing (0.0, -1.0, 0.0) or up/axis (0.0, 0.0, -1.0). If either field is left with (0.0, 0.0, 0.0) the attachment will spin sporadically as the attachment Host moves."
I also used Target 05. I even used that same model once with the same bad results. With or without an explicit rotation, the same thing happens. This is why I'm so boggled. Again, I've done this whole process many many times with it working properly on the first try, but not with the Warhound.
Edit: Example, these work fine:
And these all freeze: (wip placement, dont judge)
I also attached pics of the fields. This is how I've always done it with success.
It might be having trouble hosting onto the host actor. Have you tried changing the event so the model addition is created when the Host Actor is created instead of when the host unit is birthed?
@Spoolofwhool: Go
Tried that too. With all the fiddling I did, it either attached itself to the ground and stuck there, or didn't spawn at all. But it looked fine in the editor.
Well you seem pretty experienced at this so maybe you just forgot to set a field or something, here's a checklist and what worked for me, maybe you'll notice something you missed:
1. Duplicated War hound unit, actor and model and didn't change anything in them. Renamed Test Hound.
2. Created Actor with type Site Op (attachment) named Ice Block Attach
3. Created Actor with type Explicit Rotation
4. Duplicated Ice block actor and Model.
Model
Actor
Well damn. DrSuperEvil was right. Offset issue.
I removed the offset actor from the site ops and it works perfect. All my wat.
Dang jung uns...
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
It still doesn't change the fact that I can't move the stupid things without breaking them. Oh well, time for new ideas.
Attach a marine model to the attachment point and attach that model to the marine.
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