1) Draw your platform sector, assign it a tag, let's say 60.
2) Draw outside of your map a triangle. Select two of its 90' degree sides and give it no texture by typin "-" without brackets, you should see a yellow "missing" exclamation sign. Deselect them and select the remaining one, give it a texture of a solid color you already have or simply type "CRATOP2" without brackets. Set in an action "160". In the first, the top one type sector number 60 - that is where your platform will be. Press OK.
3) Give this triangular dummy sector you just edited a sector tag number 61.
4) Edit dummy sector's floor and ceiling textures, you might simply texture it with "CRATOP2" again.
5) Set the heigts of this dummy sector - Ceiling: 0, Floor: -16. Press OK.
Now download and install GZDoomBuilderBugFix (not Ultimate DoomBuilder) as it has a built-in script editor.
Paste this script in there:
Code: Select all
#include "zcommon.acs"
script 1 (void)
{
//Raise the platform
Ceiling_RaiseByValue(61, 64, 256);
Floor_RaiseByValue(61,64, 256);
}
Where 61 - is your dummy sector's tag;
64 - is speed at which it will be raised;
256 - the height to which it will be raised;
I gave it 256 just because I'd think this starting plato has a floor height value of 256, if it's higher (like 320) it should be 320 in the script, if it's lower (like 128) then it should be 128 in the script.
Compile the script.
Now 6) Draw a straight linedef WITHOUT any vertices on it and make it doesn't intersect the other linedefs. It must FACE the direction from which the player walks from, if it faces the platform, select that linedef and press "F" key on the keyboard. Then select it and give it an action number 80 (Script Execute), press on script number option and select "script 1". Activation flags must be the following: When player walks over, front side only. Press OK.
You might want to give that dummy sector some translucency, in order to do this, select your dummy sector's gree linedef again and decrease opacity from 255 to 170 for example, you might also check the flag 64 - additive translucency.