Raceroom ignition w...
 
Notifications
Clear all

Raceroom ignition warning activated

12 Posts
2 Users
0 Likes
3,027 Views
Elcastrol
(@elcastrol)
Eminent Member
Joined: 3 years ago
Posts: 21
Topic starter  

Hello!
I have a dash created for Assetto Corsa Competizione that I was building based on other boards
This dash has the function of telling me when the ignition has been activated to start the engine
I want to do the same with Raceroom but it doesn't work
The code you use is for ACC and does not work in Raceroom
isnull ([ACCCDS_Main.IgnitionPage_2], 0)

Can you do something similar for Raceroom?
I don't understand anything about the codes

Excuse the Google translation

Health!


   
Quote
(@romainrob)
Honorable Member
Joined: 4 years ago
Posts: 530
 

Hi
I've not tested it, but I think this formula could work for RaceRoom:

isnull([DataCorePlugin.GameRawData.Player.Voltage],0)>0


   
ReplyQuote
Elcastrol
(@elcastrol)
Eminent Member
Joined: 3 years ago
Posts: 21
Topic starter  

Thanks, but it doesn't work


   
ReplyQuote
(@romainrob)
Honorable Member
Joined: 4 years ago
Posts: 530
 

Ok.
I don't have the game installed to properly test.
I don't see any obvious dedicated property for the ignition state.
I successfully used the voltage one before for another game but I guess it doesn't behave the same for Raceroom
Maybe you could guess it from DataCorePlugin.GameRawData.FuelPressure instead


   
ReplyQuote
Elcastrol
(@elcastrol)
Eminent Member
Joined: 3 years ago
Posts: 21
Topic starter  

I am very grateful for your help!
I'll try Fuel Pressure


   
ReplyQuote
Elcastrol
(@elcastrol)
Eminent Member
Joined: 3 years ago
Posts: 21
Topic starter  

Ok it doesn't work, or maybe I'm not doing it right ... it's a shame


   
ReplyQuote
(@romainrob)
Honorable Member
Joined: 4 years ago
Posts: 530
 

It depends how the fuel pressure behaves when changing the ignition state.
I there is no significant change in this value, this won't work.


   
ReplyQuote
Elcastrol
(@elcastrol)
Eminent Member
Joined: 3 years ago
Posts: 21
Topic starter  

Maybe it works somehow but I'm not understanding how to do it
In ACC I copied the code in a TEXT and it worked, but here it is not about copy and paste, maybe I have to learn more about this


   
ReplyQuote
(@romainrob)
Honorable Member
Joined: 4 years ago
Posts: 530
 

ACC offers dedicated data for the ignition state. Very few games do.

Try monitoring the changes in the fuel or oil pressure values while messing with the ignition in game.
An figure out a threshold (X) over which you can reliably guess the ignition is on.
With one of these formulas:

isnull([DataCorePlugin.GameData.OilPressure],0> X)

isnull([GameRawData.FuelPressure],0> X)


   
ReplyQuote
Elcastrol
(@elcastrol)
Eminent Member
Joined: 3 years ago
Posts: 21
Topic starter  

Ok, I'll keep testing fuel pressure
With oil pressure it should not work, until the engine starts there is no oil pressure
I will try different values in fuel pressure

Another question to get rid of the doubt, the formula should go in "visible" or in "text"?
excuse my ignorance


   
ReplyQuote
(@romainrob)
Honorable Member
Joined: 4 years ago
Posts: 530
 

You're right about the oil pressure.
Put it in "visible" to control the visibility of the component depending on the true/false output of the formula


   
ReplyQuote
Elcastrol
(@elcastrol)
Eminent Member
Joined: 3 years ago
Posts: 21
Topic starter  

You have done a lot to help me
I am very grateful but I couldn't make it work
Maybe in Raceroom it is not possible ...


   
ReplyQuote
Share: