Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Tracer

Linking a ceiling to a floor in DB2, ZDoom.

Recommended Posts

I just want to make a simple lift that goes from the main floor to a basement. You step on the floor of the lift, flip the switch, the floor lowers to the basement. However, I also want the ceiling to come down with the floor as well.

Can somebody explain to me how to do this in the simplest of forms?

I've done good and forum searches for this, and I simply don't understand that jargon that I'm coming across. So if somebody can just tell me what to do to achieve this, I would greatly appreciate it.

Share this post


Link to post
TraceOfSpades said:

Can somebody explain to me how to do this in the simplest of forms?


Even simpler would be the use of these specials

95:FloorAndCeiling_LowerByValue (tag, speed, height)
96:FloorAndCeiling_RaiseByValue (tag, speed, height)

Share this post


Link to post
Kappes Buur said:

Even simpler would be the use of these specials

95:FloorAndCeiling_LowerByValue (tag, speed, height)
96:FloorAndCeiling_RaiseByValue (tag, speed, height)


Okay, but what do I do with those? Where do I type that stuff in?

Share this post


Link to post
TraceOfSpades said:

Okay, but what do I do with those? Where do I type that stuff in?

Use them as a walkover or pressable linedef action, or in an ACS script.

Share this post


Link to post

I am very new to scripting and am just trying to learn, so pardon my ignorance please. In the absolute simplest of terms...like, "You click here, type in this value, click here, do this..."

Share this post


Link to post
scifista42 said:

Use them as a walkover or pressable linedef action, or in an ACS script.


That's gibberish to me, dude. What is a walkover, what is a pressable linedef action, and I have no idea what an ACS script is.

Share this post


Link to post
TraceOfSpades said:

That's gibberish to me, dude. What is a walkover, what is a pressable linedef action.


You cross a certain line and an action occurs.

95:FloorAndCeiling_LowerByValue (tag, speed, height) <-- should be set to your above switch/line to descend.



96:FloorAndCeiling_RaiseByValue (tag, speed, height) <---- should be set to your lower switch/line to ascend.

What tag/speed/height you want, should be easy enough to determine.

Share this post


Link to post
Du Mhan Yhu said:

You cross a certain line and an action occurs.


Okay, I know how to do that, I just didn't know the term.

But how do I make it so that the floor and ceiling of a certain sector lower at the same time, at the same speed, maintaining the same distance the entire time, and stopping at the same time?

Share this post


Link to post
TraceOfSpades said:

I just didn't know the term.

Study doomwiki or ZDoomwiki (they're good sources of information) or read/watch some basic mapping tutorials to familiarize yourself with basic terminology of mapping and modding. It will help you both to make things clear in your own mind, and to communicate with other mappers.

EDIT: You must open the map in the proper format. Probably Hexen or UDMF.

Share this post


Link to post
TraceOfSpades said:

I opened up elevator.wad, and this is what I saw.

I don't understand how that's supposed to be an elevator


Wrong format.

Share this post


Link to post
TraceOfSpades said:

I opened up elevator.wad, and this is what I saw.

I don't understand how that's supposed to be an elevator.


Another good reason to use GZDoom Builder.

[edit]
Maybe I should elaborate:
GZDB compares the format a map was constructed with and the format you are trying to open it with.
IF they don't match, then GZDB will not willingly open the map.

Share this post


Link to post

I give up. The map I'm working on won't open in any format other than ZDoom (Doom in Doom Format).

Share this post


Link to post
TraceOfSpades said:

I give up. The map I'm working on won't open in any format other than ZDoom (Doom in Doom Format).



Highlight your entire map, copy/paste it onto a fresh grid in the previously mentioned formats.

You may need to reassign some tags, but it's only minor.

Note: always have a back up save of your map.

Share this post


Link to post

No dice...now none of my walkover actions are working, even after I tried reassigning.

Ugh, this is so frustrating.

Share this post


Link to post
TraceOfSpades said:

I give up. The map I'm working on won't open in any format other than ZDoom (Doom in Doom Format).

That's because you've started the map within that format. You can still change the format in Map Options, after you open the map correctly. Generally, don't use that format, it only offers the most basic ZDoom features. Go for a much much more flexible UDMF format next time when mapping for a ZDoom based port.

Share this post


Link to post
scifista42 said:

That's because you've started the map within that format. You can still change the format in Map Options, after you open the map correctly. Generally, don't use that format, it only offers the most basic ZDoom features. Go for a much much more flexible UDMF format next time when mapping for a ZDoom based port.


Will do, thank you for your help.

Share this post


Link to post

If you're using Doom format, use the Boom elevator linedef types to create something where the floor and ceiling move together.

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
Sign in to follow this  
×