its pretty simple you need 2 units a ability to morph the ability type as morph and you select the second unit if you want it to be able to go back you make a second ability with the first unit really no effects behaviors none just an ability and 2 units
Ok, thanks, I'll try it out. What I want is to upgrade a building to a more advanced one (similar to upgrading the town hall in Warcraft III). It would keep most of its old abilities and stats but have some improvements and a different appearance (different model). You think that will work with your method?
What you do is create a Morph ability, and in the Ability - Info + field select the unit you want to turn into.
Then you have to do some stuff with the 1st unit's actor. Here's a screenshot of what it looks like in an RPG I'm making, in which Raynor can change from Sniper to Commando mode:
(You get that window by selecting the unit's actor, then opening the Event - Events + field)
The green part at the bottom is what's important. Basically it destroys the old unit and creates the new unit. This is what gave me the most trouble when I first started making Morph abilities.
Perfect, thanks! By the way, did you need to create an additional actor for the morphed (Commando) unit, or did it just use the original actor?
Also, one more thing: how did you set it to Create 'Raynor.' I notice two fields under the 'create' term, but not sure which to use or how... Thanks again! - Edit, hmm, well, I set the actor to my upgrade but the upgrade model is not appearing. Guess I need to make some adjustments.
I just used the original actor for the Commando unit.
Under "Create" the field you use is Name. Be sure the Type is set to Actor.
It does take some adjusting. If you don't get it just right several different things can happen. I've had models not appear, also I've seen it create the new model on top of the old one, or create 2 copies of the new one. Just mess around with it until it works.
Here's a tutorial that can explain it much better than I can:
Hi,
I have a fairly noobish question (afaik) - how do you go about upgrading one unit into a completely different unit, using only the data editor?
If anyone can point me to good tutorials, or tell me how this is done, I would greatly appreciate it! Thanks in advance!
@Circulation: Go
I don't know for sure how to do it, but I would take a look at the Events in actors of units that have burrow.
its pretty simple you need 2 units a ability to morph the ability type as morph and you select the second unit if you want it to be able to go back you make a second ability with the first unit really no effects behaviors none just an ability and 2 units
@Tudentau: Go
I was thinking the same, but I have more to learn before I can make that work to my specifications...
@aczchef: Go
Ok, thanks, I'll try it out. What I want is to upgrade a building to a more advanced one (similar to upgrading the town hall in Warcraft III). It would keep most of its old abilities and stats but have some improvements and a different appearance (different model). You think that will work with your method?
If in doubt look how the hive 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
@DrSuperEvil: Go
Do you mean The Hive Workshop? If so, would you mind pointing me to a specific thread/tutorial? Thanks!
@DrSuperEvil: Go
Actually Id look at how zerg units "burrow" they are actually morphing into a different type of unit.
As well as supply depots they also morph when going under ground and coming back up.
Yeah what you want to do will work my way just add the abilities to both unitsthe morphing animation I don't know how to do
Great, thanks for all the replies! I appreciate it.
What you do is create a Morph ability, and in the Ability - Info + field select the unit you want to turn into.
Then you have to do some stuff with the 1st unit's actor. Here's a screenshot of what it looks like in an RPG I'm making, in which Raynor can change from Sniper to Commando mode:
(You get that window by selecting the unit's actor, then opening the Event - Events + field)
The green part at the bottom is what's important. Basically it destroys the old unit and creates the new unit. This is what gave me the most trouble when I first started making Morph abilities.
@dgh64: Go
Perfect, thanks! By the way, did you need to create an additional actor for the morphed (Commando) unit, or did it just use the original actor?
Also, one more thing: how did you set it to Create 'Raynor.' I notice two fields under the 'create' term, but not sure which to use or how... Thanks again! - Edit, hmm, well, I set the actor to my upgrade but the upgrade model is not appearing. Guess I need to make some adjustments.
I just used the original actor for the Commando unit.
Under "Create" the field you use is Name. Be sure the Type is set to Actor.
It does take some adjusting. If you don't get it just right several different things can happen. I've had models not appear, also I've seen it create the new model on top of the old one, or create 2 copies of the new one. Just mess around with it until it works.
Here's a tutorial that can explain it much better than I can:
http://forums.sc2mapster.com/resources/tutorials/1198-data-unit-upgrading-into-another-unit/#p7
And a slightly more advanced one:
http://forums.sc2mapster.com/resources/tutorials/11028-tutorial-data-misc-how-to-morphing-shapeshifter-druid/#p17
@dgh64: Go
Thanks for all your help! (I may use a second actor because I would like to have a different model for the upgrade.)