interface
ARES System Manual: interface Daemon

(input) @service interface

Generates the majority of the HUD (heads-up display). The HUD provides real-time information to the unit during normal operation.

For performance, the actual updating of the bars on the HUD is accomplished directly by other daemons. Most of the bars are managed by status, but repair handles integrity display.

The menu-related functions of the HUD are handled by the variatype daemon.

Furthermore, some components are additionally outsourced to system programs like display and device.


Settings

The HUD is highly configurable and makes use of several settings, stored in the interface section:

interface.sound.volume (default: 1.0): volume of sounds for the interface to play
interface.sound.go (default ef4504ea-3705-c972-4b34-4709c5656fee): sound to play when navigating the menu
interface.sound.deny (default c797d938-7333-b064-bb43-301e5bfbdfdd): sound to play when menu navigation is rejected
interface.sound.act (default 46aa7a95-f60c-a1cf-aec0-8964d74679ab): sound to play when activating a menu item
interface.sound.menu-open (default 0caefdf3-9e65-b3ed-388c-86892958cd4b): sound to play when opening the menu
interface.sound.menu-close (default ea675f3a-7595-8c28-c89c-5531d436541a): sound to play when closing the menu
interface.sound.shield-down (default 348fcd3d-7993-54fb-720c-c5ebc42de505): alarm to play when shield is at 0 power
interface.sound.env-alarm (default 5db9d9d6-6eda-485e-6436-e97dfdc1983c): alarm to play when temperature is dangerous
interface.sound.damage (default d248834e-ae0d-a844-8a98-de6cdaa67760): sound to play when unit loses integrity
interface.sound.repair (default 5b93518c-2a6d-baef-3fc2-ee3af6cf74a4): sound to play when unit gains integrity
interface.sound.alert (default 6cd918e0-2170-26f3-0706-5b3b10b4d0df): sound to play when an alert is shown
interface.sound.alert-dismiss (default 08d80c61-8c9e-3a3b-7855-4f8d17ccc791): sound to play when an alert is cleared or expires
interface.sound.test (default 971afde2-73e2-5dd8-6c8a-6c7ee25c7411): sound to play when adjusting interface volume
interface.compass.enabled (default 1): display the compass at the top of the screen?
interface.compass.offset (default <0, 0, 470>): offset for displaying the compass widget
interface.compass.texture (default 59e91121-24d6-4b75-a8fb-86b5d7884d05): texture to use for the compass widget
interface.gauges.offset (default <0, 0, -468>): offset for main HUD bars and badge
interface.gauges.backdrop (default b6be113e-ca8a-5dd5-ae62-d98a594f9af7): texture to use for the gauges backdrop
interface.gauges.left (default 6c1677da-3269-a749-375b-ea4c58e6dbc4): texture to use for the left gauges
interface.gauges.right (default 5dc5becd-fd4a-4bb5-fb67-4689ec5621be): texture to use for the right gauges
interface.gauges.mode (default 1): style of main gauges to use (1 = normal, 2 = compact)
interface.color (default 4): color to use for main UI
interface.width (default 1920): width in pixels of the screen (specified during 'setup')
interface.ratio (default 1.0): aspect ratio of the viewport window (determined automatically)
interface.height (default 1008): height of camera viewport (in pixels), measured from bottom of menu bar to bottom of window (determined from interface.width and interface.ratio)
interface.height-mlook (default 1027): height of camera viewport when in mouselook, measured from bottom of caption bar to bottom of window (specified during 'setup')
interface.altimeter.enabled (default 1): display the altimeter widget?
interface.altimeter.offset (default <0, 380, 0>): position of altimeter widget
interface.altimeter.texture (default a7a40d18-dad2-a0c9-f4c5-eef2f269b0f4): texture to use for the altimeter and speedometer widgets
interface.speedometer.enabled (default 1): display the speedometer widget?
interface.speedometer.offset (default <0, 408, -226>): position of speedometer widget
interface.crosshair (default 3): crosshair to show from i_crosshair (0 = hide, 16 = artillery)
interface.crosshairs (default 78408016-021a-df86-1e54-045cee3a13bd): texture to use for crosshairs
interface.sexuality.offset (default <0, 0, -404>): position of sexuality widget
interface.warning.offset (default <0, 768, 384>): position of static warning messages
display.warning.texture (default 9e8bad39-9676-51ac-e7df-a2ac531bca0e): texture to use for the fixed warning messages (used by display)
display.warning.mode (default 1): orientation of warning messages (1 = downward list of terms, 2 = rightward list of icons; used by display)
interface.menu.offset (default <0, -540, 448>): position of menu system (used by the variatype daemon)
interface.menu.anchor (default 3b9b2508-4b6b-e194-5be5-18d6d75fcc2e): texture to use for the menu anchor (used by the variatype daemon)
interface.menu.backdrop (default df7d6401-b07f-aedc-e250-018fbc54b7e4): texture to use for the menu backdrop (used by the variatype daemon)
interface.menu.mode (default 1): orientation of the main menu anchor widget (1 = NE, 2 = SE, 3 = SW; used by the variatype daemon)
interface.alert.offset (default <0, 768, 416>): position of the alert widget (used by the variatype daemon)
interface.alert.time (default 10): timeout for alerts that don't require user input
interface.alert.texture (default 221f5de6-28c6-c475-1344-599a61f197cb): texture to use for alert badges and response options
interface.sitrep.enabled (default 1): display sitrep? (bars below warning messages)
interface.sitrep.offset (default <0, 839, 237>): position of sitrep bars
interface.sitrep.texture (default df7e2139-5292-55f9-ec1f-fe98f62db80e): texture to use for the sitrep display
interface.fov (default 60): field of view in degrees, used for positioning nav lock and target markers
interface.badge (not undefined by default): UUID to override model badge (should be 256x128 transparent white)
interface.devices.icons: specify HUD icons for devices (see interface.db for more explanation)
interface.font (default murky-truth): VariaType font name; use @db font for a list (used by the variatype daemon)
interface.combat.labels (default 14d62124-1a1e-adfe-9801-198c5b8b445a): texture to use for 'integrity' and 'ammo' labels in mouselook
interface.combat.nums (default 94b0deff-7902-167f-36cd-0d2cff968da3): texture to use for 'big' combat numbers
interface.target (default 73f90096-3965-de9e-00d3-b2cae5c9df6d): texture to use for the target lock and nav destination reticules
interface.working.offset (default <0, -464, -384>): position of the working widget
interface.working.texture (default 99fba0b4-57d4-fb77-52c9-bb6f91fb66bc): texture to use for the working widget (16x16 frames)
interface.boot.texture (default 8c3988a5-decd-24b9-0065-941ecfb74a4d): texture to use for the boot screen
interface.boot.size (default <512, 256, 0>): the size (in pixels) at which to display the boot screen during kernel resets
interface.boot.animate (default 1): is the boot screen animated? (1 = yes, 2 panels wide and 4 panels tall; 0 = no)
interface.double-print (default 0): print each VariaType message twice? (helps with packet loss; used by the variatype daemon)
display.devices.offset (default <0, -860, 0>): offset for devices panel (used by display)
display.devices.scale (default 2): scale multiplier for devices panel (used by display)
display.devices.texture (default 26bf3e77-e9c6-4052-6ce5-f5277a205a63): texture to use for device icons and wires (used by display)
display.devices.mode (default 1): orientation of device icons (1 = grow downward, 2 = grow leftward; used by display)
display.devices.wires (default 1): show line decorations next to device icons? (used by display)

The offset values above are LSL vectors scaled to pixel dimensions. The middle of the screen is <0, 0, 0>. Because Second Life uses right-handed vector algebra with an x-facing forward direction, the interpretation is a little unintuitive:

- The first number is the depth coordinate. Interface elements with higher depths are placed farther away from the screen.
- The second number is the horizontal coordinate. Higher values are further left.
- The third number is the vertical cordinate. Higher values are further up.

The bundled db utility can be used to adjust these settings. The included file interface.db contains the above defaults and can be loaded with @db load interface.db.

To adjust the position of an on-screen element more easily, use the UI mover. This can be found in the menu: settings... > interface... > rearrange UI.