Change Light Color
Фото и видео: 1 из 6. Материалы автора из Steam Workshop.
О материале
«Change Light Color» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Change Light Color
An in-game script to Change the Colour of a Group of Lights or more.
To use place a Programmable Block, go to the Programmable Blocks Control Panel. Click on Edit to edit the Script, then click on Browse WorkShop, the script should be located here. Double click to add the Text to your block.
BASIC USAGE
Once added run the script using a trigger passing over a minimum of 2 Arguments and a maximum of 3, separated by a comma.
The first Argument needs to be the Name of a group of lights. The second Argument needs to be the Name of a Colour (Located in the script). The third Argument is optional and is the Blink Interval.
Examples
Lights_Group_01, Green Lights_Group_01, Red, 0.75
ADVANCED USAGE
Advanced usage requires editing the values in the script, the Advanced usage can change multiple groups of Lights with many different colours, using one trigger. To use change the 'GroupsToChange', 'OnEnableColours' and 'OnDisableColours' found in the Advanced Editing part of the script.
You can add an Optional Blink Interval for each group by changing the 'BlinkIntervals' in the Optional section.
View the comments section in the script for more information.
UPDATES
Update v4.4.1
Mod API Fix.
Group Blocks function changed in Space Engineers version 1.141.
Update v4.3.5
Basic: Can pass over Group Name, Colour and Blink Interval as Arguments Advanced: Can add multiple Groups with different Colours for one Trigger.
Update v3.3.2
Can pass over Group Name, Colour and Blink Interval as Arguments allowing easy colour change without editing the Script. Blink Interval is optional.
Update v2.4.2
Bug Fixed
Block Groups function changed in Space Engineers version 1.091.
Update v2.3.1
Only uses One Programmable Block.
You can now have colours for each group.
You can now have an Optional Blink Interval.
Place a Timer Block and set the value 'TimerBlockName' in the script to the name of the Timer Block. Set the Timer Block Trigger to turn on all the Lights you want to use the Blink feature.
Update v1.1.0
Spot Lights can be changed. (Lights in the future or modded should be changeable too). You can change more than one Group of Lights.
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.