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

Poly-objects with fixed height?

Recommended Posts

Hi,

I was wondering if there is a way to make poly-objects have a fixed height.
In my map I have an outdoor area which is 256 units high. Then I made a building by making the walls 128 high and I put a 3D-object on top of the walls to make a roof. I did it like this so the bigger structures would be visible behind the building. Now I am trying to make a sliding door which is 128 units high. Currently the door is 256 units high and it looks ridiculous.
Is there any way to fix the height of this door while still being able to see what's behind the building?

Share this post


Link to post

g4m3w0rm said:
I was wondering if there is a way to make poly-objects have a fixed height.


Create a polyobject with Polyobj_ExplicitLine from 2-sided textures that have the 3DMidTex flag set. ZDoom wiki has the technical details.

Share this post


Link to post

Thanks for the answer but I'm afraid I don't get how polyobj_explicit line works.
On what line am I supposed to use this?
And how do I set the flag? Does this happen in the script or something?
A wad that uses this technique might be a great example.

Share this post


Link to post

Thanks, I get it now.
The flag thing confused me at first because the option for the 3dmidtex flag was called "walkable middle texture".
Everything works fine now.

Share this post


Link to post

I honestly didn't believe this was possible, so thank you for asking someone to help you, so I could come around and just snarl the knowledge all up for myself like a greedy lion.

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  
×