Resource icon

SimHub Swoop Plugin 0.9.3.5

Login or Register an account to download this content
Minor update
Added Last Lap Sectors times to ahead and behind groups
Hi all,

Added For My Car

  • CurrentSector1Status
  • CurrentSector2Status
  • CurrentSector3Status

enum CurrentSectorStatus : None = 0, Invalid = 1, Slower = 2, Best = 3, OverallBest = 4


Added on all cars
  • Brand
  • TeamNationality

  • Driver1.FirstName
  • Driver1.LastName
  • Driver1.Category
  • Driver1.Nationality

  • Driver2.FirstName
  • Driver2.LastName
  • Driver2.Category
  • Driver2.Nationality

  • Driver3.FirstName
  • Driver3.LastName
  • Driver3.Category
  • Driver3.Nationality

Added LeaderBoard datas BY RaceApp Tag :
- SWLeaderBoard.SameRaceAppTag.Position1 To 30
- SameRaceAppTagAhead1 to 10 and SameRaceAppTagBehind1 to 10

!!! IMPORTANT !!!
-------------------


Added Settings to limit available properties

UseGlobalLeaderBoard = check it if you want to use properties for GlobalLeaderBoard (SimHubSwoopPlugin.SWLeaderBoard.Position1 To X);
UseRaceAppLeaderBoard = check it if you want to use properties for RaceApp Tag LeaderBoard (SWLeaderBoard.SameRaceAppTag.Position1 To X) or if you want to use
SameRaceAppTagAhead1 to X and SameRaceAppTagBehind1 to X

UseRaceAppTagsDatas = true;
UseTeamsLineUp = true;

IMPORTANT : Go to plugin settings to check your settings before trying to use new properties


The status of the sectors in real time makes it possible to display interesting information, especially during the qualifications to know if we have beaten our best time on a sector, if we have the best sector or if we are slower.

I put an example of dashboard that I made and which allows to display rectangles in color according to the state of each sector in real time.


Qualif Screen
1646587703862.png


Race Screen

1646587731086.png
For Salermo (and others !)

Added

AllCarsBestSector1
AllCarsBestSector2
AllCarsBestSector3

MyBestSector1
MyBestSector2
MyBestSector3

MyBestLapSector1
MyBestLapSector2
MyBestLapSector3
Added BestSector1 ,BestSector2 , BestSector3 for all cars
New update with
- RaceApp integration (https://raceapp.eu/)
- Datas for LeaderBoards
- New datas on each car
Major update.
Now using only Acc specific datas.
Improve performances and Loging

This plugin aims to provide data that can be used globally, By Serie (GT3 / GT4) by driver category (and serie) or by Cup Category (and serie).
Please note that this plugin uses specific ACC data and can therefore only work correctly with ACC.
A more generic version may be produced.

Serie
{
GT3 = 0,
GT4 = 1
}


DriverCategory
{
Bronze = 0,
Silver = 1,
Gold = 2,
Platinum = 3
}

CupCategory
{
Overall_Pro = 0,
ProAm = 1,
Am = 2,
Silver = 3,
National = 4
}

How to use the plugin

1. Close Simhub if it is open

2. Copy the SimHubSwoop.Plugin.dll file and paste it in the SimHub installation folder (C:\Program Files (x86)\SimHub)

3. Open Simhub, edit your dasboard. You will now have access to additional properties that you can find by typing the Swoop filter.

4. List of available properties



Global informations
-------------------------
AllCarsBestLap => Best lap of all cars
SameSerieBestLap => Best lap in same serie
SameDriverCategoryBestLap => Best lap in same serie and driver category
SameCupCategoryBestLap => Best lap in same serie and cup category

HaveAllCarBestLap => Do my car have the best lap ?
HaveSameSerieBestLap => Do my car have the best lap in the serie ?
HaveSameCupCategoryBestLap => Do my car have the best lap in my serie and same cup category ?
HaveSameDriverCategoryBestLap => Do i have the best lap in my serie and same driver category?

SameSerieFirstPosition => What is the best position in my serie
SameDriverCategoryFirstPosition => What is the best position in my serie and driver category
SameCupCategoryFirstPosition => What is the best position in my serie and car cup category


My Car informations
--------------------
CarIndex => internal
CurrentDriverCategoryString => catergory of the current Driver in the car ( Bronze = 0,Silver = 1,Gold = 2,Platinum = 3)
RaceNumber => race number of the car
CarModelType => internal (for the moment)
CupCategory => Car Cup Category (Overall_Pro = 0,ProAm = 1,Am = 2,Silver = 3,National = 4)
CupCategoryString =>
DriverCount => How many drivers for this car
TeamName => Name of the car team
CurrentDriverIndex =>
RacePosition => Position in the race
CupCategoryPosition => Position in the cup category
DriverCategoryPosition => Position in the driver category
BestlapTime =>
IsPiting =>
FirstName => First name of current Driver
LastName => Last Name of current Driver
ShortName => ShortNameof current Driver
FullName => FullName of current Driver
SeriePosition
Serie


// Ahead --> Car ahead (from all cars)
----------------------------
Ahead_CarIndex =>
Ahead_CurrentDriverCategoryString =>
Ahead_RaceNumber =>
Ahead_CarModelType =>
Ahead_CupCategory =>
Ahead_CupCategoryString =>
Ahead_DriverCount =>
Ahead_TeamName =>
Ahead_CurrentDriverIndex =>
Ahead_RacePosition =>
Ahead_CupCategoryPosition =>
Ahead_DriverCategoryPosition =>
Ahead_BestlapTime =>
Ahead_LastlapTime =>
Ahead_IsPiting=>
Ahead_GapToPlayer =>
Ahead_LapsToPlayer =>
Ahead_LapDelta =>
Ahead_FirstName =>
Ahead_LastName =>
Ahead_ShortName =>
Ahead_FullName =>
Ahead_DriverCategory =>
Ahead_SeriePosition

All those informations are available for
- Car Behind
- Same Serie Car Ahead
- Same Serie Car Behind
- Same Serie and same CupCategory Ahead
- Same Serie and same CupCategory Behind
- Same Serie and same DriverCategory Ahead
- Same Serie and same DriverCategory Behind



// Behind --> Car Behind from all cars)
---------------------------------------
Behind_CarIndex
Behind_CurrentDriverCategoryString
...

// SameSerieAhead --> Car ahead from same serie
---------------------------------------------------------------------------
SameSerieAhead_CarIndex
SameSerieAhead_CurrentDriverCategoryString
SameSerieAhead_RaceNumber
...

// SameSerieBehind --> Car Behind from same Serie
---------------------------------------------------------------------------
SameSerieBehind_CarIndex
SameSerieBehind_CurrentDriverCategoryString
SameSerieBehind_RaceNumber
...

// SameCupCategoryAhead --> Car ahead from same serie and same CupCategory
---------------------------------------------------------------------
SameCupCategoryAhead_CarIndex
SameCupCategoryAhead_CurrentDriverCategoryString
SameCupCategoryAhead_RaceNumber
...

// SameCupCategoryBehind --> Car Behind From same serie and same CupCategory
--------------------------------------------------------------------
SameCupCategoryBehind_CarIndex
SameCupCategoryBehind_CurrentDriverCategoryString
SameCupCategoryBehind_RaceNumber
...

// SameDriverCategoryAhead --> Car ahead from same serie and same DriverCategory Ahead
--------------------------------------------------------------------
SameDriverCategoryAhead_CarIndex
SameDriverCategoryAhead_CurrentDriverCategoryString
SameDriverCategoryAhead_RaceNumber
...

// SameDriverCategoryBehind --> Car Behind from same serie and same driverCategory
-------------------------------------------------------------------------------------
SameDriverCategoryBehind_CarIndex
SameDriverCategoryBehind_CurrentDriverCategoryString
SameDriverCategoryBehind_RaceNumber
...
  • Like
Reactions: Jose Ferreira
Depending on the type of participants the data could be blocked after the calculation of the delta with the ahead driver.
new Availables properties

DriverName for all groups

And

SameClassDriverBehind * -> Driver just behind of the ranking in the same category

SameClassDriverBehindBestlapTime
SameClassDriverBehindCarNumber
SameClassDriverBehindName
SameClassDriverBehindGapToPlayer
SameClassDriverBehindLapDelta
SameClassDriverBehindLapsToPlayer
SameClassDriverBehindPiting
SameClassDriverBehindPosition
SameClassDriverBehindPositionInClass
  • Like
Reactions: Jose Ferreira

What are you racing on?

  • Racing rig

    Votes: 528 35.2%
  • Motion rig

    Votes: 43 2.9%
  • Pull-out-rig

    Votes: 54 3.6%
  • Wheel stand

    Votes: 191 12.7%
  • My desktop

    Votes: 618 41.2%
  • Something else

    Votes: 66 4.4%
Back
Top