Page 1 of 1
Stretch textures in GZDoom Builder?
Posted: Thu May 15, 2014 3:21 pm
by Rofl25
Is there a way to stretch textures in GZDoom Builder? I want to make it so the pictures take up the whole spot without tiling or not completely showing up.

Re: Stretch textures in GZDoom Builder?
Posted: Fri May 16, 2014 3:04 am
by Kappes Buur
Use
TEXTURES, eg
Code: Select all
texture comp1, 256, 256
{
XScale 1.0
YScale 1.2
Patch GATE_T2, 0, 0
}
Adjust the scale(s) accordingly.
Re: Stretch textures in GZDoom Builder?
Posted: Fri May 16, 2014 3:51 am
by MaxED
In UDMF map format, you can use "Fit Texture" (Ctrl-Alt-A), "Fit Texture's Height" (Alt-Shift-A) and "Fit Texture's Width" (Alt-A) actions in Visual mode.
Re: Stretch textures in GZDoom Builder?
Posted: Fri May 16, 2014 7:53 am
by Rofl25
MaxED wrote:In UDMF map format, you can use "Fit Texture" (Ctrl-Alt-A), "Fit Texture's Height" (Alt-Shift-A) and "Fit Texture's Width" (Alt-A) actions in Visual mode.
Thank you very much.
EDIT: Well, when I do CTRL-Alt-A in visual mode, the texture does indeed do what it's supposed to. But when I go ingame, it looks like this:

Is there anything extra I have to do?
Re: Stretch textures in GZDoom Builder?
Posted: Fri May 16, 2014 5:20 pm
by Kappes Buur
Those options for fitting a texture slipped by me without noticing.
They weren't even mentioned in the Changelog.
I tested fitting a texture with 'Ctrl-Alt-A' with versions back to r1842.
Works for me ™

Re: Stretch textures in GZDoom Builder?
Posted: Sat May 17, 2014 9:26 am
by Rofl25
Kappes Buur wrote:Those options for fitting a texture slipped by me without noticing.
They weren't even mentioned in the Changelog.
I tested fitting a texture with 'Ctrl-Alt-A' with versions back to r1842.
Works for me ™
Well this is agitating. It absolutely doesn't want to work for me. Is there absolutely anything else to do other than just setting the map to UDMF format and then doing CTRL+ALT+A on the texture?
Re: Stretch textures in GZDoom Builder?
Posted: Sat May 17, 2014 9:42 am
by edward850
Rofl25 wrote:Well this is agitating. It absolutely doesn't want to work for me. Is there absolutely anything else to do other than just setting the map to UDMF format and then doing CTRL+ALT+A on the texture?
MaxED wrote:In UDMF map format, you can use "Fit Texture" (Ctrl-Alt-A), "Fit Texture's Height" (Alt-Shift-A) and "Fit Texture's Width" (Alt-A) actions in Visual mode.
UDMF was a requirement, not a suggestion.

Re: Stretch textures in GZDoom Builder?
Posted: Sat May 17, 2014 11:42 am
by Kappes Buur
Oh, I see from your first image that your map is in DOOM:DOOM2 (DOOM format).
As
MaxED and
edward850 mentioned, for those options to work, your map
must be in UDMF(ormat).
Conversion from DOOM format to UDMF(ormat) is easy.
But it is a two step process:
- 1. Doom format ==> Hexen format
2. Hexen format ==> UDMF(ormat)
Re: Stretch textures in GZDoom Builder?
Posted: Sat May 17, 2014 3:32 pm
by Rofl25
edward850 wrote:UDMF was a requirement, not a suggestion.

I know that. I am indeed in UDMF. I tried the CTRL+ALT+A command in a Doom format map, and it didn't work at all, ingame or in the editor. The game configuration i'm using in GZDoom Builder is "GZDoom: Doom (UDMF)" so I don't know why it works in the editor but not ingame.
EDIT: Just to avoid confusion, I'm going to point out that the second screenshot I posted was in an UDMF format map, while the very first one was the regular Doom format.
EDIT 2: Okay, get this. Now all of a sudden, CTRL+ALT+A doesn't work in the GZDoom: Doom UDMF game config anymore, but it works fine in Zandronum: Doom (UDMF), but still won't display the textures as stretched ingame. I don't understand what's going on anymore. Upgrading from r1952 to r1955 didn't fix the issue.
Re: Stretch textures in GZDoom Builder?
Posted: Sat May 17, 2014 8:22 pm
by Kappes Buur
Here is a simple pwad with a stretched texture on a 512 x 512 wall
http://www.mediafire.com/download/tjsj7 ... tretch.wad
Headsup: While G/ZDoom displayed the stretched texture, Zan1.2 r130826-1853 did not.
Give it a try to see if it displays correctly.
If it doesn't, posting your GZBuilder.log file might help pinpoint the trouble.
Re: Stretch textures in GZDoom Builder?
Posted: Sat May 17, 2014 11:10 pm
by Rofl25
Kappes Buur wrote:Here is a simple pwad with a stretched texture on a 512 x 512 wall
http://www.mediafire.com/download/tjsj7 ... tretch.wad
Headsup: While G/ZDoom displayed the stretched texture, Zan1.2 r130826-1853 did not.
Give it a try to see if it displays correctly.
If it doesn't, posting your GZBuilder.log file might help pinpoint the trouble.
Didn't work on the same version of Zandronum that you posted, but worked with the latest SVN build of GZDoom.
Just tried stretching a texture in GZDoom builder again in the GZDoom Doom UDMF format, and it still doesn't work. Where can I find the GZBuilder.log file? The only file called GZBuilder I could find was a .cfg file.
EDIT: Ok, Turns out I had it set to GZDoom regular Doom format all along and not UDMF. Tried it in the ACTUAL UDMF format this time and it stretches fine again, but it only displays it like that in GZDoom and not Zandro.
I hope they make it so textures can be displayed as stretched in the next release of Zandronum.
Thank you all very much for your help.