I have this actor that is Actor+Model added as an effect when ability is done. To this Actor+Model I want to attach another Actor+Model and I say aattach meaning, the first Actor+Model and the second one to move together, to rotate together - the full meaning of attached.
I dont see such Actor Event to attach, if I ActorCreation Create (The second actor+model) sure, I create it at the position of the first actor+model but when the unit moves the created second actor remains on the ground obviously because it is created, not attached to the first one,. So how to stick them together?
Hosting: Host - Subject, you can put an alias (_Unit,etc.) or a specific actor. Then use a Host Site Operations like SOpAttachCenter, or any SOp without "Hold Position" and "Hold Rotation".
Basically this is the system: Main Unit Actor to which I have the Actor that is attached when the ability is started, to which Actor I want to attach a 2nd Actor. UnitActor- - ->Actor- - ->Actor2
I made Actor2 have its Host - Subject to be Actor 1 because Actor2 has to be attached to the Head of Actor 1 (Actor 1 has this model that has a head attachment). The thing is when I do Host Subject to be the first actor, the actor /the model doesnt appear at all for some reason and it is not because Actor 2 doesnt have a model, it does.
I add ActorCreation Create (Actor2) in Actor 1 events
I use a mount/Load ability that creates an Actor with Site Operations set for it, that mounts the unit (similar to ThorTransit) - just as a visual effect. So the Actor for this mounted unit, the Rider, is CActorModel (based on Thor Transit). I want to attach a helm to this actor (that is the Actor 2) so this is why actor-to-actor. The Helmet actor that is the Actor 2 is Based On: Model Animation Style continuous
I create the Actor 1 for showing the Rider just like Medivac has the Event AbilTransport... and I use site operations with it, Now I want to attach the Helmet which is this Actor 2 to the Rider actor;s head.
Actor 1 has the model of the human that is the Rider. Actor 2 already has site operation for SOpAttachHead and model of a helmet .You get the point from here
And you are 100% sure the Model type actors you are using have those attachment points?
If the events are set to Unit Brith>Create, does it show?
Some models have a natural offset like the SM Hydralisk Skull so need a large offset from a SOp (Local Offset) SOp actor to be visible in the correct spot
The reason why it didn't show the model at all is this Helmet model is linked to two ThorTransit-based actors. I use one Helmet actor for completely different situation and now when I do this Second Helmet actor for the whole Mounting thing, obviously it doesn't like two actors using the same model. So when I duplicated the model so that this Helmet actor that I use for the purpose of Mounting has its own model, the model shows.
Ok I tried Host - Subject whether System Creator, Actor & selecting the Thor-Transit (Actor1) but it has no effect.
The Thor-Transit based actor has Event: ActorCreation Create (Actor2-Helmet). Actor2 uses only SopAttachHead and as I said even if it is created, it does not stay together when the unit moves. Curiously if I add another Site Operation below SOpAttachHead (any operation) the Actor 2 that I want to attach to ThorTransit is attached which is what I wanted but now instead of one I see TWO models attached to ThorTransit?
^ LOL I found it... indeed I need another SOp besides the SOPAttachHead in order for the Helmet to stay attached, but like I said the problem was it always created TWO MODELS (helmets) instead of 1, so when I used SOp180/CargoOffest that I already use in another actor.. it creates just ONE helmet and only if it requires a little positioning... Well nice!
I have this actor that is Actor+Model added as an effect when ability is done. To this Actor+Model I want to attach another Actor+Model and I say aattach meaning, the first Actor+Model and the second one to move together, to rotate together - the full meaning of attached.
I dont see such Actor Event to attach, if I ActorCreation Create (The second actor+model) sure, I create it at the position of the first actor+model but when the unit moves the created second actor remains on the ground obviously because it is created, not attached to the first one,. So how to stick them together?
Hosting: Host - Subject, you can put an alias (_Unit,etc.) or a specific actor. Then use a Host Site Operations like SOpAttachCenter, or any SOp without "Hold Position" and "Hold Rotation".
There are several good guides in the tutorial section on attachments that go into detail. You could also read the wiki about the Model type 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
@StragusMapster: Go
Basically this is the system: Main Unit Actor to which I have the Actor that is attached when the ability is started, to which Actor I want to attach a 2nd Actor. UnitActor- - ->Actor- - ->Actor2
I made Actor2 have its Host - Subject to be Actor 1 because Actor2 has to be attached to the Head of Actor 1 (Actor 1 has this model that has a head attachment). The thing is when I do Host Subject to be the first actor, the actor /the model doesnt appear at all for some reason and it is not because Actor 2 doesnt have a model, it does.
I add ActorCreation Create (Actor2) in Actor 1 events
Set the SOps to what? What sort of actor types you using for Actor 1 and 2? What are the events of both?
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
Ok here is the whole story:
I use a mount/Load ability that creates an Actor with Site Operations set for it, that mounts the unit (similar to ThorTransit) - just as a visual effect. So the Actor for this mounted unit, the Rider, is CActorModel (based on Thor Transit). I want to attach a helm to this actor (that is the Actor 2) so this is why actor-to-actor. The Helmet actor that is the Actor 2 is Based On: Model Animation Style continuous
I create the Actor 1 for showing the Rider just like Medivac has the Event AbilTransport... and I use site operations with it, Now I want to attach the Helmet which is this Actor 2 to the Rider actor;s head.
Actor 1 has the model of the human that is the Rider. Actor 2 already has site operation for SOpAttachHead and model of a helmet .You get the point from here
And you are 100% sure the Model type actors you are using have those attachment points?
If the events are set to Unit Brith>Create, does it show?
Some models have a natural offset like the SM Hydralisk Skull so need a large offset from a SOp (Local Offset) SOp actor to be visible in the correct spot
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
The reason why it didn't show the model at all is this Helmet model is linked to two ThorTransit-based actors. I use one Helmet actor for completely different situation and now when I do this Second Helmet actor for the whole Mounting thing, obviously it doesn't like two actors using the same model. So when I duplicated the model so that this Helmet actor that I use for the purpose of Mounting has its own model, the model shows.
Ok I tried Host - Subject whether System Creator, Actor & selecting the Thor-Transit (Actor1) but it has no effect.
The Thor-Transit based actor has Event: ActorCreation Create (Actor2-Helmet). Actor2 uses only SopAttachHead and as I said even if it is created, it does not stay together when the unit moves. Curiously if I add another Site Operation below SOpAttachHead (any operation) the Actor 2 that I want to attach to ThorTransit is attached which is what I wanted but now instead of one I see TWO models attached to ThorTransit?
^ LOL I found it... indeed I need another SOp besides the SOPAttachHead in order for the Helmet to stay attached, but like I said the problem was it always created TWO MODELS (helmets) instead of 1, so when I used SOp180/CargoOffest that I already use in another actor.. it creates just ONE helmet and only if it requires a little positioning... Well nice!