back to TRLE FAQ and community

this tutorial was submitted by Data
visit her site at
http://www.tina1977.fsnet.co.uk/



In order to open a door using five pushable objects which all have to be on their correct respective square, follow this tutorial.

Add pushable objects to your wad using TRwest or WADmerger, making five in total

pushable object 1
pushable object 2
pushable object 3
pushable object 4
pushable object 5

They can all be differently shaped objects or all look the same; it does not matter, however it may be useful to texture each one slightly differently (using STRpix)

To set up five triggers to open a door; Click on the door to select it and then select the square(s) where you wish to trigger the door from. Because there are five triggers they have to be set up using the bit codes in the following way:

Set the first trigger as a 'heavyswitch' and set the bit code to 1 (all other bit codes 2-5 should be on the off position)
select the door again,
Set the second trigger as a 'heavyswitch' and set the bit code to 2 (again all other bit codes off)
select the door again,
Set the third trigger as a 'heavyswitch' and set the bit code to 3 (again all other bit codes off)
select the door again,
Set the fourth trigger as a 'heavyswitch' and set the bit code to 4 (again all other bit codes off)
select the door again,
Set the fifth trigger as a 'heavyswitch' and set the bit code to 5 ( again all other bit codes off)

Now set up the OCB in the following way

In the OCB for the first object, press button 1 and enter 1 in the value and press return
In the OCB for the second object, press button 2 and enter 2 in the value and press return
In the OCB for the third object, press button 3 and enter 3 in the value and press return
In the OCB for the fourth object, press button 4 and enter 4 in the value and press return
In the OCB for the fifth object, press button 5 and enter 5 in the value and press return

The outcome of this setup should result in a pushable object puzzle where the player has to ensure that each object ends up on its correct square.

If you wish to use the planetry object as well (from the Library wad) then set up the bits opposite in the OCB to that of the pushable objects like so (please note: you only need one planetry object in your wad):

In the OCB for the planetry object, press buttons 2,3,4,5 and enter 1 in the value and press return
In the OCB for the planetry object, press buttons 1,3,4,5 and enter 2 in the value and press return
In the OCB for the planetry object, press buttons 1,2,4,5 and enter 3 in the value and press return
In the OCB for the planetry object, press buttons 1,2,3,5 and enter 4 in the value and press return
In the OCB for the planetry object, press buttons 1,2,3,4 and enter 5 in the value and press return