I'm not sure about how its done with upgrades. but you could create an actor event for the upgrade doing a model swap. I cant check right now but I believe the dark stalker has its own model. maybe you could check the stalkers events before, I think there are some events for the dark one already.
Check how the wol campaign does it for the dark protoss units.
In short configure your model to be able to be texture swapped (tutorial in my signature). Make a Requirement for the upgrade to be completed. Make a Player Requirement validator and link it to your requirement.
Under actor events you need two events, the first is Unit Birth and the second is Upgrade. The first has a term called Validate Unit where you put your validator in. Both use the Texture Select By Id event action to use a texture from the Textures data type to change to the one you desire.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I want my stalkers to change their texture to dark stalkers after an upgrade is finished, how do I do this?
(I noticed that marines can gain shields and zerglings can gain wings after upgrades finish)
I'm not sure about how its done with upgrades. but you could create an actor event for the upgrade doing a model swap. I cant check right now but I believe the dark stalker has its own model. maybe you could check the stalkers events before, I think there are some events for the dark one already.
@EdwardSolomon: Go
Maybe if your not good with data, i made easy trigger. Don't know if it works, but u can try ;].
swappy
Events Unit - Any Unit research progress is Completed
Conditions (Triggering progress upgrade) == "Your upgrade"
Actions Actor - Send actor message "ModelSwap" to main actor of unit (Triggering unit)
On property's of actor message you can set your stalker model.
Check how the wol campaign does it for the dark protoss units.
In short configure your model to be able to be texture swapped (tutorial in my signature). Make a Requirement for the upgrade to be completed. Make a Player Requirement validator and link it to your requirement.
Under actor events you need two events, the first is Unit Birth and the second is Upgrade. The first has a term called Validate Unit where you put your validator in. Both use the Texture Select By Id event action to use a texture from the Textures data type to change to the one you desire.
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