Поиск по STEAMB

Игры и программы по онлайну, скины по объёму продаж

Ничего не найдено

Попробуйте другое название или переключите категорию.

Меню

МодыБлоки

Color Replacer Blocks

Положительные голоса97%332 голосов игроков
Подписчики4,8 тыс.4 801 в Steam Workshop
Размер файла258,82 КБЗагрузка через Steam
Обновление автора30 мая 2018 г.Дата обновления материала
Фото и видео: 1 из 1
Установить через Steam

О материале

«Color Replacer Blocks» — материал мастерской Space Engineers. Моды, чертежи кораблей, скрипты и миры для Space Engineers. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.

Описание автора

Meridius_IX has retired from modding. Click Here for more details.

Description

This mod adds a pair of blocks (Small and Large Grid Variants) that allow you to recolor multiple blocks of the same color at once.

How It Works - Basic Functionality

  • Place both blocks (Color Targeter and Color Replacer) onto your desired grid.
  • Paint the 'Color Targeter' block with the color you want to have replaced.
  • Paint the 'Color Replacer' block with the new color you want to replace the old one with.
  • In the Terminal menu of the 'Color Replacer', press the 'Replace Targeter Colors' button to initiate the color swap.

If you have multiple 'Color Targeter' blocks on your grid, the replacer will read each of them and replace their designated colors. The 'Color Replacer' will skip any 'Color Targeter' block that are turned Off. Use caution.

How It Works - Stored Colors

  • The 'Color Replacer' block can store 2 colors in its Custom Data field, which can later be called to replaced.
  • In the 'Color Replacer' block terminal menu, pressing the 'Store Color 1' button will save the Replacers current color as Color 1.
  • In the 'Color Replacer' block terminal menu, pressing the 'Store Color 2' button will save the Replacers current color as Color 2.
  • In the 'Color Replacer' block terminal menu, pressing the 'Replace Stored Colors' will replace all colors matching Color 1 with Color 2.

Toolbar Actions

The buttons in the 'Color Replacer' block terminal menu are also available to be assigned to the toolbar of your cockpit, or other automation blocks such as the Timer Block, Sensor Block, Etc.

Programmable Block Support

You can use the programmable block to control the 'Color Replacer' as well. Here's some example code below:


//Basic Block Commands

var colorReplacer = GridTerminalSystem.GetBlockWithName("Color Replacer") as IMyArtificialMassBlock; //The color replacer used artificial mass as its template block.

colorReplacer.ApplyAction("ReplaceTargeterColors"); //Replace Targeter Block Colors With This Blocks Color

colorReplacer.ApplyAction("ReplaceStoredColors"); //Replace Colors Stored In This Replacer CustomData

colorReplacer.ApplyAction("StoreFirstColor"); //Stores Replacers Color As First Color in CustomData

colorReplacer.ApplyAction("StoreSecondColor"); //Stores Replacers Color As Second Color in CustomData

//Manually Set Stored Colors

var colorA = new Vector3(0,0,0); //Set manually or get from another block

var colorB = new Vector3(0,0,0); //Set manually or get from another block

colorReplacer.CustomData = colorA.ToString() + "\n" + colorB.ToString();


Modular Encounters Collection Links

Click Here For The General FAQ About The Mods I Curate. Click Here For My Rules Regarding Mod Republishing. Click Here For The Modular Encounters Admin and Modders Guide. Click Here To Join The Modular Encounters Collection Discord Server. Click Here If You'd Like To Support My Work On Patreon.

Видео автораОткрыть в YouTube ↗
Оригинал в Steam Workshop

Как установить и запустить

Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.

Настройки cookies

Вы можете изменить выбор в любой момент. Отказ от аналитики не ограничивает доступ к сайту.

Технологии, провайдеры и сроки хранения