Help NCalc Formula
 
Notifications
Clear all

Help NCalc Formula

5 Posts
4 Users
0 Reactions
2,411 Views
(@qtip1318)
New Member
Joined: 3 years ago
Posts: 2
Topic starter  

I am working on the w12 car from iracing and trying to get my led to match with the ones in the game but because every gear is different i have to make a custom pattern for every gear.

so i  put  

[Gear]=1

[Gear]=2 

[Gear]=3 and so on 

my problem is they only work some of the time they randomly stop and then will randomly start up again how do i fix this

i have spent house getting every light to match up at the right rpm but I cant get them to work in the game


   
Quote
(@keefismyname)
New Member
Joined: 3 years ago
Posts: 3
 

I found the same thing. On downshifts it would stop working for a while. I tried using [GameRawData.Telemetry.Gear]=1 instead of [Gear] and it seems better


   
ReplyQuote
(@stevo604)
Active Member
Joined: 2 years ago
Posts: 3
 

I am trying to figure out what Neutral and Reverse are in NCAL eg,  [Gear]=1,2,3 ect works fine but N and R don't work...


   
ReplyQuote
(@botmeister)
Eminent Member
Joined: 3 years ago
Posts: 41
 

@stevo604

Isn't it wise to just add [Gear] to your dashboard? And then simply test what N and R show by playing? Advise, press that Record button in the the top right. So you replay your test as much as you need.

Example, if you test with [Gear] = "R" you need to hope that it's exactly R and not a small r.

With functions lcase() and tcase() and ucase() you're able to format the text so it's always the same with each game.

This post was modified 11 months ago by Botmeister

   
ReplyQuote
(@stevo604)
Active Member
Joined: 2 years ago
Posts: 3
 

My problem was that I was putting in the condition [Gear]=R instead of [Gear]='R'. [Gear]=1 worked so I didn't think it needed the ' '. Thanks for your suggestion!


   
ReplyQuote
Share: