Skybox question

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
Doom'd marine
Posts: 3
Joined: Sun Aug 13, 2006 0:34

Post by Doom'd marine »

J-Dub wrote:Unreal / Quake 2 Type Skyboxes
Graf Zahl wrote: Defining them is simple:

This goes into the same lump as the dynamic light definitions. To make things easier this version allows the use of the generic name GLDEFS in addition to the game specific definitions DOOMDEFS/HTICDEFS etc.

In this lump add:

Code: Select all

skybox sky1
{
	sky1_
	sky2_
	sky3_
	sky4_
	skyub
	skyfb
}

skybox sky2
{
	uskyb
	skyub
	skyfb
}
There are 2 options:

1. You have 6 square graphics, one for each face of the cube. You must specify all 6 of them in order: North, East, South, West, top, bottom.

2. You have one graphic for the 4 sides of the cube plus a top and bottom graphic. Then you must list the 4-sides graphic first, then top then bottom. The leftmost part of such a graphic must be the north face, the rightmost part the west face.

The skybox object is treated like a texture, i.e. you simply set it in the mapinfo lump like a regular sky texture.
Is there a required program to make the required Lumps? Because I've tried with XWE and it doesn't reconize the shorthand name of the Lump.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Split off from the documentation thread. That is *not* the proper place to ask such questions.
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Doom'd marine wrote:Is there a required program to make the required Lumps?
No. The "DEFS" lumps are plain text, and the graphics lumps are... well... graphics lumps... :P
Doom'd marine wrote:Because I've tried with XWE and it doesn't reconize the shorthand name of the Lump.
Uhhhhh... What?
Doom'd marine
Posts: 3
Joined: Sun Aug 13, 2006 0:34

Post by Doom'd marine »

Sir_Alien wrote:
Doom'd marine wrote:Is there a required program to make the required Lumps?
No. The "DEFS" lumps are plain text, and the graphics lumps are... well... graphics lumps... :P
Doom'd marine wrote:Because I've tried with XWE and it doesn't reconize the shorthand name of the Lump.
Uhhhhh... What?
~Sigh.~ No.. Here's what I'm TRYING to do..

There are two Lumps I believe are nessacary for this, I've looked over T667's wad for an example, and it seems he uses two Lump-like things that defines said Skybox. " HIRESTEX " and "GLDEFS" with various info that is needed.

This is the problem: I Try to make both lump-like things with XWE (External Wad Editor.) Now, when i do, the document comes out as a "Margin" Entry ( An entry used to seperate diffrent things in a wad.) And I am TRYING to figure out, what I need to use in terms of a Wad editor, to make this possible..

Now here is my question: What is nessacary to do this? That's all I want to know.. -.-;
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Uhm, read the documentation... It's all there.

To create the DEFS lumps, just select "Entry -> New" in XWE and start typing. Regardless of how XWE treats the lumps, GZDoom will recognise them for what they are.

And don't fucking ~Sigh~ at me like I'm the dickhead, I answered the question you asked... And I'm not the one who can't read perfectly straight-forward documentation.
Doom'd marine
Posts: 3
Joined: Sun Aug 13, 2006 0:34

Post by Doom'd marine »

Sir_Alien wrote:Uhm, read the documentation... It's all there.

To create the DEFS lumps, just select "Entry -> New" in XWE and start typing. Regardless of how XWE treats the lumps, GZDoom will recognise them for what they are.

And don't fucking ~Sigh~ at me like I'm the dickhead, I answered the question you asked... And I'm not the one who can't read perfectly straight-forward documentation.
Oh? The dickhead thing? Well you know.. It really doesn't tell you anything other than the data needed. And another thing.. If you say
Just to type it out and don't worry how it treats the lumps, then how are you supposed to save it? Yeah, when I tried it wouldn't save it automatically, and the "save" function in the Editing tab isn't available, I really don't mean to make you sound like a dickhead, but not all of us are intelligent enough to read something and just get it. Some of us need something just a little simplier in terms of directions. :wink:
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

I don't even know what you're asking anymore... And I don't see how things could be any simpler... There's nothing more I can do to help you.
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Post by NeoHippo »

Doom'd marine wrote:Is there a required program to make the required Lumps? Because I've tried with XWE and it doesn't reconize the shorthand name of the Lump.
XWE will work perfectly for this.

As mentioned, there are 2 methods to render skyboxes. Do a search for skybox and look for Enjay's posts. He provided example pwads, for either case, some time ago.
TAtL, tU, aE
User avatar
Blade Nightflame
Posts: 31
Joined: Sun Dec 04, 2005 22:35

Post by Blade Nightflame »

By any chance, XWE might make GLDEFS and HIRESTEX into MARKER lumps, change their types to 0 (text files) so they'll work.
User avatar
Paul
DRD Team Admin (Inactive)
Posts: 1058
Joined: Thu Jun 30, 2005 13:30
Location: Poland - Grojec / Radom
Contact:

Post by Paul »

~Sigh~ at me like I'm the dickhead
Oh? The dickhead thing?
Guys please. There's no need for that.
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Blade Nightflame wrote:By any chance, XWE might make GLDEFS and HIRESTEX into MARKER lumps, change their types to 0 (text files) so they'll work.
That isn't even necessary.

If you create the entry, regardless of how XWE treats the file, whether it says it's a marker or it says it's a platypus, and fill in the appropriate data, the lump will be processed without a problem.

And if you close down XWE and reopen it, you'll see it is no longer treated as a marker.
Paul wrote:Guys please. There's no need for that.
Fair enough. But this guy clearly hasn't even tried what I suggested before complaining again... Again, this is a simple case of "trial and error".
User avatar
Blade Nightflame
Posts: 31
Joined: Sun Dec 04, 2005 22:35

Post by Blade Nightflame »

Yes, but there's no real need to call people names because they don't understand.

Some people simply don't know ZDoom or GZDoom as much as we do. You know that? :?
User avatar
Sir_Alien
Posts: 80
Joined: Tue Sep 13, 2005 8:23
Location: Sydney, Australia
Contact:

Post by Sir_Alien »

Blade Nightflame wrote:Yes, but there's no real need to call people names because they don't understand.

Some people simply don't know ZDoom or GZDoom as much as we do. You know that? :?
I'm sorry, what part of me acknowledging my fault and explaining my frustration wasn't good enough for you?

And regardless of my attitude, I still tried to help the guy, even after I thought he was dismissing my attempts to do so.
User avatar
Blade Nightflame
Posts: 31
Joined: Sun Dec 04, 2005 22:35

Post by Blade Nightflame »

It's not the part per-se, it just some people don't get, or understand the help as quickly as other people would.
I know people can be frustrated with even the simplest questions, like I can when I have to tutor a few people around ZDoom's mechanics and GZDoom's even.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

*sigh*'ing when someone offers you advise is very rude.

If I were in Sir_Alien's shoes, I too would snap back at him. I mean WTF, I'm trying to help you, you *sigh* and start talking nonsense that nobody understands.

It's very straightforward. Entry -> New then type GLDEFS or whatever.

Now start typing your stuff in the window to the right, then Hex -> Save. Easy.
Locked

Return to “GZDoom”