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.

Help with adding new textures

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
stealthpanda1
Member
Member
Posts: 18
Joined: September 3rd, 2012, 2:34 pm

Help with adding new textures

Post by stealthpanda1 »

Hey all, I havn't had musch time lately, but today, I was trying to figure out how to add some textures of mine to pas, and was encountering some problems. Here's my code so far:


// mytextures By Stealthpanda
setshader stdworld
texture 0 "mytextures/1_met.jpg"
texture 0 "mytextures/1_store.jpg"
texture 0 "mytextures/2_store.jpg"
//texture 0 "mytextures/4_wall.jpg"
//texture 0 "mytextures/5_wall.jpg"
exec packages/mytextures/packages.cfg

Help!
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Help with adding new textures

Post by chocolatepie33 »

1. use the button when dealing with code.

2. The final line (exec packages/...) needs to go at the end of data/default-map-settings.cfg (or a similarly named file), that way the commands are executed and the textures are added when you create a new map.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
stealthpanda1
Member
Member
Posts: 18
Joined: September 3rd, 2012, 2:34 pm

Re: Help with adding new textures

Post by stealthpanda1 »

Thanks, got it working, and also, How would one make their textures smaller, sayyy, by 50%?
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Help with adding new textures

Post by chocolatepie33 »

use the command /vscale ## where ## is the decimal percent (e.g. 50% = 0.5) you want to scale it down (or up) to.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Locked