Linear gauge to sho...
 
Notifications
Clear all

Linear gauge to show only positive or negative values

4 Posts
2 Users
0 Reactions
1,662 Views
(@mark-l)
Active Member
Joined: 4 years ago
Posts: 7
Topic starter  

I'm trying to create a gauge that takes positive and negative data (FFB) from rF2, but I only want to show the negative values. The bar should start at the bottom when the data is 0, rise as the data goes negative towards -100, then fall as data moves back towards 0. Anyone have a solution please? Documentation is very lacking in how to do something like this.

 

Thanks.


   
Quote
(@admin5435)
Prominent Member Admin
Joined: 7 years ago
Posts: 732
 

Hi !

You simply need to set the "minimum" to -100 (this is the value triggering the gauge minimum) and "maximum" to 100 (this is the value triggering the gauge maximum) :

 

Nicolas


   
ReplyQuote
(@mark-l)
Active Member
Joined: 4 years ago
Posts: 7
Topic starter  

Thanks. I've now got that far but can't get the bar to change colour. It's staying solid purple in-game when I have it set to change like this:

This post was modified 4 years ago by Mark L

   
ReplyQuote
(@mark-l)
Active Member
Joined: 4 years ago
Posts: 7
Topic starter  

Forget that, I fixed it, it's working now.


   
ReplyQuote
Share: