Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
beast

Help: custom sky texture tiling

Recommended Posts

I want to use this awesome blue sky texture by @Fuzzball that is posted here, so I followed these steps:

 

1. export the sky as rsky1.ppm

2. create wadinfo.txt with the relevant RSKY1 entry, and a textures entry

[patches]
RSKY1
[textures]
TEXTURE1

3. create textures1.txt to define the texture size

;Format of textures:
;TextureName	Width	Height
;*	PatchName	Xoffset	Yoffset
SKY1        		1024	200
*	RSKY1       	0	0
;End

4. use deutex to compile the PWAD: deutex -make custombg.wad

 

No errors so far, and loading the wad does show the new sky, but it does not seem to be wrapping very well. Can anyone offer some tips? I would prefer using deutex if possible.

 

I compiled slade3 from source, but don't really know how to use it, and have been struggling to find a good tutorial on custom sky textures for it.

 

 

doom00.png

custombg.wad.zip

Share this post


Link to post

A patch cannot be wider than 256, so you need to split the image into four 256-wide patches and then build the 1024-wide texture from those patches.

Share this post


Link to post
6 hours ago, Empyre said:

A patch cannot be wider than 256, so you need to split the image into four 256-wide patches and then build the 1024-wide texture from those patches.

 

Ah I understand, I will try that in the textures file, thanks @Empyre.

 

10 hours ago, Fuzzball said:

It should wrap fine- did you import it as 1024 wide?

 

I did indeed, but might be a limitation of the engine as noted above. Thanks for the beautiful textures by the way :)

Share this post


Link to post

So I split the sky image into 4 patches of 256x128 and updated wadinfo.txt to include these:

 

[levels]
MAP01
[patches]
RSKY1
RSKY1B
RSKY1C
RSKY1D
[textures]
TEXTURE1

 

And updated textures1.txt to build the default SKY1 texture from multiple patches, with appropriate offsets:

;Format of textures:
;TextureName	Width	Height
;*	PatchName	Xoffset	Yoffset
SKY1        	1024	128
*	RSKY1       0	0
*	RSKY1B       256	0
*	RSKY1C       512	0
*	RSKY1D       768	0
;End

But the sky still does not pan correctly, the engine only seems to recognize the first image and repeats it instead of using the other patches.

 

I am putting this task on hold for now, I thought it would be interesting to try but am running a bit short on time. Anyway thanks all for the feedback everyone 🤘

Share this post


Link to post
1 hour ago, Kappes Buur said:

Just in case you come by and check on things.

New Sky and Slade3

 

Very nice. This should be in the Doomworld Editing Tutorials forum.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×