Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Value2Display
   
奖励
收藏
已收藏
取消收藏
Vehicles: Creative
标签: v0.7.4
文件大小
发表于
23.813 KB
2019 年 5 月 20 日 上午 3:46
1 项改动说明 ( 查看 )

订阅以下载
Value2Display

描述
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 条留言
johnkarpontin 2021 年 10 月 18 日 上午 4:59 
how to make the text bigger?
kutyax 2020 年 10 月 29 日 下午 2:51 
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  [作者] 2020 年 9 月 14 日 下午 3:13 
"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 2020 年 9 月 14 日 下午 12:38 
I always get the value reading "V= (Value)" on my screen :(
BasicFrog 2019 年 6 月 16 日 下午 12:41 
I ended up not using it
BasicFrog 2019 年 6 月 16 日 上午 11:32 
can i use this in a plane that i will be uploading?