Page 1 of 1

texture scale

Posted: November 24th, 2010, 5:18 pm
by Rulete
does anybody knows how to change the scale of the textures in platinum arts? in the texture menu some textures says "scale 1.00" "0.50" "2.00" or "0.25" how do i do this?

Re: texture scale

Posted: June 22nd, 2011, 6:21 am
by Vogelfrey
*push*
Would be nice to know. :mrgreen:

Re: texture scale

Posted: June 22nd, 2011, 6:48 am
by tyche
The textures are found in the -art.cfg file in your map area and named for your map. The -art.cfg file can be edited with any plain text editor, such as Notepad (Windows) or gedit (Linux). Lets start with a hypothetical example (Please understand that I don't know everything about it, but it allows me to place where things are):

texture 0 "tyche-texture/flagstone.jpg" 0 0 0 0.250000 // 403

texture 0 ["location and name of texture"] 0 0 0 (I don't know what these do, yet) 0.250000 (which is the scale) // 403 (commented number by physical count of the texture)

The scale depends primarily on the size of the texture, not in pixels or bytes but in how big the elements of the texture are. The textures I made for myself (the example is one of them) all turned out to be way too large - 4 times as large as they needed to be. So I told the -art.cfg file to make it 25% of its normal size. This way I didn't lose the detail by scaling the texture graphic, itself. The graphics, if you're making your own, should be some multiple of 64 in the X and Y dimensions of pixels (64, 128, 256, 512, etc.)

Hope this helps.

Re: texture scale

Posted: June 22nd, 2011, 8:39 am
by PizzaLover101
Also, if you select an area and type
/vscale #

Any number above 1 will make it bigger, lower will make it smaller.

Re: texture scale

Posted: June 22nd, 2011, 7:36 pm
by kid matthew
As pizza said select a area u wish to scale and type lets say /vscale 0.50, etc
Good work pizza
Cheers
Matthew

Re: texture scale

Posted: June 23rd, 2011, 5:24 am
by Vogelfrey
Thank you very much. :)