Skip to content

Commit

Permalink
Added LMDH Support and Options for Delta Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanuzunoglu committed Apr 24, 2023
1 parent a9471fd commit 4a928f5
Show file tree
Hide file tree
Showing 174 changed files with 64 additions and 123 deletions.
2 changes: 1 addition & 1 deletion TWF DASH LITE/TWF DASH LITE.djson

Large diffs are not rendered by default.

Binary file modified TWF DASH LITE/TWF DASH LITE.djson.00.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified TWF DASH LITE/TWF DASH LITE.djson.01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified TWF DASH LITE/TWF DASH LITE.djson.02.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified TWF DASH LITE/TWF DASH LITE.djson.03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified TWF DASH LITE/TWF DASH LITE.djson.04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified TWF DASH LITE/TWF DASH LITE.djson.05.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified TWF DASH LITE/TWF DASH LITE.djson.06.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified TWF DASH LITE/TWF DASH LITE.djson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion TWF DASH LITE/alerts_large.djson

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions TWF DASH LITE/battery_gauge.djson
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"DashboardDebugManager":{"Maximized":false},"Version":2,"Id":"79a69f4a-50b6-4b68-9cce-b1b255cebdea","BaseHeight":45,"BaseWidth":370,"BackgroundColor":"#FF000000","Screens":[{"Name":"Screen","InGameScreen":true,"IdleScreen":true,"PitScreen":false,"ScreenId":"0f01968f-0d96-4cd9-a2ea-c3972f81b819","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.5,"Left":0.0,"Height":45.0,"Width":370.0,"BackgroundColor":"#00FFFFFF","Childrens":[{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.LinearGaugeItem, SimHub.Plugins","IsLinearGauge":true,"GaugeOrientation":0,"GaugeAlignment":0,"BackgroundImage":"battery_gauge_off","AutoSize":false,"GaugeImage":"battery_gauge_green","GaugeColor":"#00FFFFFF","AlternateGaugeColor":"#FF008000","UseAlternateStyle":false,"Minimum":0.0,"Maximum":100.0,"Value":20.0,"Steps":0.0,"PAW":74.0,"BackgroundColor":"#00FFFFFF","Height":20.0,"Left":0.0,"Top":23.5,"Visible":true,"Width":370.0,"Name":"ERS","Bindings":{"GaugeImage":{"Formula":{"Expression":"if(isnull([DataCorePlugin.GameRawData.Telemetry.EnergyERSBatteryPct],0)*100<40, 'battery_gauge_orange',\r\nif(isdecreasing(500,isnull([DataCorePlugin.GameRawData.Telemetry.EnergyERSBatteryPct],0)*100)=true,'battery_gauge_yellow','battery_gauge_green'))"},"Mode":2,"TargetPropertyName":"GaugeImage"},"Value":{"Formula":{"Expression":"isnull([DataCorePlugin.GameRawData.Telemetry.EnergyERSBatteryPct],0)*100"},"Mode":2,"TargetPropertyName":"Value"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.ImageItem, SimHub.Plugins","Image":"battery_volt_icon","AutoSize":true,"AutoSizeScale":0.8,"BackgroundColor":"#00FFFFFF","Height":13.600000000000001,"Left":25.0,"Top":27.5,"Visible":true,"Width":10.4,"Name":"volt"},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":20.0,"Text":"100","TextColor":"#FF000000","HorizontalAlignment":0,"VerticalAlignment":1,"BackgroundColor":"#00FFFFFF","Height":20.0,"Left":40.0,"Top":24.5,"Visible":true,"Width":50.0,"Name":"ERS_VALUE","Bindings":{"Text":{"FormatString":"0","Formula":{"Expression":"isnull([DataCorePlugin.GameRawData.Telemetry.EnergyERSBatteryPct],0)*100"},"Mode":2,"TargetPropertyName":"Text"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":22.0,"Text":"100","TextColor":"#FFFFFFFF","HorizontalAlignment":0,"VerticalAlignment":1,"BackgroundColor":"#00FFFFFF","Height":20.0,"Left":29.0,"Top":-0.5,"Visible":true,"Width":90.0,"Name":"ERS_MODE","Bindings":{"Text":{"FormatString":"0","Formula":{"Expression":"if(isnull([GameRawData.Telemetry.dcMGUKDeployMode],0)=0,'OFF',\r\nif(isnull([GameRawData.Telemetry.dcMGUKDeployMode],0)=1,'QUA',\r\nif(isnull([GameRawData.Telemetry.dcMGUKDeployMode],0)=2,'ATT',\r\nif(isnull([GameRawData.Telemetry.dcMGUKDeployMode],0)=3,'BAL','BUI'))))"},"Mode":2,"TargetPropertyName":"Text"}}},{"$type":"SimHub.Plugins.OutputPlugins.GraphicalDash.Models.TextItem, SimHub.Plugins","IsTextItem":true,"Font":"Rajdhani","FontWeight":"Bold","FontSize":22.0,"Text":"100","TextColor":"#FFFFFFFF","HorizontalAlignment":2,"VerticalAlignment":1,"BackgroundColor":"#00FFFFFF","Height":20.0,"Left":247.0,"Top":-0.5,"Visible":true,"Width":90.0,"Name":"ERS_DEPLOY","Bindings":{"Text":{"FormatString":"0","Formula":{"Interpreter":1,"Expression":"if(root[\"deployLeft\"]==null){\r\n root[\"deployLeft\"] = '4';\r\n}\r\nif(root[\"mode\"]==null){\r\n root[\"mode\"] = $prop('GameRawData.Telemetry.dcMGUKDeployMode');\r\n}\r\nif(root[\"cLap\"]==null){\r\n root[\"cLap\"] = $prop('DataCorePlugin.GameData.CurrentLap');\r\n}\r\nif(root[\"garage\"]==null){\r\n root[\"garage\"] = $prop('GameRawData.Telemetry.IsInGarage');\r\n} \r\nif(root[\"box\"]==null){\r\n root[\"box\"] = $prop('GameRawData.Telemetry.PlayerCarInPitStall');\r\n \r\n}\r\n\r\nif (root[\"box\"] != $prop('GameRawData.Telemetry.PlayerCarInPitStall')){\r\n\r\n\t\troot[\"mode\"] = $prop('GameRawData.Telemetry.dcMGUKDeployMode');\r\n\t\r\n\troot[\"box\"] = $prop('GameRawData.Telemetry.PlayerCarInPitStall')\r\n\t\r\n}\r\n\r\nif ($prop('SpeedKmh') > left($prop('GameRawData.SessionData.WeekendInfo.TrackPitSpeedLimit'),0,2)-'5'){\r\n\r\n\r\n\tif(root[\"mode\"] != $prop('GameRawData.Telemetry.dcMGUKDeployMode')){\r\n\r\n\t\troot[\"deployLeft\"] = root[\"deployLeft\"] - 1;\r\n \t\r\n \t root[\"mode\"] = $prop('GameRawData.Telemetry.dcMGUKDeployMode')\r\n \t \r\n\t} \r\n\r\n\r\n\r\n\r\n\tif(root[\"cLap\"] != $prop('DataCorePlugin.GameData.CurrentLap')){\r\n\r\n\t\troot[\"deployLeft\"] = '4';\r\n \t\r\n \t\troot[\"cLap\"] = $prop('DataCorePlugin.GameData.CurrentLap');\r\n\r\n\t}\r\n\r\n}\r\n\r\n\t\r\nif (root[\"garage\"] != $prop('GameRawData.Telemetry.IsInGarage')){\r\n\t\t\t\t \r\n\t\troot[\"deployLeft\"] = '4';\r\n\t\t\r\n\t\tif(root[\"mode\"] != $prop('GameRawData.Telemetry.dcMGUKDeployMode')){\r\n\r\n\t\t root[\"mode\"] = $prop('GameRawData.Telemetry.dcMGUKDeployMode')\r\n \t \r\n\t } \r\n\t\t\r\n\troot[\"garage\"] = $prop('GameRawData.Telemetry.IsInGarage')\r\n\t\r\n}\r\n\r\nreturn 'D'+ root[\"deployLeft\"];\r\n"},"Mode":2,"TargetPropertyName":"Text"}}}],"Group":true,"Visible":true,"Name":"BATTERY"}]}],"SnapToGrid":false,"HideLabels":false,"ShowForeground":true,"ForegroundOpacity":100.0,"ShowBackground":true,"BackgroundOpacity":100.0,"ShowBoundingRectangles":false,"GridSize":10,"Images":[{"Name":"battery_gauge_green","Extension":".png","Modified":false,"Optimized":true,"Width":434,"Height":26,"Length":9495,"MD5":"c7bac72a33f0b6ce1db8b22a1c44fb2f"},{"Name":"battery_gauge_off","Extension":".png","Modified":false,"Optimized":true,"Width":434,"Height":26,"Length":941,"MD5":"c8735a74d827463350d344a99a20064b"},{"Name":"battery_gauge_orange","Extension":".png","Modified":false,"Optimized":true,"Length":10193,"MD5":"518d9e76c19c449e47f8d3528c1b7728"},{"Name":"battery_gauge_yellow","Extension":".png","Modified":false,"Optimized":true,"Length":3943,"MD5":"db2ec2dac17706de13e2956e716b2c8b"},{"Name":"battery_volt_icon","Extension":".png","Modified":false,"Optimized":true,"Width":13,"Height":17,"Length":409,"MD5":"b3e8e65b3999ff572ff923fb41bf43ab"}],"Metadata":{"ScreenCount":1.0,"InGameScreensIndexs":[0],"IdleScreensIndexs":[0],"MainPreviewIndex":0,"IsOverlay":false,"Width":370.0,"Height":45.0,"OverlaySizeWarning":false,"MetadataVersion":2.0,"EnableOnDashboardMessaging":true,"PitScreensIndexs":[]},"ShowOnScreenControls":true,"IsOverlay":false,"EnableClickThroughOverlay":true,"EnableOnDashboardMessaging":true}
Binary file added TWF DASH LITE/battery_gauge.djson.ressources
Binary file not shown.
Loading

0 comments on commit 4a928f5

Please sign in to comment.