Resource icon

Misc SimHub Swoop Plugin 0.9.3.5

Login or Register an account to download this content
Is it possible to retrieve DriverNationality, DriverPhoto, TeamDriversLineup and CarMakeIcon so that this
https://www.racedepartment.com/downloads/simhub-blancpain-gt3-2019-speed-readout.26384/ can become more useful ?

Hi,

DriverNationality => Yes
LineUp => Yes

DriverPhoto => I don't have

What is CarMakeIcon ?

here is the information I have access to for the definition of each car

"CarEntry":{
"CarIndex":0,
"CarModelType":25,
"TeamName":"AKKA ASP Team",
"RaceNumber":88,
"CupCategory":0,
"CurrentDriverIndex":0,
"Drivers":[
{
"FirstName":"Raffaele",
"LastName":"Marciello",
"ShortName":"RMA",
"Category":3,
"Nationality":1
}
],
"Nationality":3
},
 
Hi,

DriverNationality => Yes
LineUp => Yes

DriverPhoto => I don't have

What is CarMakeIcon ?

here is the information I have access to for the definition of each car

"CarEntry":{
"CarIndex":0,
"CarModelType":25,
"TeamName":"AKKA ASP Team",
"RaceNumber":88,
"CupCategory":0,
"CurrentDriverIndex":0,
"Drivers":[
{
"FirstName":"Raffaele",
"LastName":"Marciello",
"ShortName":"RMA",
"Category":3,
"Nationality":1
}
],
"Nationality":3
},
CarMakeIcon I'd imagine as the Logo for Audi Sport, Mercedes AMG etc. so basically CarBrand
 
CarMakeIcon I'd imagine as the Logo for Audi Sport, Mercedes AMG etc. so basically CarBrand
ho, ok.

for performance it seems more reasonable to me that the plugin does not provide an image. On the other hand in DashStudio you can easily do what is necessary to find the brand from the car ID.
It seems to me that Gary (Growe19) made the Ncalc formula which allows to have an image from the ID of the car.
For my part, I can add a "Brand" property to each car.
It is then enough in DashStudio to put an image by brand and return the image whose name is the same as the brand of the car.

How do you imagine the presentation of the lineup?

Currently I have, for each car, a list of 3 drivers maximum.
I can Add Driver1 properties, Driver2 properties and Driver3 properties? Okay for you?
 
ho, ok.

for performance it seems more reasonable to me that the plugin does not provide an image. On the other hand in DashStudio you can easily do what is necessary to find the brand from the car ID.
It seems to me that Gary (Growe19) made the Ncalc formula which allows to have an image from the ID of the car.
For my part, I can add a "Brand" property to each car.
It is then enough in DashStudio to put an image by brand and return the image whose name is the same as the brand of the car.

How do you imagine the presentation of the lineup?

Currently I have, for each car, a list of 3 drivers maximum.
I can Add Driver1 properties, Driver2 properties and Driver3 properties? Okay for you?
 
Last edited:
Ok nice. So i can add on all cars :

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

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

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

For The picture. For me the best way is to have an external database with pictures by drivername because ACC do not provide pictures
 
dde32 updated SimHub Swoop Plugin with a new update entry:

version 0.5.3

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...

Read the rest of this update entry...
 
Just a little problem
mybestlapsector* give same result as mybestsector*
Capture d’écran 2022-03-21 232126.png

Can you add my last lap sectors times?
Thanks for your work.
 
Yes I think it's a case that can happen but is not systematic.
Basically, My Best Lap Sector 2 will give you the time achieved in the second sector during your best lap.
On the other hand, My Best Sector2 will give you the best time you did in sector 2 even if this time was not achieved during your best lap.
It doesn't happen often but it does happen. The idea is that by looking
MyBestSector 1 + MyBestSector 2 + MyBestSector 3 you will have an "ideal" time
Whereas My Best Lap Sector 1 + My Best Lap Sector 2 + My Best Lap Sector 3 = My Best Lap Time.
I hope that was clear enough!
Otherwise yes no problem to add MyLastLapSectors, I don't know why I didn't do it.
 
Yes I think it's a case that can happen but is not systematic.
Basically, My Best Lap Sector 2 will give you the time achieved in the second sector during your best lap.
On the other hand, My Best Sector2 will give you the best time you did in sector 2 even if this time was not achieved during your best lap.
It doesn't happen often but it does happen. The idea is that by looking
MyBestSector 1 + MyBestSector 2 + MyBestSector 3 you will have an "ideal" time
Whereas My Best Lap Sector 1 + My Best Lap Sector 2 + My Best Lap Sector 3 = My Best Lap Time.
I hope that was clear enough!
Otherwise yes no problem to add MyLastLapSectors, I don't know why I didn't do it.
Oui mais justement ça ne fonctionne pas, avec simhubwoop, quand un meilleur secteur ne provient pas du meilleur temps (ce qui arrive très souvent, des fois aucun meilleur secteur ne provient du meilleur temps) il apparait quand même dans mybestlapsector. Quoi qu'il arrive mybestlapsector = mybestsector alors que ca fonctionne dans simhub datacore.
 

Latest News

Shifting method

  • I use whatever the car has in real life*

  • I always use paddleshift

  • I always use sequential

  • I always use H-shifter

  • Something else, please explain


Results are only viewable after voting.
Back
Top