How would I go about changing existing models so that they use a different texture?
I found these retextures of the Terran buildings and units to be quite interesting, but I want to use them alongside the normal Terran units and buildings, and in order to do so I need to create copies of the models with just a change in texture path.
Import the new textures and follow the tutorial, but change the actor data for the new unit instead.
This way you do not need to create or duplicate new models.
Import the new textures and follow the tutorial, but change the actor data for the new unit instead.
This way you do not need to create or duplicate new models.
Ok, now I have another problem; when the command center is destroyed the death model uses the normal texture. I changed the death model accordingly and since the actor and textures were the same, I left those unchanged, but that didn't work. Then set up events on the actor to do "TextureSelectById" upon UnitDeath, but that didn't work either.
I tried that already, but it unfortunately didn't work. I found something that pointed to a solution in the thread of the tutorial, though, but I'm not sure how to do what was instructed. Anyway, I'll do as as you say and post it in the Data Forums :)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
How would I go about changing existing models so that they use a different texture?
I found these retextures of the Terran buildings and units to be quite interesting, but I want to use them alongside the normal Terran units and buildings, and in order to do so I need to create copies of the models with just a change in texture path.
@Andrettin: Go
I would recommend using the Select Texture By ID method using the data editor:
http://www.sc2mapster.com/forums/resources/tutorials/20772-data-actor-events-message-texture-select-by-id/#posts
Import the new textures and follow the tutorial, but change the actor data for the new unit instead.
This way you do not need to create or duplicate new models.
Formally Kinkycactus
Awesome, thanks! That did the trick:
Ok, now I have another problem; when the command center is destroyed the death model uses the normal texture. I changed the death model accordingly and since the actor and textures were the same, I left those unchanged, but that didn't work. Then set up events on the actor to do "TextureSelectById" upon UnitDeath, but that didn't work either.
@Andrettin: Go
Try the "Unit Death Custom" event. If they doesn't work, try asking in the Data forum.
Formally Kinkycactus
@ZombieZasz: Go
I tried that already, but it unfortunately didn't work. I found something that pointed to a solution in the thread of the tutorial, though, but I'm not sure how to do what was instructed. Anyway, I'll do as as you say and post it in the Data Forums :)