1) Under the abilities tab create a new ability. It doesn't have to do anything, don't change any values.....just a generic ability will do.
2) Go to the Actor of the unit. Go to Events+/Event tab and create a new event. Change MSG type to ability. Then source name to your generic ability. Click your term and change it to model swap. Select your model. (This ignores wireframes, you would have to do that separately)
If you want the player to trigger the change:
3) Create a Button and place it on the command card. Go to abilities and create a new ability with type: Research. Fill out the fields as needed (use other research abilities as a template if needed).
4) Go back to your command card, add the button, select ability, choose your generic ability and it should work.
btw sorry about the rushed descriptions....just reply if you get stuck.
I can follow what you were saying, but I think you aren't describing what I was talking about, I wasn't clear enough, can you use the "model swap" to add a button, that when you press it, instantly changes a unit to another, which can turn back to it's normal form, and back and forth like that, or do I have to use morph but make the time 0?
how do I create an ability that swaps the model of a unit to a different model? I know there is an actor, but how do you use that as an ability?
the basics:
1) Under the abilities tab create a new ability. It doesn't have to do anything, don't change any values.....just a generic ability will do.
2) Go to the Actor of the unit. Go to Events+/Event tab and create a new event. Change MSG type to ability. Then source name to your generic ability. Click your term and change it to model swap. Select your model. (This ignores wireframes, you would have to do that separately)
If you want the player to trigger the change:
3) Create a Button and place it on the command card. Go to abilities and create a new ability with type: Research. Fill out the fields as needed (use other research abilities as a template if needed).
4) Go back to your command card, add the button, select ability, choose your generic ability and it should work.
btw sorry about the rushed descriptions....just reply if you get stuck.
I can follow what you were saying, but I think you aren't describing what I was talking about, I wasn't clear enough, can you use the "model swap" to add a button, that when you press it, instantly changes a unit to another, which can turn back to it's normal form, and back and forth like that, or do I have to use morph but make the time 0?
Use a Buff behaviour that swaps it when on and off. For an example look at my attack defend swap map under my data assets.
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