HUD OtterHud - A custom WebHud - With additional features

Discussion in 'Community Workshop' started by OtterNas3, May 7, 2019.

  1. yoori

    yoori Well-Known Member

    Joined:
    Feb 10, 2017
    Ratings:
    +103 / 0 / -0
  2. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
  3. Bauer

    Bauer Active Member

    Joined:
    Apr 25, 2019
    Ratings:
    +33 / 0 / -0
    I tried it and it seems that it worked, although there were not enough runners to get points and rating. I'll wait to participate in a race with enough people to check if the system accepts my entry using the "back door". ;)

    Thanks for the idea, Otter.
     
    • Like Like x 1
  4. Cesar Maranhao

    Cesar Maranhao Member

    Joined:
    Feb 24, 2018
    Ratings:
    +11 / 0 / -0
    how is "fuel to add" calculated? does it take into account the lap times? asking this because of sometimes we have to make +1 lap
     
  5. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Of course it does! It even calculates the leaders position in regards of a possible "extra" lap while in the race
     
  6. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
     
    • Like Like x 4
    • Winner Winner x 1
    • Love it! Love it! x 1
  7. Cesar Maranhao

    Cesar Maranhao Member

    Joined:
    Feb 24, 2018
    Ratings:
    +11 / 0 / -0
    nice job man, been using it for a few races and it really is a good tool
     
    • Like Like x 1
  8. totalgamertb21

    totalgamertb21 Active Member

    Joined:
    Mar 9, 2017
    Ratings:
    +26 / 0 / -0
    Since when did we have formation laps in the game?
     
  9. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    At the moment we dont.
    That's why i'm making it happen somehow ;)
     
    • Like Like x 1
  10. NL-Jos

    NL-Jos Well-Known Member

    Joined:
    Jun 5, 2015
    Ratings:
    +182 / 0 / -0
    Next step
    You can implement your program in Raceroom's dedicated server
    Certain functions that can be operated by the host of the dedicated server
     
  11. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Sure would love to have such influence on the Dedicated-Server side but until this happens it will be like this:

    As a Server Manager you can change the following settings for the Formation Lap:
    • PaceCar_LiveryId:
      The Livery ID of the Pace-Car, or -1 to have Formation Lap without Pace-Car
    • SlowZone_Start:
      How many meters before the Finish-Line the "Slow-Zone" will start
    • GreenZone_start:
      How many meters before the Finish-Line the "Green-Zone" will start
    • SpeedLimit:
      The actual Speed limit for the Pace-Car, the Drivers will get a warning when they go faster then the set value +30KmH
    • Distance_Min:
      The minimum Distance a Driver has to leave space to the Driver in front
    • Distance_Max:
      The maximum Distance a Driver can leave space to the Driver in front

    These settings have to be hosted on a webpage in a actual JSON file.
    Here is a example:
    https://otternas3.github.io/PaceCarSettings.json

    The link to the Settings-File has to be shared and entered in the Widget by every Driver.
    I could make it automatic but then i would need to pick a not changeable Car + Livery, which would be needed to use then in every Race.
     
    Last edited: Aug 19, 2019
  12. NL-Jos

    NL-Jos Well-Known Member

    Joined:
    Jun 5, 2015
    Ratings:
    +182 / 0 / -0
    This is for me to much abracadabra :confused:o_O
     
  13. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Then you need to wait for Sector3 to actually implement a Manual Formation-Lap function to the game.
    Maybe soon™...
     
    • Like Like x 2
  14. FormelLMS

    FormelLMS Well-Known Member

    Joined:
    Apr 8, 2015
    Ratings:
    +229 / 0 / -0
    Is there a way to disable the mouse while driving?
    Everytime I go over the curbs, mouse pointer and controls pop on.
     
  15. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    Flip it ;)
     
  16. FormelLMS

    FormelLMS Well-Known Member

    Joined:
    Apr 8, 2015
    Ratings:
    +229 / 0 / -0
    Did that and a few laps later it crashed to the floor :-D
     
    • Funny Funny x 1
  17. Cesar Maranhao

    Cesar Maranhao Member

    Joined:
    Feb 24, 2018
    Ratings:
    +11 / 0 / -0
    regarding average laptime shown with this overlay, I understand it does not take into account the laps where:

    - track has been cut (obviously)
    - a pitstop was made

    this can give us a good idea what our laptimes are at the end of an event so my question is:

    is this the same method that raceapp uses to calculate average laptimes under an event for example? Raceapp we have average (which I think it takes into account pitstops, etc and reference which I believe is the same method as the otterhud?)
     
    Last edited: Aug 24, 2019
  18. OtterNas3

    OtterNas3 Well-Known Member

    Joined:
    Jan 9, 2018
    Ratings:
    +315 / 0 / -0
    The Widget itself uses 2 different sets for Lap Data.
    1. Stored Lap Data - Which will maintain in the storage, even after a Sessionchange or restart of the Game
    2. Session Lap Data - Which is a temporary set only used for the actual Session and gets deleted on every Sessionchange or restart of the Game

    A Lap is valid for the "Session Lap Data" when:
    • Fuel usage is active in the current Session
    • Not went to PIT-Lane in the Lap
    • Not went to the Menu or Pause Menu in Singleplayer
    • Laptime was Valid
    A Lap is valid for the "Stored Lap Data" when:
    • Fuel usage is active in the current Session
    • Not went to the PIT-Lane in the Lap
    • Not went to the Menu or Pause Menu in Singleplayer
    • Laptime was Valid
    • Speed never went to 0
    • Gear never wen to Reverse
    • No Black/White Flag was shown
    • No Yellow Flag was shown and you caused it (Off-Track low speed as example)
    • Car-Damage on Engine or Transmission is not lower then 50%
    • No Penalty: Drive-Trough
    • No Penalty: Slow-Down
    • No Penalty: Stop and Go
    • Pit-Limiter was never active
    The "Average Laptime" shown in the Fuel & Lap Details Widget, does only show the Average Laptime for the Stored Lap Data, it is not meant to show the Average Laptime for a single Event.
    It should give a Average for your overall laptimes on a Track/Car combination in general.

    The Fuel calculations uses both Data sets in a Session.

    Storing only Laps, in the Stored Lap Data, that are in my opinion good for Calculations for later Sessions or Races, ensures that the Calculations are not based on kinda random Data and will be accurate.

    Hope this answers your Question
     
    • Like Like x 1
  19. Cesar Maranhao

    Cesar Maranhao Member

    Joined:
    Feb 24, 2018
    Ratings:
    +11 / 0 / -0
    this answer gave me a better insight on how laptimes are calculated but still the question remains, how is it compared to the average/reference laptimes we get from an event in raceapp?

    From what I see, seems that average laptimes for a session correspond to reference laptimes on raceapp. Maybe I should try and ask to the raceapp developer now that I know how you did it with otterhud?

    reason I am asking this is because I am trying to compare the laptimes I have now with otterhud and trying to compare them to an event I have made 6 months ago using the data stored on the raceapp event. I want to figure out if I am faster or slower (apparently I am faster but to know for sure I need to know first how are the averages calculated).

    maybe this was not clear when I asked on my previous post.
     
  20. NL-Jos

    NL-Jos Well-Known Member

    Joined:
    Jun 5, 2015
    Ratings:
    +182 / 0 / -0
    Is it possible with this hud to see your own ping and fps?