Hey, I'm having a problem with setting textures in my code. I'm setting the texture of a model according to the choice of the user. The user chooses the texture in the menu before the game and the texture is applied at the very start of the game, or should be. The line that's causing problems is this one:
The compiler complains that it "Can't find Shader UR". I would assume that the comiler can't open the file or something if it wasn't for the fact that I do a very similar thing in the defaultproperties:
And this one works fine.
Is there some kind of crazy thing you can't do in the code or is it something deeper? Any help would be appreciated.
Code:
BodyMaterial = Shader'UR-Nas_tex.Body.N_DrkBlu';
Code:
BodyMaterial=Shader'UR-Nas_tex.Body.N_DrkBlu'
Is there some kind of crazy thing you can't do in the code or is it something deeper? Any help would be appreciated.