Page 1 of 1
An Issue with the Texture
Posted: October 21st, 2011, 4:50 pm
by StormKat32
Since no one will help me with my topic of Master Scripts Library in the Tutorials and Resources after 23 views.
I need some help since I am having a hard time adding my own way of texture to the Texture folder. No matter how many times and no matter how close to the instruction I get, the mystuff folder doesn't work at all.
So what I've decided to do is, I edited the preexisting Packages in the Texture folder, by adding on the script with my own images.
My wood texture works fine, I added another texture of my own grass into the packages and it tells me "NO TEXTURE" in bold face print when I go to the game and lay the tile down on the ground. I have my Normal map already configured as well. I just don't get it. Why does it tell me NO TEXTURE in bold face print on the ground for?
My OS system and graphics card works fine with this product.
Re: An Issue with the Texture
Posted: October 22nd, 2011, 5:37 am
by wildflower
Sorry if I'm stating the obvious, but have you double-checked your path and your file-extension ?
What line do you use in your packages/base/rpg/mapname-art.cfg to assign your texture?
and where do you place your textures?
I have only used the rpg-mode but I suppose that things work the same way for fps.
Re: An Issue with the Texture
Posted: October 22nd, 2011, 10:47 am
by kddekadenz
You need to go in the folder, where you map is saved and open mapname-art.cfg.
Go down to textures and add a line as follow at the bottom:
Code: Select all
setshader stdworld
texture 0 "yourfolder/yourtexture.png" 0 0 0 1.000000
The last number sets the scale. Be sure that your textures are in packages/base/yourfolder
Search the wiki for more information about the shaders.
By the way Cube Script is case - sensitive, that means that "texture" and "Texture" are not the same.
Re: An Issue with the Texture
Posted: October 22nd, 2011, 12:16 pm
by Leo_V117
kddekadenz wrote:You need to go in the folder, where you map is saved and open mapname-art.cfg.
Go down to textures and add a line as follow at the bottom:
Code: Select all
setshader stdworld
texture 0 "yourfolder/yourtexture.png" 0 0 0 1.000000
The last number sets the scale. Be sure that your textures are in packages/base/yourfolder
Search the wiki for more information about the shaders.
By the way Cube Script is case - sensitive, that means that "texture" and "Texture" are not the same.
You also need to swap the shader...
Code: Select all
texture 0 "yourfolder/yourtexture.png" 0 0 0 1.000000
setshader stdworld
Re: An Issue with the Texture
Posted: October 23rd, 2011, 10:29 am
by StormKat32
I'm not using "myfolder" at all. I go to Platinum Arts 2.7-->Packages,-->Textures-->package.cfg and I configured the images the way I wanted to, I also added my images in this Textures folder and when I started up the game, that's where the NO TEXTURE problem started when I plotted the image onto the ground in Rpg mode.
Re: An Issue with the Texture
Posted: October 23rd, 2011, 11:13 am
by kddekadenz
Leo_V117 wrote:
You also need to swap the shader...
Code: Select all
texture 0 "yourfolder/yourtexture.png" 0 0 0 1.000000
setshader stdworld
No, it does work in this way, too.
Re: An Issue with the Texture
Posted: October 23rd, 2011, 12:06 pm
by wildflower
StormKat32 wrote:I'm not using "myfolder" at all. I go to Platinum Arts 2.7-->Packages,-->Textures-->package.cfg and I configured the images the way I wanted to, I also added my images in this Textures folder and when I started up the game, that's where the NO TEXTURE problem started when I plotted the image onto the ground in Rpg mode.
I use the
.platinumarts/packages/base/mapname-art.cfg for my textures, works every time.
If this doesn't work, try uploading your texture to the forum.
Re: An Issue with the Texture
Posted: October 23rd, 2011, 12:17 pm
by StormKat32
Thanks! That's how you get questions answered! Thank you Wildflower!
Update: 12:20 p.m. 10/23/2011
I don't see mapname-art.cfg, I own windows 7, maybe that's the reason.

Re: An Issue with the Texture
Posted: October 23rd, 2011, 12:50 pm
by wildflower
StormKat32 wrote:I don't see mapname-art.cfg, I own windows 7, maybe that's the reason.

Sorry
That should be .platinumarts/packages/base/
rpg/mapname-art.cfg (switch rpg with fps if you are using fps-mode)
where mapname is the name of your map, so if your map is called awesomemap the path would be:
.platinumarts/packages/base/rpg/awesomemap-art.cfg
or in fps-mode
.platinumarts/packages/base/fps/awesomemap-art.cfg
Hope this helps
