(HELP) Adding custom textures to a custom pawn

Started by Klitri, December 13, 2014, 03:52:33 PM

Previous topic - Next topic

Klitri

Hi everyone.. I'm having a problem.

I'm trying to add in a new animal to the game, and I have three textures for the front back and side, however when I try and spawn it ingame, it becomes a pink box and the debug log says

"Failed to find any texture while constructing Graphic_Multi(initPath=Things/Pawn/Animal, color=RGBA(1.000,1.000.1.000.1.000). colorTwo=RGBA(1.000.1.000.1.000.1.000))"

AND

Failed to find any texture while constructing Graphic_Multi(initPath=Things/Pawn/Animal, color=RGBA(0.340,0.320.0.300.1000). colorTwo=RGBA(1.000.1.000.1.000.1.000))

The folder path is correct, I'm pretty sure. And I'm using "<standardBodygraphicPath>AnimalTexturePathHere(/<standardBodygraphicPath>)"

I'm not sure what I'm doing wrong? Please help.

Rikiki

Quote<standardBodygraphicPath>AnimalTexturePathHere(/<standardBodygraphicPath>)

Are the parenthesis intentional?
The correct XML syntax is:
<standardBodygraphicPath>Path/To/Your/Textures</standardBodygraphicPath>

Klitri

Quote from: Rikiki on December 14, 2014, 03:17:34 AM
Quote<standardBodygraphicPath>AnimalTexturePathHere(/<standardBodygraphicPath>)

Are the parenthesis intentional?
The correct XML syntax is:
<standardBodygraphicPath>Path/To/Your/Textures</standardBodygraphicPath>

I must of made a mistake while I was typing it.. Still in visual basic mode haha.. However, the error is still there..

skullywag

Nothing wrong with the code if you removed those parenthesis, sure you got the path right?
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

Klitri

Quote from: skullywag on December 14, 2014, 01:51:27 PM
Nothing wrong with the code if you removed those parenthesis, sure you got the path right?

I am 99% sure. I have a textures folder and on the inside it goes to "pawn/animal"