R3E live stream overlay editing(current standings)

Hi, I have changed a few things in the stream overlay for R3E but how to edit the current standings so it shows full lastnames, like ''Larsen'' instead of ''LAR'' as its by default?... Have seen on RaceDepartment streams that they have changed it so show full names, so hope someone here can help
 
Go to ->

spectator\assets\components\widgets\currentStandings

open currentStandings.jsx

Then find the fixName: function (name) in that file

Replace that section with with:

fixName: function(name) {
var parts = name.split(' ');
return parts[parts.length-1].substr(0, 15).toUpperCase();
 

Latest News

What is the reason for your passion for sim racing?

  • Watching real motorsport

    Votes: 170 66.7%
  • Physics and mechanics

    Votes: 112 43.9%
  • Competition and adrenaline

    Votes: 117 45.9%
  • Practice for real racing

    Votes: 44 17.3%
  • Community and simracers

    Votes: 70 27.5%
Back
Top