How to make an ability that is like the infestor spawn infested terran? Instead of throwing the egg, the egg is replaced by the actual unit of choice. So it would look like the unit is flying at the target point.
Launch Missile Effect - Under "ammo unit", choose what you want your guy to look like while in the air (make a projectile unit, give him a missile actor, choose his model, and make sure you have a "unitbirth" -> "create" event set up properly), just like any other missile.
Create Unit Effect - This goes under the "impact effect" of your missile launch, and will create your unit at the impact point. Put your actual unit in this unit field, not the projectile.
That's the bare-bones version anyway. You'll probably want to adjust the animation of your flying guy, which is set in the missile actor (created for your missile unit) as a "unit birth" -> "animplay" event. Go to the model previewer and right-click in the bottom right area to see all the available animations if you don't know them. Don't forget the basic attack actor as well, with your launch missile effect as the launch effect and the create unit effect as the impact and the corresponding events.
Ed. Forgot to mention the mover... set that in your unit properties.
How to make an ability that is like the infestor spawn infested terran? Instead of throwing the egg, the egg is replaced by the actual unit of choice. So it would look like the unit is flying at the target point.
change the model of the egg to make it look cooler you could make him flip but thats advance
@aczchef: Go
But i want it to spawn the actual unit not just the model.
like have it be able to attack in the air those 2 seconds?
It's relatively simple. You'll need:
Launch Missile Effect - Under "ammo unit", choose what you want your guy to look like while in the air (make a projectile unit, give him a missile actor, choose his model, and make sure you have a "unitbirth" -> "create" event set up properly), just like any other missile.
Create Unit Effect - This goes under the "impact effect" of your missile launch, and will create your unit at the impact point. Put your actual unit in this unit field, not the projectile.
That's the bare-bones version anyway. You'll probably want to adjust the animation of your flying guy, which is set in the missile actor (created for your missile unit) as a "unit birth" -> "animplay" event. Go to the model previewer and right-click in the bottom right area to see all the available animations if you don't know them. Don't forget the basic attack actor as well, with your launch missile effect as the launch effect and the create unit effect as the impact and the corresponding events.
Ed. Forgot to mention the mover... set that in your unit properties.
thats overcomplicating it
No, that's explaining it.
@aczchef: Go
that is NOT over-complicating it. That is EXACTLY how it should be done.
If in doubt look how the broodlord broodling escort does it.
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