Editing 3DMidTex advanced topics
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 23: | Line 23: | ||
Create a small sector out of the way. Set the floor height to 0, the ceiling height to 0 (so it's closed) and set the tag to 1. This sector will become the sector that moves the 3DMidTex door, and this door will be triggered when the player presses on the 3DMidTex door. Next, create another sector attached to your first one. Set the floor to 0, the ceiling to 64 and set the tag to 0. This sector will give the door sector you just created a height to raise up to. | Create a small sector out of the way. Set the floor height to 0, the ceiling height to 0 (so it's closed) and set the tag to 1. This sector will become the sector that moves the 3DMidTex door, and this door will be triggered when the player presses on the 3DMidTex door. Next, create another sector attached to your first one. Set the floor to 0, the ceiling to 64 and set the tag to 0. This sector will give the door sector you just created a height to raise up to. | ||
Last, set one of the linedefs of the door sector (make sure it's one that faces in the door sector) to have a [[Sector_Attach3dMidtex]] special with '' | Last, set one of the linedefs of the door sector (make sure it's one that faces in the door sector) to have a [[Sector_Attach3dMidtex]] special with ''is_ceiling'' set to 1 (or 282 on the Doom format), and a line ID (or tag on the Doom format) of 1. This links the movement of the sector's ceiling to the 3DMidTex door (which you will remember also has a tag of 1). | ||
[[Image:3dmidtex_tut6.jpg]] | [[Image:3dmidtex_tut6.jpg]] | ||
Line 29: | Line 29: | ||
Now simply run the map and press on the 3DMidTex door. The door should now raise up, wait for 3 seconds, and close. If the player is caught under the door, it will now close (just like if the player was caught under a sector ceiling closing) because the link is two way. This also means that crushing ceilings will cause 3DMidTex lines to do damage to things when they are caught. | Now simply run the map and press on the 3DMidTex door. The door should now raise up, wait for 3 seconds, and close. If the player is caught under the door, it will now close (just like if the player was caught under a sector ceiling closing) because the link is two way. This also means that crushing ceilings will cause 3DMidTex lines to do damage to things when they are caught. | ||
[[Category:Tutorials]] | [[Category:Tutorials]] |