ARK: Survival Evolved

ARK: Survival Evolved

529 个评价
Light Controller (Open Source)
   
奖励
收藏
已收藏
取消收藏
Content Types: Mod
文件大小
发表于
更新日期
937.015 KB
2016 年 7 月 5 日 下午 4:11
2016 年 8 月 1 日 下午 12:43
3 项改动说明 ( 查看 )

订阅以下载
Light Controller (Open Source)

描述
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