Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Value2Display
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Creative
Tags: v0.7.4
File Size
Posted
23.813 KB
20 May, 2019 @ 3:46am
1 Change Note ( view )

Subscribe to download
Value2Display

Description
Draws a value to a monitor or hud. This controller is for those, who do not want to bother with lua scripts. Simply pipeline multiple of these controllers to fill your hud with data.
The Format follows the C-Syntax for printf.

Hints for formatting the value
%5.2f shows the value with a minimum length of 5 digits and 2 fractional digits
%% shows the % character

Controller Size: 3x1

Inputs:
- Video In (Video)
- Value (Number))

Outputs:
- Video Out (Video)

Properties:
- Format (Text): The output format in C-Syntax
- Color (R, G, B, and Alpha)
- Horizontal Alignment [left, center, right]
- Vertical Alignment [top, center, bottom]
- Horizontal Offset (Number)
- Vertical Offset (Number)
6 Comments
johnkarpontin 18 Oct, 2021 @ 4:59am 
how to make the text bigger?
kutyax 29 Oct, 2020 @ 2:51pm 
very useful stuff for lua analphabeticals like me. a nice improvement would be a function to set a vertical order for numbers, +1 video input.
sengir_vampire  [author] 14 Sep, 2020 @ 3:13pm 
"V=%1.2f" in the format property is only an example. It should demonstrate the syntax you can use.. Get rid of the "V=". An other example is "SPEED %2.0f KTS", this writes "SPEED 5 KTS" with the 5 right aligned on two digits.
NURabbit 14 Sep, 2020 @ 12:38pm 
I always get the value reading "V= (Value)" on my screen :(
BasicFrog 16 Jun, 2019 @ 12:41pm 
I ended up not using it
BasicFrog 16 Jun, 2019 @ 11:32am 
can i use this in a plane that i will be uploading?