Page 1 of 1

Help with adding new textures

Posted: January 23rd, 2013, 5:31 pm
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!

Re: Help with adding new textures

Posted: January 23rd, 2013, 7:01 pm
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.

Re: Help with adding new textures

Posted: January 23rd, 2013, 7:50 pm
by stealthpanda1
Thanks, got it working, and also, How would one make their textures smaller, sayyy, by 50%?

Re: Help with adding new textures

Posted: January 23rd, 2013, 10:44 pm
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.