SC2Mapster Forums

Development > Artist Tavern

Retexturing Models

  • 6 posts
    #1 Nov 04, 2012 at 14:59 UTC - 0 likes

    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.

    #2 Nov 04, 2012 at 23:20 UTC - 1 like

    @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.

    #3 Nov 05, 2012 at 14:41 UTC - 0 likes
    Quote from kinkycactus: Go

    @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.

    Awesome, thanks! That did the trick:

    Last edited Nov 05, 2012 by Andrettin
    #4 Nov 05, 2012 at 22:00 UTC - 0 likes

    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.

    #5 Nov 06, 2012 at 08:47 UTC - 0 likes

    @Andrettin: Go

    Try the "Unit Death Custom" event. If they doesn't work, try asking in the Data forum.

    #6 Nov 06, 2012 at 11:57 UTC - 0 likes

    @kinkycactus: 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 :)

  • 6 posts

You must login to post a comment. Don't have an account? Register to get one!