Elevator
Quote from 2DNED on January 21, 2022, 10:36 amI wanted a working elevator to put into a building
Turns out it is easier than i first thought, most of it is done in the OEDAs you can see nothing fancy just a base with 2 trigger points to go up/down on.
When you enter the CD02_door area it will trigger to move up and when trigger CD02_door001 it will come down.
Open the ASE in the SuperOED, click EDIT > Part Animation
Select the child which is floor in this case
Select the drop down "No Translate" and change to "Translate on Y axis"
Click on "Translate NONE" Button and a new box will appear
Change the first drop down to last option of "Set Control Register"
Change the second drop down to DOOR_00
Change END to "4.00" being 4 meters in height
Click OK, click ok, exportYou will need an ITEMS.def entry for it all to work'
begin "Elevator" id 107011 attrib: exp1 type building graphic elev ai_function door door_open_sound_id DOOR_OPN_MTL // door opening sound door_close_sound_id DOOR_CLS_MTL // door CLOSING sound move_function door First_Door 2 open_rate 6 num_doors 1 end
I made the rate 6 so it is slow to go up/down you can set the speed to suit.
I wanted a working elevator to put into a building
Turns out it is easier than i first thought, most of it is done in the OED
As you can see nothing fancy just a base with 2 trigger points to go up/down on.
When you enter the CD02_door area it will trigger to move up and when trigger CD02_door001 it will come down.
Open the ASE in the SuperOED, click EDIT > Part Animation
Select the child which is floor in this case
Select the drop down "No Translate" and change to "Translate on Y axis"
Click on "Translate NONE" Button and a new box will appear
Change the first drop down to last option of "Set Control Register"
Change the second drop down to DOOR_00
Change END to "4.00" being 4 meters in height
Click OK, click ok, export
You will need an ITEMS.def entry for it all to work'
begin "Elevator" id 107011 attrib: exp1 type building graphic elev ai_function door door_open_sound_id DOOR_OPN_MTL // door opening sound door_close_sound_id DOOR_CLS_MTL // door CLOSING sound move_function door First_Door 2 open_rate 6 num_doors 1 end
I made the rate 6 so it is slow to go up/down you can set the speed to suit.
Uploaded files:
- You need to login to have access to uploads.