As you have stated, this will need to be broken into at least three separate traps; the pressure plate to enable the gate, the first trigger to trap the floor, the second to trap the walls. Otherwise, the rules remain the same.