texture scale

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.
User avatar
Rulete
Member
Member
Posts: 27
Joined: July 23rd, 2010, 7:03 pm
Name: Frank
IRC Username: fd

texture scale

Postby Rulete » November 24th, 2010, 5:18 pm

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?

Vogelfrey
Member
Member
Posts: 2
Joined: June 21st, 2011, 9:54 am
Name: Ferdinand

Re: texture scale

Postby Vogelfrey » June 22nd, 2011, 6:21 am

*push*
Would be nice to know. :mrgreen:

User avatar
tyche
Moderator
Moderator
Posts: 122
Joined: November 3rd, 2009, 1:36 pm
Name: Craig A. Eddy
IRC Username: tyche
Location: San Tan Valley, Arizona
Contact:

Re: texture scale

Postby tyche » June 22nd, 2011, 6:48 am

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.

User avatar
PizzaLover101
Member
Member
Posts: 1751
Joined: October 23rd, 2009, 1:33 pm
Name: NAME
IRC Username: DaItsicle
Location: By a computer
Contact:

Re: texture scale

Postby PizzaLover101 » June 22nd, 2011, 8:39 am

Also, if you select an area and type
/vscale #

Any number above 1 will make it bigger, lower will make it smaller.
Project 1: Da Chest Collector [TBD]
Project 2: Tis a secret [End of summer] announcement June 22 2011
Project 3: An even bigger secret!

http://pizzagametime.tk/
http://forums.pizzagametime.tk/

User avatar
kid matthew
Developer
Developer
Posts: 468
Joined: August 11th, 2009, 5:28 pm
Name: Matthew
IRC Username: Kid_matthew
Location: Land of Sandbox.

Re: texture scale

Postby kid matthew » June 22nd, 2011, 7:36 pm

As pizza said select a area u wish to scale and type lets say /vscale 0.50, etc
Good work pizza
Cheers
Matthew
Lost Lands Work In Progress <3 viewtopic.php?f=10&t=2522 <3

Vogelfrey
Member
Member
Posts: 2
Joined: June 21st, 2011, 9:54 am
Name: Ferdinand

Re: texture scale

Postby Vogelfrey » June 23rd, 2011, 5:24 am

Thank you very much. :)


Return to “Sandbox General Support”

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests