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

Platform can lower, but I can't make it raise again. (Help)

Recommended Posts

Hi, I need some help with a very important part of my doom map. Basically, what happens, is you cross over a line which makes a platform lower. This action makes it so that it does not go up again automatically. Then you go to the platform, and press a switch on the wall that is supposed to make it raise, and then lower again 3 seconds later. But this doesn't work. I have a feeling that it doesn't work because the initial linedef action makes the platform lower permanently, making it so that the switch does nothing. The reason I think this is because if the platform starts lowered, then the switch works. But if you cross over the line to make it lower, it doesn't work. Does anyone have any idea how to make this work?

Share this post


Link to post
1 hour ago, LagZero said:

Hi, I need some help with a very important part of my doom map. Basically, what happens, is you cross over a line which makes a platform lower. This action makes it so that it does not go up again automatically. Then you go to the platform, and press a switch on the wall that is supposed to make it raise, and then lower again 3 seconds later. But this doesn't work. I have a feeling that it doesn't work because the initial linedef action makes the platform lower permanently, making it so that the switch does nothing. The reason I think this is because if the platform starts lowered, then the switch works. But if you cross over the line to make it lower, it doesn't work. Does anyone have any idea how to make this work?

 

It's basically as you said. Once you do one or the other, you can't do the other one in its stead. Per the wiki on the Lower/Raise types:

Quote

This target sets the "low" height to the lowest neighboring floor, including the floor itself, and the "high" height to the highest neighboring floor, including the floor itself. When this target is used the floor moves perpetually between the two heights. Once triggered this type of linedef runs permanently, even if the motion is temporarily suspended with a Stop type. No other floor action can be commanded on the sector after this type is begun.

While it does not say that specifically for the linedef-triggered one, presumably at that point, it's finding the lowest floor as the floor that it's on, and the highest floor as... well, the floor that it's on. So it doesn't move.

 

There are ways around this, but I think you would basically need to use a map format that is compatible with ACS scripting (i.e; Doom-in-Hexen, UDMF, etc.) and write a script to do the actions you want. Vanilla-compatible actions are very "fixed" and you can't easily do stuff outside of their limitations.

Share this post


Link to post
5 minutes ago, NoOne said:

Here you go , you don't need a script it's easy and basic :-

 

https://drive.google.com/file/d/1ZqsWkvzEwgFmxb5ALT-sj5xRjw5BPXHv/view?usp=sharing

 

Works fine in UDMF, but the platform has to be adjacent to another sector of greater height, it doesn't work if its out on it's own.

It should be noted that this is UDMF, and yeah, this is easy enough to do there.

 

If he's mapping for Vanilla, this is a whole other ballgame. :P

Share this post


Link to post
3 minutes ago, Dark Pulse said:

It should be noted that this is UDMF, and yeah, this is easy enough to do there.

 

If he's mapping for Vanilla, this is a whole other ballgame. :P

He didn't specify, and it's the way to go unless you want to live in the past ;-p

 

Also easy in Vanilla, you just need 1 more linedef to do what he wants, think about it.

Share this post


Link to post
Just now, NoOne said:

He didn't specify, and it's the way to go unless you want to live in the past ;-p

Well yeah, I get that much. I'd certainly agree.

 

Still, "What format are you mapping for?" is one of those gotchas that many novice mappers don't even really know about. :P

Share this post


Link to post
19 hours ago, NoOne said:

He didn't specify, and it's the way to go unless you want to live in the past ;-p

 

Also easy in Vanilla, you just need 1 more linedef to do what he wants, think about it.

What do you mean by, "I just need 1 more linedef"?

 

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
×