I made a flying unit that fires missiles that move to the target, then return.
It mostly works fine. Except that if the firing unit is moving, the missiles return to the location they were fired from rather than new location of the firing unit.
Ive tried using a SOp Type Attachment but it does not seem to have any effect.
Effect chain is:
Launch Projectile
--Search Area
----Damage
Projectile Actor has:
Actor: Is Tentacle = true
Hosting: Host Return = Unit Actor
Hosting: Return Site Operations = Attachment SOp
Launch Effect has:
Movement: Return Movers+ = Special Return Mover
Special Return Mover's last two motion phases are both Guidance.
How do I ensure that the projectile tracks the firing unit during its return phase?
Only other potential cause could be the Action actor. Unless you want to do like the leviathan tentacles and create a dedicated Site actor on actor creation
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Under the Missile actor try putting in a SOp180 under the Hosting: Host Return Site Operations - Operations field. If that does not work you are going to have to use a SOp (Forward Vector) SOp on the Missile actor that uses a Reference Set event action to change the Host Forward to the return host on missile return.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I made a flying unit that fires missiles that move to the target, then return.
It mostly works fine. Except that if the firing unit is moving, the missiles return to the location they were fired from rather than new location of the firing unit.
Ive tried using a SOp Type Attachment but it does not seem to have any effect.
Effect chain is:
Launch Projectile
--Search Area
----Damage
Projectile Actor has:
Actor: Is Tentacle = true
Hosting: Host Return = Unit Actor
Hosting: Return Site Operations = Attachment SOp
Launch Effect has:
Movement: Return Movers+ = Special Return Mover
Special Return Mover's last two motion phases are both Guidance.
How do I ensure that the projectile tracks the firing unit during its return phase?
Check that the Launch Missile effect is not using points instead of units.
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 does not.
Impact Location - Target Unit
Launch Location - Source Unit
Only other potential cause could be the Action actor. Unless you want to do like the leviathan tentacles and create a dedicated Site actor on actor creation
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 I got it to track back to its firing unit properly. (Turns out what was missing was Host Supporter+ entries)
Now I just have to figure out how to deal with Tentacle projectiles always facing away from their firing units.
I need it to act like a regular guided missile that faces its moving direction. :P
Those are set under the site operations used by the Action 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
Ultimately I decided to use a projectile that had was symmetrical and looked good without rotating.
But I do plan to come back to Facing Return Projectiles for other things so Ill take a look.
Thank you.
So you want the projectile to always face the target?
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
Yes.
Well.. Its a returning projectile so Im assuming that the target changes to the firing unit during the return trip?
I want it to face the target while traveling to the target, then face the firing unit when returning to the firing unit.
Under the Missile actor try putting in a SOp180 under the Hosting: Host Return Site Operations - Operations field. If that does not work you are going to have to use a SOp (Forward Vector) SOp on the Missile actor that uses a Reference Set event action to change the Host Forward to the return host on missile return.
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
Nice! Thank you. Ill definitely be looking into that.