ALight - Aeyos' Lighting Scripnt
Фото и видео: 1 из 13. Материалы автора из Steam Workshop.
О материале
«ALight - Aeyos' Lighting Scripnt» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
About
A script to help you decorate your ship and add dynamic effects to it.
Lighting is the soul of a space ship, statition, whatever. Take control of
your lights and create a true lightshow!
How to instal
-
Place a programmable block
-
Select script "ALight"
-
Check code and save it
-
Change settings via Custom Data
-
Select your light blocks and add to a group named "RGB Lights" (case sensitive) or whatever you set the groupName variable to
Commands
ALight now has commands! Here's how to use them. Simply call the programmable block with argument, this can be from hotbar, timer blocks or other scripts. Documentation is available on the CUSTOM DATA of the programmable block. Please note that you can send multiple commands at once by separating them using a semicolon ";". Here are some examples:
Police Lights: SET:COLOR:<255,0,0>,<0,0,255> SET:SPEED:100 SET:UPDATE_EVERY:1 SET:LIGHT_MODE:NORMAL
Or simply: SET:COLOR:<255,0,0>,<0,0,255>;SET:SPEED:100;SET:UPDATE_EVERY:1;SET:LIGHT_MODE:NORMAL
RGB Lights SET:COLOR:<255,0,0>,<0,0,255>,<0,255,0> SET:SPEED:20 SET:UPDATE_EVERY:1 SET:LIGHT_MODE:GRADIENT
short command: SET:COLOR:<255,0,0>,<0,0,255>,<0,255,0>;SET:SPEED:20;SET:UPDATE_EVERY:1;SET:LIGHT_MODE:GRADIENT;
Star Night SET:COLOR:<255,255,255>,<0,0,0> SET:SPEED:20 SET:UPDATE_EVERY:5 SET:LIGHT_MODE:RANDOM
short command: SET:COLOR:<255,255,255>,<0,0,0>;SET:SPEED:20;SET:UPDATE_EVERY:5;SET:LIGHT_MODE:RANDOM
Landing Lights SET:COLOR:<255,255,255>,<0,0,0> SET:SPEED:20 SET:UPDATE_EVERY:1 SET:LIGHT_MODE:PULSE SET:PULSE_LENGTH:3
short command: SET:COLOR:<255,255,255>,<0,0,0>;SET:SPEED:20;SET:UPDATE_EVERY:1;SET:LIGHT_MODE:PULSE;SET:PULSE_LENGTH:3
Changelog
v1.3.0 1. Added "Pulse" lighting mode (single light with configurable trail that runs along the length of lights) 2. Re-introduced multiple groups (MyGroupName 1, MyGroupName 2, etc.) 3. Added Commands to control script configuration externally, via timers other scripts and even from hotbar 4. Added commands documentation to custom data section (no need to lookup a random text outside of the game) 5. Added multiple commands argument (separate every command by adding a ";" between them. Ex: SET:LIGHT_MODE:GRADIENT;SET:UPDATE_EVERY:10 6. Renamed mod to Alight - Aeyos' Lighting Script to better reflect it's current purpose 7. Updated default configuration
v1.2.0
- Added "Random" lighting mode (chooses a color between those predefined)
- Skipping broken or off lights (improves performance)
v1.1.0 1. Added configuration via the Custom Data field 2. Added flow direction (thanks for the suggestion!) 3. Minified code to prevent confusion 4. Added HEADER info to the script
TODO
-
☑ Add offset to color (gradient)
-
☑ Make configuration a little bit better (from custom data)
-
☑ Add "Random" mode to lighting
-
☑ Improve performance by skipping off / broken lights
-
☑ Add hotbar commands to control groups
-
☑ Pause/Unpause (via commands) -
☑ Change profile (via commands) -
☑ Faster/Slower (via commands)
Github Link
https://github.com/Aeyos/se_ingame_script_collection/blob/master/ALight.min.cs
FPS boost not included
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.