Match LED brightnes...
 
Notifications
Clear all

Match LED brightness with Brake Pressure

7 Posts
4 Users
0 Reactions
726 Views
(@tealceed)
Active Member
Joined: 2 years ago
Posts: 7
Topic starter  

I would like to gradually match the brightness of my led stripe with the applied pressure from the brake pedal.

0 pressure = 0 brightness, ...50% pressure = 50% brightness,... 100% =100% brightness

 

With 0% or 100% it works already, however, I'd like to have it matched gradually over the whole range from 0-100%.

 

I tried these effect layers:

1.) WHEN GAME IS RUNNING

2.) CHANGE BRIGHTNESS USING FORMULA

   my already tried formulas:

[brake]

or [GameData.Brake]

or [DataCorePlugin.GameData.Brake] * 100

all didnt work as intended so far 🙁

3.) BRAKE ACTIVE (or ANIMATION)

 

I assume the formula gives out only 0 or 1 and needs to be translated somehow or do I need to use another formulae for this?

 

Hope you can help!

 

Thanks 🙂

 


   
Quote
(@nelson)
New Member
Joined: 10 months ago
Posts: 1
 

Porque escrevem letras tão pequenas 😰 não vejo nada 😎🥸🤓


   
ReplyQuote
(@tealceed)
Active Member
Joined: 2 years ago
Posts: 7
Topic starter  

Sorry, I don't get what you want.


   
ReplyQuote
(@tealceed)
Active Member
Joined: 2 years ago
Posts: 7
Topic starter  

Sorry, I don't get what you want.


   
ReplyQuote
(@tealceed)
Active Member
Joined: 2 years ago
Posts: 7
Topic starter  

Can anyone help?

This post was modified 10 months ago by Tealceed

   
ReplyQuote
(@moisekean)
Active Member
Joined: 1 year ago
Posts: 16
 

Posted by: @tealceed

I would like to gradually match the brightness of my led stripe with the applied pressure from the brake pedal.

0 pressure = 0 brightness, ...50% pressure = 50% brightness,... 100% =100% brightness

 

With 0% or 100% it works already, however, I'd like to have it matched gradually over the whole range from 0-100%.

 

I tried these effect layers:

1.) WHEN GAME IS RUNNING

2.) CHANGE BRIGHTNESS USING FORMULA

   my already tried formulas:

[brake] Liteblue guide

or [GameData.Brake]

or [DataCorePlugin.GameData.Brake] * 100

all didnt work as intended so far 🙁

3.) BRAKE ACTIVE (or ANIMATION)

 

I assume the formula gives out only 0 or 1 and needs to be translated somehow or do I need to use another formulae for this?

 

Hope you can help!

 

Thanks 🙂

 

To achieve gradual LED brightness matching with brake pressure in SimHub, use the formula [brake] * 100. Ensure SimHub settings are configured to interpret the brake input correctly. This formula scales brightness linearly from 0% to 100% based on brake pressure. Adjust settings for accuracy and test to ensure the LEDs reflect the intended brake pressure levels smoothly.

 

This post was modified 10 months ago by MoiseKean

   
ReplyQuote
(@fromnow)
New Member
Joined: 4 hours ago
Posts: 2
 

@moisekean 

Can you elaborate a little bit? I keep failing too. Dirtly 1.2... I'd like to know if it's a scrap.


   
ReplyQuote
Share: