Author Topic: Trouble with AddShaftDoorComponent command  (Read 259 times)

Offline HappyPizza64

  • Contributor Level I
  • *
  • Posts: 109
  • I have far too much ABBA on my playlist
  • Location: Dublin, Ireland
    • View Profile
    • Flickr
Trouble with AddShaftDoorComponent command
« on: June 15, 2019, 06:04:18 am »
So in one of my buildings, the elevator_doors.txt file has for some reason stopped working and won't create doors. So now I'm trying to create doors with Add(Shaft)Door(s)Component commands. When I load up the building, firstly, the doors stay closed even though by default I have "OpenOnStart" set to true. After it goes into Nudge mode, the doors go the opposite way they were supposed to and keep on going forever. My code:
Code: [Select]
AddDoorComponent 1, LeftDoor, LiftDoorR, black, 0.2, left, 1, 1, 3.1, 0, 3.1, -1.5, 8, 0, 1, 1, 1, 1
AddDoorComponent 1, RightDoor, LiftDoorL, black, 0.2, right, 1, 1, 3.1, 0, 3.1, 1.5, 8, 0, 1, 1, 1, 1

(The rest is in a separate section)

AddShaftDoorComponent 1, 1, LeftDoor, LiftDoorL, black, 0.2, left, 1, 1, 3.4, 0, 3.4, -1.5, 8, 0, 1, 1, 1, 1
AddShaftDoorComponent 1, 1, RightDoor, LiftDoorR, black, 0.2, right, 1, 1, 3.4, 0, 3.4, 1.5, 8, 0, 1, 1, 1, 1

AddShaftDoorComponent 2, 1, LeftDoor, LiftDoorL, black, 0.2, left, 1, 1, 3.4, 0, 3.4, -1.5, 8, 0, 1, 1, 1, 1
AddShaftDoorComponent 2, 1, RightDoor, LiftDoorR, black, 0.2, right, 1, 1, 3.4, 0, 3.4, 1.5, 8, 0, 1, 1, 1, 1

AddShaftDoorComponent 3, 1, LeftDoor, LiftDoorL, black, 0.2, left, 1, 1, 3.4, 0, 3.4, -1.5, 8, 0, 1, 1, 1, 1
AddShaftDoorComponent 3, 1, RightDoor, LiftDoorR, black, 0.2, right, 1, 1, 3.4, 0, 3.4, 1.5, 8, 0, 1, 1, 1, 1
Screenshots are here and here . Can anyone help me?
Thanks a mil,

- HP64

Timezone: GMT

Share on Facebook Share on Twitter


Offline QuarioQuario54321

  • Contributor Level I
  • *
  • Posts: 152
  • Location: Michigan, United States
    • View Profile
Re: Trouble with AddShaftDoorComponent command
« Reply #1 on: June 15, 2019, 11:35:55 am »
What is the nudge timer? And have you tried swapping the door locations?

Offline HappyPizza64

  • Contributor Level I
  • *
  • Posts: 109
  • I have far too much ABBA on my playlist
  • Location: Dublin, Ireland
    • View Profile
    • Flickr
Re: Trouble with AddShaftDoorComponent command
« Reply #2 on: June 15, 2019, 02:59:03 pm »
What is the nudge timer? And have you tried swapping the door locations?
Nudge timer is 60 seconds. I had tried doing that prior to posting this.
Thanks a mil,

- HP64

Timezone: GMT

Offline HappyPizza64

  • Contributor Level I
  • *
  • Posts: 109
  • I have far too much ABBA on my playlist
  • Location: Dublin, Ireland
    • View Profile
    • Flickr
Re: Trouble with AddShaftDoorComponent command
« Reply #3 on: June 16, 2019, 04:14:33 am »
Well, I have found out the problem. I had forgot to put Finish(Shaft)Doors in.
Thanks a mil,

- HP64

Timezone: GMT