ARK: Survival Evolved

ARK: Survival Evolved

529 ratings
Light Controller (Open Source)
   
Award
Favorite
Favorited
Unfavorite
Content Types: Mod
File Size
Posted
Updated
937.015 KB
5 Jul, 2016 @ 4:11pm
1 Aug, 2016 @ 12:43pm
3 Change Notes ( view )

Subscribe to download
Light Controller (Open Source)

Description
Source Code[drive.google.com]
(No License, use as wanted, with or without attribution)

Automatically turns lights and torches on at dusk and off at dawn.

Works with all mod lights.

New Items:

- Light Controller (made in inventory)

Usage:

1.) Place the light controller and it will automatically turn on and off every light and torch within its sphere of control.

Config Options:

Place in your gameusersettings.ini file.

[LightController]
ExclusionList=
InclusionList=
PostDawnOffsetInSeconds=0
PreDuskOffsetInSeconds=0

ExclusionList - list of items that should be exempt from turning on and off. This is a comma separated list of item names(ie "Lamppost_C,StandingTorch_C").

InclusionList - list of items that should be turned on and off. This is a comma separated list of item names(ie "Forge_C,Campfire_C").

Note: you only need to use an exclusion/inclusion list if an item in a mod isn't working correctly. If a stock item isn't working, please let me know(except for the campfire, it is excluded by design).

PostDawnOffsetInSeconds - how many seconds after dawn the controller should wait before turning the lights off.

PreDuskOffsetInSeconds - how many seconds before dusk the controller should turn the lights on.


Guide on Setting Up Exclusion/Inclusion List

Mod ID: 718412068

Spawn Code