[F&S] Toggle Lights & Doors
Switches the lighting state when entering and exiting the room.
Additionally can open doors with pxoximity sensor.
- 1 Occupancy Sensor (Kit Sensors)
- 1 IC Housing.
- 1 Integrated Circuit (IC10).
- Any type of (Kit Lights) instead of Wall Light (Battery), Diode Slide, LED.
- 1 Proximity Sensor (Kit Sensors)
- 1 Door (Kit Door) (Kit Blast Door), small hangar door
For the auto door opening to work, you need to change the name of the sensor and the door, use Labeler.
Replace "NAME" to the desired name of the door and sensor, the sensor and the door must have the same name.
If you need more doors just add 1 lines of code
You can add as many doors as you want, but it is not recommended to add more than 10 doors per 1 IC10, because a door may not work in 1 game tick (0.5 sec), due to game limitations. And there may be a 1-second delay.
Will be triggered if there is a player in the same room as the sensor. This sensor only works when placed in a room. Works in multiplayer too. If you have other light sources and do not want to switch them, then separate the electrical lines with a transformer or APC.
If you are using a Proximity Sensor, place it close to the door and also remember to set the detection distance, usually 3 is enough.
Optionally you can install door access control with access cards, configure the doors and sensor with Cartridge (Access Controller) via a handled tablet
0.2.5195.23625 10/09/2024
Revisions:
Old revisions of this mod are available below. Click the link to download.