What is the best way to have the same unit use multiple actors/models?
I'm not talking about one unit changing its model consistently, but about multiple units with the same unit-stats using different looks (models/actors).
For instance there are 3 different skins/models for footmen. The human Footman, the Swordsman/Captain and the Blood Elf Lieutenant. If I wan't to use all 3 models for variation purposes for the same unit, is there a better way than just making 3 separate units?
If all models are in the same parent file you can use a single model with variations. If not you need to use a Model Swap event action using a Pass Chance term on actor creation. This method means you need separate models under the Models data type but only one Unit actor. The same approach can be used for texture swapping by the Texture Select By Id method.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
What is the best way to have the same unit use multiple actors/models?
I'm not talking about one unit changing its model consistently, but about multiple units with the same unit-stats using different looks (models/actors). For instance there are 3 different skins/models for footmen. The human Footman, the Swordsman/Captain and the Blood Elf Lieutenant. If I wan't to use all 3 models for variation purposes for the same unit, is there a better way than just making 3 separate units?
Thank you for looking into this!
I think that you can use 3 variations in the model tab. But I don't know exactly how it works.
Actually it depends if the models have to be random or not.
If all models are in the same parent file you can use a single model with variations. If not you need to use a Model Swap event action using a Pass Chance term on actor creation. This method means you need separate models under the Models data type but only one Unit actor. The same approach can be used for texture swapping by the Texture Select By Id method.
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
Sweet! That is very helpful information. I'll try out the options when I can and get back to you if I run into trouble.
Thank you for looking into this!
It is pretty much a standard unless you want to do an elaborate export, rename and import method.
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