TTLG|Jukebox|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 2 of 2

Thread: Door bolt

  1. #1
    Member
    Registered: Mar 2012
    Location: Moscow, Russia

    Door bolt

    What script makes the bolt (lever) on the door work? I copied the settings from Cardinal's Sins, but nothing happens.

  2. #2
    Member
    Registered: Apr 2011
    in Cardinal's Sins (e.g. door 3653, lever 4120)? that's using stock T2 scripts from miss7.osm: the lever is CD'd to a Marker with DoorTranslator, which in turn is CD'd to the door with TrapDoorLock. those two scripts together convert any TurnOn/TurnOff into a lock/unlock action.

    but you can achieve the same effect with just default gen scripts: instead of locking the door directly, create a FnordLock, and add a Lock link from the door to it. and have the lever CD'd to the FnordLock.

    Code:
    Door  --Lock-->  FnordLock  <--ControlDevice--  Lever
    Note that this way you set Engine Features>Is Locked on the FnordLock, not on the door itself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •