Stormworks: Build and Rescue

Stormworks: Build and Rescue

Nincs elegendő értékelés
Configurable HUD Gauge
3
   
Díjazás
Kedvenc
Kedvenc
Törlés
Címkék: v1.13.6
Fájlméret:
Közzétéve:
Frissítve:
34.770 KB
2021. aug. 12., 23:09
febr. 24., 22:57
2 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Configurable HUD Gauge

Leírás
Inspired by a HUD gauge I saw on Reddit, I decided it would be fun to make a super configurable gauge display for video monitors.

Features:
- Configurable Min/Max values (obviously!)
- Configurable x, y, width, height
- Configurable color gradient
- Configurable label
- Configurable value display
- Switch between showing raw value or percentage
- Select between several gauge types:
--- Vertical Bar
--- Horizontal Bar
--- Vertical Wedge
--- Horizontal Wedge
--- Dial
--- Radial (Circle)
- Each gauge type comes with "filled" and "needle" display types
- Toggle property that controls the direction of the gauges (up vs down, clockwise vs counter-clockwise, etc)
- Overlays on top of a video input, so multiple gauges can be added to any HUD
- Includes an input to disable the gauge (passes input video through without drawing anything)

If anyone has any ideas for improvements, I'm all ears.
17 megjegyzés
Wolves Hero jún. 18., 11:33 
See picture look bit fine, I have changed FOV from 80 to 70 inside vehicle & bit close up monitors by seat better to see reading texts. Bar & dial & Radial & etc easily scale up 64 or 96 easily fit on high quality 96x96 monitors better than ugly 32x32 monitors. Any dial scale 64 easily fit up to 9 dial on 2x2 blocks high quality monitor :steamthumbsup:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3502833189
Tank Missile  [készítő] jún. 17., 17:46 
Yes, I understand your problem but stormworks does not provide any way to set the size of the text. It is always exactly 4 pixels wide and 5 pixels tall. If you want larger text to go with your higher resolution screen you will need to use another microcontroller that provides resizable text
Wolves Hero jún. 17., 17:28 
32x32 monitor look ugly, 96x96 monitos is nice high quality but text too small can't change size text. 96x96 monitor only good for radar & gauge meter & map without text, I have separate monitor 32x32 for text

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3502220213
Tank Missile  [készítő] jún. 17., 17:04 
To clarify, it's not possible for me to implement the ability to change the text size within this controller without also building a whole configurable text library inside the controller
Tank Missile  [készítő] jún. 17., 16:58 
Indeed, stormworks does not provide any text size argument. The text size is the text size. You'll have to find a separate text controller if you want to resize the text
Wolves Hero jún. 17., 16:38 
Worked great on More monitors some nice high quality monitor 96x96 but text too small can't change size text can't find size text in LUA
Tank Missile  [készítő] febr. 25., 17:02 
I'm glad to hear it holds up. I wrote down some notes about stuff I wanted to add at work and then I forgot to bring them home...
Herro 1357 febr. 25., 6:27 
Huge Thank You, didn't realise this code was so old. Managed to flip it myself is a super jerry rigged way, but I'll go back and replace the butherd code :)

This has to be the coolest looking dials on the workshop, especially with the color gradiant dials
Tank Missile  [készítő] febr. 24., 23:00 
@Herro

I've added a toggle property to flip the direction of the gauges. It was a real mindbender working through 3.5 year old code that I had deliberately minified because of the character limit hahaha
Tank Missile  [készítő] febr. 24., 18:05 
@Herro
There isn't currently, but now that the character limit is higher I can see about adding it.

Yeah, I have no problem with you using it