Skip to content

Commit

Permalink
Bug fixes on delta and new dash, TWF Pure Race
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanuzunoglu committed Apr 23, 2023
1 parent 5b14668 commit cdc7067
Show file tree
Hide file tree
Showing 316 changed files with 315 additions and 82 deletions.
2 changes: 1 addition & 1 deletion TWF DASH LITE/alerts_large.djson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion TWF DASH LITE/damage.djson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion TWF DASH LITE/delta.djson

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions TWF DASH LITE/delta_purerace.djson
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"DashboardDebugManager":{"LastPlacement":"156,156,128,124","Maximized":false},"Version":2,"Id":"afc00376-df53-4015-abda-f7473e566637","BaseHeight":124,"BaseWidth":128,"BackgroundColor":"#FF000000","Screens":[{"Name":"Screen","InGameScreen":true,"IdleScreen":true,"PitScreen":false,"ScreenId":"4eb4b262-ee3a-4c12-955d-f96508894a38","AllowOverlays":true,"IsForegroundLayer":false,"IsOverlayLayer":false,"OverlayTriggerExpression":{"Expression":""},"ScreenEnabledExpression":{"Expression":""},"OverlayMaxDuration":0,"OverlayMinDuration":0,"IsBackgroundLayer":false,"BackgroundColor":"#FF000000","Items":[{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.Layer, SimHub.Plugins","Top":0.0,"Left":0.0,"Height":126.0,"Width":128.0,"BackgroundColor":"#00FFFFFF","Childrens":[{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.RectangleItem, SimHub.Plugins","IsRectangleItem":true,"BackgroundColor":"#FF222222","BorderStyle":{"BorderColor":"#FF808080"},"Height":40.0,"Left":0.0,"Top":86.0,"Visible":true,"Width":128.0,"Name":"livedeltabg"},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.RectangleItem, SimHub.Plugins","IsRectangleItem":true,"BackgroundColor":"#FF008000","BorderStyle":{"BorderColor":"#FF808080"},"Height":81.0,"Left":0.0,"Top":0.0,"Visible":true,"Width":128.0,"Name":"deltabg","Bindings":{"BackgroundColor":{"Formula":{"Interpreter":1,"Expression":"return twf_get_session_best_delta(\"color\")"},"StartColor":"#FF008000","EnableMiddleColor":true,"MiddleColor":"#FF222222","MiddleColorValue":0.0,"EndColor":"#FFFF0000","StartColorValue":-0.001,"EndColorValue":0.001,"Mode":4,"TargetPropertyName":"BackgroundColor"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":38.0,"Text":"00.0","TextColor":"#FFFFFFFF","HorizontalAlignment":1,"VerticalAlignment":1,"UseMonospacedText":true,"CharWidth":20.0,"SpecialCharsWidth":7.0,"BackgroundColor":"#00FFFFFF","Height":40.0,"Left":3.0,"Top":32.0,"Visible":true,"Width":122.0,"Name":"delta_value","Bindings":{"Text":{"FormatString":"0.00","Formula":{"Interpreter":1,"Expression":"return twf_get_session_best_delta()"},"Mode":2,"TargetPropertyName":"Text"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":22.0,"Text":"SESSION","TextColor":"#FFFFFFFF","HorizontalAlignment":1,"VerticalAlignment":1,"BackgroundColor":"#00FFFFFF","Height":24.0,"Left":0.0,"Top":8.0,"Visible":true,"Width":128.0,"Name":"delta_label"},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.LinearGaugeItem, SimHub.Plugins","IsLinearGauge":true,"GaugeOrientation":0,"GaugeAlignment":2,"AutoSize":false,"GaugeColor":"#FFFF0000","AlternateGaugeColor":"#FFFF0000","UseAlternateStyle":false,"Minimum":0.0,"Maximum":0.3,"Value":0.15,"Steps":0.0,"PAW":64.0,"BackgroundColor":"#00FFFFFF","Height":38.0,"Left":0.0,"Top":86.0,"Visible":true,"Width":128.0,"Name":"live-minus","Bindings":{"Value":{"Formula":{"Expression":"format([PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds], '0.000')"},"Mode":2,"TargetPropertyName":"Value"},"Visible":{"Formula":{"Expression":"if(isnull([PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds]), 0,\r\nif([IsInPitLane]=1, 0,\r\nif([DataCorePlugin.CurrentGame] == 'AssettoCorsaCompetizione' and [CompletedLaps]<2, 0,\r\nif(timespantoseconds([BestLapTime])=0, 0, 1))))"},"Mode":2,"TargetPropertyName":"Visible"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.LinearGaugeItem, SimHub.Plugins","IsLinearGauge":true,"GaugeOrientation":0,"GaugeAlignment":0,"AutoSize":false,"GaugeColor":"#FF008000","AlternateGaugeColor":"#FF008000","UseAlternateStyle":false,"Minimum":0.0,"Maximum":-0.3,"Value":-0.1,"Steps":0.0,"PAW":43.0,"BackgroundColor":"#00FFFFFF","Height":38.0,"Left":0.0,"Top":86.0,"Visible":true,"Width":128.0,"Name":"live-plus","Bindings":{"Value":{"Formula":{"Expression":"[PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds]"},"Mode":2,"TargetPropertyName":"Value"},"Visible":{"Formula":{"Expression":"if(isnull([PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds]), 0,\r\nif([IsInPitLane]=1, 0,\r\nif([DataCorePlugin.CurrentGame] == 'AssettoCorsaCompetizione' and [CompletedLaps]<2, 0,\r\nif(timespantoseconds([BestLapTime])=0, 0, 1))))"},"Mode":2,"TargetPropertyName":"Visible"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":32.0,"Text":"00.0","TextColor":"#FFFFFFFF","HorizontalAlignment":1,"VerticalAlignment":1,"UseMonospacedText":true,"CharWidth":16.0,"SpecialCharsWidth":6.0,"BackgroundColor":"#00FFFFFF","Height":31.0,"Left":9.0,"Top":86.0,"Visible":true,"Width":110.0,"Name":"livedeltavalue","Bindings":{"Text":{"FormatString":"0.00","Formula":{"Expression":"if(isnull([PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds]), 'N/A',\r\nif([IsInPitLane]=1, 'No REF',\r\nif([DataCorePlugin.CurrentGame] == 'AssettoCorsaCompetizione' and [CompletedLaps]<2, 'No REF',\r\nif(timespantoseconds([BestLapTime])=0, 'No REF',\r\nif([PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds]<= -2.00, '-2.00',\r\nif([PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds]>= 2.00, '+2.00',\r\nabs([PersistantTrackerPlugin.SessionBestLiveDeltaProgressSeconds])))))))"},"Mode":2,"TargetPropertyName":"Text"}}}],"Group":true,"Visible":true,"Name":"DELTA"}]},{"Name":"Screen","InGameScreen":true,"IdleScreen":true,"PitScreen":false,"ScreenId":"f583fa10-59c6-4e36-995b-5610ef617740","AllowOverlays":true,"IsForegroundLayer":false,"IsOverlayLayer":false,"OverlayTriggerExpression":{"Expression":""},"ScreenEnabledExpression":{"Expression":""},"OverlayMaxDuration":0,"OverlayMinDuration":0,"IsBackgroundLayer":false,"BackgroundColor":"#FF000000","Items":[{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.Layer, SimHub.Plugins","Top":0.0,"Left":0.0,"Height":126.0,"Width":128.0,"BackgroundColor":"#00FFFFFF","Childrens":[{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.RectangleItem, SimHub.Plugins","IsRectangleItem":true,"BackgroundColor":"#FF222222","BorderStyle":{"BorderColor":"#FF808080"},"Height":40.0,"Left":0.0,"Top":86.0,"Visible":true,"Width":128.0,"Name":"livedeltabg"},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.RectangleItem, SimHub.Plugins","IsRectangleItem":true,"BackgroundColor":"#FF008000","BorderStyle":{"BorderColor":"#FF808080"},"Height":81.0,"Left":0.0,"Top":0.0,"Visible":true,"Width":128.0,"Name":"deltabg","Bindings":{"BackgroundColor":{"Formula":{"Interpreter":1,"Expression":"return twf_get_alltime_best_delta(\"color\")"},"StartColor":"#FF008000","EnableMiddleColor":true,"MiddleColor":"#FF222222","MiddleColorValue":0.0,"EndColor":"#FFFF0000","StartColorValue":-0.001,"EndColorValue":0.001,"Mode":4,"TargetPropertyName":"BackgroundColor"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":38.0,"Text":"00.0","TextColor":"#FFFFFFFF","HorizontalAlignment":1,"VerticalAlignment":1,"UseMonospacedText":true,"CharWidth":20.0,"SpecialCharsWidth":7.0,"BackgroundColor":"#00FFFFFF","Height":40.0,"Left":3.0,"Top":32.0,"Visible":true,"Width":122.0,"Name":"delta_value","Bindings":{"Text":{"FormatString":"0.00","Formula":{"Interpreter":1,"Expression":"return twf_get_alltime_best_delta()"},"Mode":2,"TargetPropertyName":"Text"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":22.0,"Text":"ALL TIME","TextColor":"#FFFFFFFF","HorizontalAlignment":1,"VerticalAlignment":1,"BackgroundColor":"#00FFFFFF","Height":24.0,"Left":0.0,"Top":8.0,"Visible":true,"Width":128.0,"Name":"delta_label"},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.LinearGaugeItem, SimHub.Plugins","IsLinearGauge":true,"GaugeOrientation":0,"GaugeAlignment":2,"AutoSize":false,"GaugeColor":"#FFFF0000","AlternateGaugeColor":"#FFFF0000","UseAlternateStyle":false,"Minimum":0.0,"Maximum":0.3,"Value":0.15,"Steps":0.0,"PAW":64.0,"BackgroundColor":"#00FFFFFF","Height":38.0,"Left":0.0,"Top":86.0,"Visible":true,"Width":128.0,"Name":"live-minus","Bindings":{"Value":{"Formula":{"Expression":"format([PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds], '0.000')"},"Mode":2,"TargetPropertyName":"Value"},"Visible":{"Formula":{"Expression":"if(isnull([PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds]), 0,\r\nif([IsInPitLane]=1, 0,\r\nif([DataCorePlugin.CurrentGame] == 'AssettoCorsaCompetizione' and [CompletedLaps]<2, 0,\r\nif(timespantoseconds([BestLapTime])=0, 0, 1))))"},"Mode":2,"TargetPropertyName":"Visible"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.LinearGaugeItem, SimHub.Plugins","IsLinearGauge":true,"GaugeOrientation":0,"GaugeAlignment":0,"AutoSize":false,"GaugeColor":"#FF008000","AlternateGaugeColor":"#FF008000","UseAlternateStyle":false,"Minimum":0.0,"Maximum":-0.3,"Value":-0.1,"Steps":0.0,"PAW":43.0,"BackgroundColor":"#00FFFFFF","Height":38.0,"Left":0.0,"Top":86.0,"Visible":true,"Width":128.0,"Name":"live-plus","Bindings":{"Value":{"Formula":{"Expression":"[PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds]"},"Mode":2,"TargetPropertyName":"Value"},"Visible":{"Formula":{"Expression":"if(isnull([PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds]), 0,\r\nif([IsInPitLane]=1, 0,\r\nif([DataCorePlugin.CurrentGame] == 'AssettoCorsaCompetizione' and [CompletedLaps]<2, 0,\r\nif(timespantoseconds([BestLapTime])=0, 0, 1))))"},"Mode":2,"TargetPropertyName":"Visible"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":32.0,"Text":"00.0","TextColor":"#FFFFFFFF","HorizontalAlignment":1,"VerticalAlignment":1,"UseMonospacedText":true,"CharWidth":16.0,"SpecialCharsWidth":6.0,"BackgroundColor":"#00FFFFFF","Height":31.0,"Left":9.0,"Top":86.0,"Visible":true,"Width":110.0,"Name":"livedeltavalue","Bindings":{"Text":{"FormatString":"0.00","Formula":{"Expression":"if(isnull([PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds]), 'N/A',\r\nif([IsInPitLane]=1, 'No REF',\r\nif([DataCorePlugin.CurrentGame] == 'AssettoCorsaCompetizione' and [CompletedLaps]<2, 'No REF',\r\nif(timespantoseconds([BestLapTime])=0, 'No REF',\r\nif([PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds]<= -2.00, '-2.00',\r\nif([PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds]>= 2.00, '+2.00',\r\nabs([PersistantTrackerPlugin.AllTimeBestLiveDeltaProgressSeconds])))))))"},"Mode":2,"TargetPropertyName":"Text"}}}],"Group":true,"Visible":true,"Name":"DELTA"}]}],"SnapToGrid":false,"HideLabels":false,"ShowForeground":true,"ForegroundOpacity":100.0,"ShowBackground":true,"BackgroundOpacity":100.0,"ShowBoundingRectangles":false,"GridSize":10,"Images":[],"Metadata":{"ScreenCount":2.0,"InGameScreensIndexs":[0,1],"IdleScreensIndexs":[0,1],"MainPreviewIndex":0,"IsOverlay":false,"Width":128.0,"Height":124.0,"OverlaySizeWarning":false,"MetadataVersion":2.0,"EnableOnDashboardMessaging":true,"PitScreensIndexs":[]},"ShowOnScreenControls":true,"IsOverlay":false,"EnableClickThroughOverlay":true,"EnableOnDashboardMessaging":true}
Loading

0 comments on commit cdc7067

Please sign in to comment.