Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Buttons

From Starbase wiki
Revision as of 14:48, 28 February 2021 by Kryostahl (talk | contribs) (Added minor information regarding the new buttontypes and fields.)

Jump to navigation Jump to search
Deutsch Français Русский Українська 简体中文

Summary



Starbase buttons.png

Universally there are two types of buttons that are commonly used; hybrid buttons and small buttons. Both have adjustable interaction styles.
Hybrid buttons are modular, and can connect to adjacent modular displays. Small buttons have their own cable port.

Basic information

Configuring a button:

  • Set the ButtonState field's name to match the device field you want to control.
  • Set the On- and Off-state values.
  • Pressing the button changes its state depending on ButtonStyle -field value.
  • Buttons with the "ButtonColor" field can have a different buttoncolor depending on the value of this field.
  • There are different types of buttons with varrying size. However they all share most of their fields and behavior.

Device fields

To learn more about the usage of fields, consult these wiki pages:

YOLOL field description range
ButtonState The name of the field of which value the button modifies
ButtonOnStateValue Controls the value when pressed
ButtonOffStateValue Controls the value when released
ButtonStyle Controls the interaction style of the button 0: Hold down and release 1: Basic Toggle (in-game button remains down while it is "on") 2: 4-state switch (in-game button returns to the unpressed position whether it is "on" or "off")

Some Buttons have additional fields, which are listed below.

YOLOL field description range
ButtonColor Depending on this field the Button will appear in a different color. 1 = orange; 2 = green; 3= blue; any other number = red
ButtonEnableBlink When enabled the button will light up periodicaly. 0 = no blinking; 1 = blinking.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.