Adding new textures has been a real problem for me. Sometimes it works, sometimes it doesnt. It mainly works when i swap the texture of an already existing model. But if i create a new model or duplicate the existing one it just wont work. I believe im doing everything right.
Steps done:
1.Created new texture and
- Added main.diffuse on the Slot and attached the texture file on File.
2. Created the new model based on an already existing unit (Maine) and typed in main in the texture declarations - slot. Also enabled Adaptations - Applies to file and Applies to Innate. Typed in _Diffuse on Trigger on Substring and types in main in slot. The prefix is my unit name. (Maine_).
3. I went to the actor that is obviously attached to the unit and to the model and on events i entered ActorCreation/Texture Select by Id (with the texture selected).
So yeah, i believe i did everything told by tutorials but everytime i go into the game it keeps repeating No mapping for slot main.diffuse. I even tried the trigger option and still doesnt work.
So you are trying to replace the diffuse texture of your model using the main slot (some models use multiple diffuse textures so other slots are needed to define which one to swap to what). If textures are giving problems use the full original texture name for both the Prefix and Trigger on Substring fields.
I see the error because _Diffuse is not specific enough and in the wrong case. You need to go the Cutscene Editor and look at what the name of the diffuse texture for the marine is called (marine_diffuse_blood). Or are you saying you did not fill in the Texture: Texture Declarations - Adaptions - Slot field of your model stating it is to use the main slot for that texture to change?
Sometimes the map test throws up error messages for no reason. Main issue is are your textures changing?
Somehow it worked now i dont know why? I just left the original model prefix name on, and didnt used mine and so it worked. Maybe it was that maybe it wasnt but thats the only change i made so i dont know. Ill let you know if it doesnt happens in the next one. Thanks dr. super evil.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Adding new textures has been a real problem for me. Sometimes it works, sometimes it doesnt. It mainly works when i swap the texture of an already existing model. But if i create a new model or duplicate the existing one it just wont work. I believe im doing everything right.
Steps done:
1.Created new texture and - Added main.diffuse on the Slot and attached the texture file on File.
2. Created the new model based on an already existing unit (Maine) and typed in main in the texture declarations - slot. Also enabled Adaptations - Applies to file and Applies to Innate. Typed in _Diffuse on Trigger on Substring and types in main in slot. The prefix is my unit name. (Maine_).
3. I went to the actor that is obviously attached to the unit and to the model and on events i entered ActorCreation/Texture Select by Id (with the texture selected).
So yeah, i believe i did everything told by tutorials but everytime i go into the game it keeps repeating No mapping for slot main.diffuse. I even tried the trigger option and still doesnt work.
So you are trying to replace the diffuse texture of your model using the main slot (some models use multiple diffuse textures so other slots are needed to define which one to swap to what). If textures are giving problems use the full original texture name for both the Prefix and Trigger on Substring fields.
I see the error because _Diffuse is not specific enough and in the wrong case. You need to go the Cutscene Editor and look at what the name of the diffuse texture for the marine is called (marine_diffuse_blood). Or are you saying you did not fill in the Texture: Texture Declarations - Adaptions - Slot field of your model stating it is to use the main slot for that texture to change?
Sometimes the map test throws up error messages for no reason. Main issue is are your textures changing?
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
Somehow it worked now i dont know why? I just left the original model prefix name on, and didnt used mine and so it worked. Maybe it was that maybe it wasnt but thats the only change i made so i dont know. Ill let you know if it doesnt happens in the next one. Thanks dr. super evil.