Hmm I tried that out, it's not doing anything... here's what I want to happen, I don't know if this is possible...
I am not trying to have it switch textures, what I want is when I run the trigger I want the game to tell me that Raynor Sniper's DMW (Terran) texture (visor skull) belongs to Slot X or whatnot.
Is it possible?
I've tried every slot, no underscores, you name it... and I know it's modifiable because I changed Raynor's main texture to xelnagaturret_spec, and he's all blue, but the skull remains, so it's a separate texture for sure.
First off... I'm 100% Data worker, and all I know (trigger-wise) is how to set minerals/gas, snap the camera to a unit, change a unit's team color, reveal the map... ya that's about it.
Moving on... some of you might have seen and read my tutorial on Texture Swapping TextureSelectByID
and this is pertaining to some more work I am doing, seeing if I can get more info (like some textures just do not want to be swapped, etc. etc.)
I took a look at the trigger editor, figuring there might be something that might help and I think I've found it, but when I set the trigger up, nothing happens in game... I am trying to see what Slot Name texture DMW (Terran) belongs to.
This texture is Raynor's Skull on his visor... the Previewer points to the right texture, pretty much meaning that it can be modified, but all attempts to change it do nothing.
Here's how I have my trigger setup... don't know why it won't return any text. I have Raynor (Sniper) placed on the map, and I select him before running the trigger in game (I don't know if it's necessary or not). And yes, I've setup the proper Model and Actor for swapping, just in case it crosses anyone's mind.
Event
Game - Player Any Player types a chat message containing "-1", matching Exactly
Actions
Actor - Apply the texture props (Slot name of DMW (Terran)) globally
Apply Texture Prop "hint text" states that if model data is setup for texture swapping, and there is an available texture, then it will use it.
The parameter states 'Query a texture and return the slot name that the texture is assigned to.'
When I type " -1 " in game, nothing happens.
I'm thinking in the Action that is incorrect... I wanna know how to Query Slot Names and whatever else might be beneficial in regards to Texture Swapping.
Any help is much appreciated. Thanks!!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@Kueken531: Go
Hmm I tried that out, it's not doing anything... here's what I want to happen, I don't know if this is possible...
I am not trying to have it switch textures, what I want is when I run the trigger I want the game to tell me that Raynor Sniper's DMW (Terran) texture (visor skull) belongs to Slot X or whatnot.
Is it possible?
I've tried every slot, no underscores, you name it... and I know it's modifiable because I changed Raynor's main texture to xelnagaturret_spec, and he's all blue, but the skull remains, so it's a separate texture for sure.
First off... I'm 100% Data worker, and all I know (trigger-wise) is how to set minerals/gas, snap the camera to a unit, change a unit's team color, reveal the map... ya that's about it.
Moving on... some of you might have seen and read my tutorial on Texture Swapping TextureSelectByID
and this is pertaining to some more work I am doing, seeing if I can get more info (like some textures just do not want to be swapped, etc. etc.)
I took a look at the trigger editor, figuring there might be something that might help and I think I've found it, but when I set the trigger up, nothing happens in game... I am trying to see what Slot Name texture DMW (Terran) belongs to.
This texture is Raynor's Skull on his visor... the Previewer points to the right texture, pretty much meaning that it can be modified, but all attempts to change it do nothing.
Here's how I have my trigger setup... don't know why it won't return any text. I have Raynor (Sniper) placed on the map, and I select him before running the trigger in game (I don't know if it's necessary or not). And yes, I've setup the proper Model and Actor for swapping, just in case it crosses anyone's mind.
Apply Texture Prop "hint text" states that if model data is setup for texture swapping, and there is an available texture, then it will use it.
The parameter states 'Query a texture and return the slot name that the texture is assigned to.'
When I type " -1 " in game, nothing happens.
I'm thinking in the Action that is incorrect... I wanna know how to Query Slot Names and whatever else might be beneficial in regards to Texture Swapping.
Any help is much appreciated. Thanks!!