Jump to content

Poly-objects with fixed height?


g4m3w0rm

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...