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

Texture as a flat?

Recommended Posts

Is there a way to control the direction a texture paints when used as a flat other than writting a script.
Chris

Share this post


Link to post

You could tag a line with line_alignFloor or line_alignCeiling

183:Line_AlignFloor (lineid, side)
184:Line_AlignCeiling (lineid, side)

lineid: Line to use for alignment
side: Align sector in front of or behind the line?

Causes the tops of the floor or ceiling textures in the front (0) or back (1) of the specified line to align with the line. Any future scrolling or rotation of the floor or ceiling will use this new alignment as a basis, unless changed again with one of these specials. The reason for this is so that once rotating sectors are a reality, you only need to align the texture once, and it will stay aligned as you rotate the sector.

Share this post


Link to post
Graf Zahl said:

But only in ZDoom. All other ports don't support flat alignment at all.

Wrong! Skulltag, ZDaemon and ZDoomGL all support it too (but only because they're based on ZDoom ;) )

Share this post


Link to post
NiGHTMARE said:

Wrong! Skulltag, ZDaemon and ZDoomGL all support it too (but only because they're based on ZDoom ;) )



So technically it's all the same anyway. Of course a ZDoom derivative will have ZDoom's features.

Share this post


Link to post

Yes, but you said "all other ports". ZDaemon, Skulltag and ZDoomGL might be based on ZDoom, but they're still seperate ports :) Otherwise Eternity would be the same port as the original DOSDoom (DOSDoom->Boom->MBF->SMMU->Eternity) ;)

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
×