Page 1 of 1

Moving textures.

Posted: May 22nd, 2012, 7:17 pm
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

Re: Moving textures.

Posted: May 22nd, 2012, 7:32 pm
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.

Re: Moving textures.

Posted: May 23rd, 2012, 10:12 am
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).

Re: Moving textures.

Posted: May 24th, 2012, 12:47 pm
by Dhuman
Thanks All this helped
Thank You
Dhuman

Re: Moving textures.

Posted: May 24th, 2012, 8:07 pm
by chocolatepie33
You're welcome.