Using Both Legacy and ZDooM Features

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
User avatar
Boingo the Clown
Posts: 102
Joined: Sat Dec 03, 2005 17:40
Location: North of New York, West of Montreal, East of Toronto, and South of Hell
Contact:

Using Both Legacy and ZDooM Features

Post by Boingo the Clown »

I am just wondering how difficult it is to create levels using both Legacy and ZDooM features. For example, I am currently working on a level I already created for Legacy, but I want to add a sloping floor to it.

Is that possible, or will there be conflicts between line types in the game? i.e. will line type 181 give me a slope as it ZDooM, or will it give me a switch that activates a perpetual lift as in Legacy?

The ZDooM wiki also says that line type 181 requires two arguments. I do not understand this. How do I pass arguments?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Type 181 is for Hexen format maps. Hexen has 5 arguments per line special.
If you have a Doom format map (as for Legacy) you need to use line types

Code: Select all

340 = 0,		Plane_Align (1, 0)	// Slope front floor
341 = 0,		Plane_Align (0, 1)	// Slope front ceiling
342 = 0,		Plane_Align (1, 1)	// Slope front floor and ceiling
343 = 0,		Plane_Align (2, 0)	// Slope back floor
344 = 0,		Plane_Align (0, 2)	// Slope back ceiling
345 = 0,		Plane_Align (2, 2)	// Slope back floor and ceiling
346 = 0,		Plane_Align (2, 1)	// Slope b.f. and f.c.
347 = 0,		Plane_Align (1, 2)	// Slope f.f. and b.c.
to make slopes.
User avatar
Boingo the Clown
Posts: 102
Joined: Sat Dec 03, 2005 17:40
Location: North of New York, West of Montreal, East of Toronto, and South of Hell
Contact:

Post by Boingo the Clown »

Fantastic!

Thanks Graf.
Locked

Return to “GZDoom”