Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

An Issue with the Texture

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the rules for support when posting support requests.
Failure to comply with the forum rules may result in your topic being locked without resolution.
Locked
StormKat32
Member
Member
Posts: 21
Joined: July 27th, 2011, 7:15 pm

An Issue with the Texture

Post 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.
User avatar
wildflower
Member
Member
Posts: 76
Joined: August 11th, 2011, 5:10 am
Name: Sandie

Re: An Issue with the Texture

Post 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.
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: An Issue with the Texture

Post 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.
Kelgar is an advanced RPG beeing developed in Sandbox
User avatar
Leo_V117
Support Team
Support Team
Posts: 1640
Joined: February 16th, 2010, 8:00 pm
Name: Leo
IRC Username: Leo_V117
Location: That one place...
Contact:

Re: An Issue with the Texture

Post 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
StormKat32
Member
Member
Posts: 21
Joined: July 27th, 2011, 7:15 pm

Re: An Issue with the Texture

Post 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.
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: An Issue with the Texture

Post 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.
Kelgar is an advanced RPG beeing developed in Sandbox
User avatar
wildflower
Member
Member
Posts: 76
Joined: August 11th, 2011, 5:10 am
Name: Sandie

Re: An Issue with the Texture

Post 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.
StormKat32
Member
Member
Posts: 21
Joined: July 27th, 2011, 7:15 pm

Re: An Issue with the Texture

Post 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. :)
User avatar
wildflower
Member
Member
Posts: 76
Joined: August 11th, 2011, 5:10 am
Name: Sandie

Re: An Issue with the Texture

Post by wildflower »

StormKat32 wrote:I don't see mapname-art.cfg, I own windows 7, maybe that's the reason. :)
Sorry :oops:
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 :)
Locked