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.

Moving 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
Dhuman
Member
Member
Posts: 18
Joined: December 16th, 2010, 8:42 pm

Moving textures.

Post by Dhuman »

Having an issue with texture placement. using a texture of a single lion that I made, want to use it as a picture on a wall.
But when I bring it in on the area of the wall the texture is not centered and shows pieces of it only in the corners.
is there a way to move the texture vert. and horz. to center it up in the area where i need it ?

Also is there a PAS model website to upload and share Maps and models I have made ?
I have tons of models of all kinds w\textures that I would like to share

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

Re: Moving textures.

Post by chocolatepie33 »

From the Sauerbraten editing command reference:

Code: Select all

texoffset X Y
Offsets the current texture slot by X and Y texels along the X and Y axes of the texture respectively.

voffset X Y
Offsets all textures in the current selection as if by the "texoffset" command.
I think by texel they mean pixel, so /voffset 256 256 would move the texture 256 pixels to the right and 256 pixels up. Or left and down.


If you would like to upload models, I recommend that you just get an account at an upload site (e.g. MediaFire), upload all your work to there and then provide us with a link. The forum does have an upload attachment feature, but I don't know if there's a size limit or not. If you're thinking about submitting them to Sandbox (for use in future releases), there's a subforum for that.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: Moving textures.

Post by kddekadenz »

You can set it in the cfg of your map:

Code: Select all

texture 0 "path/to/texture" 4
The last number is for the rotation (can be also 0,1,2,3).
Kelgar is an advanced RPG beeing developed in Sandbox
Dhuman
Member
Member
Posts: 18
Joined: December 16th, 2010, 8:42 pm

Re: Moving textures.

Post by Dhuman »

Thanks All this helped
Thank You
Dhuman
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Moving textures.

Post by chocolatepie33 »

You're welcome.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Locked