Is the score tower code working?

Discussion in 'Track Modding' started by McNolo, Aug 30, 2013.

  1. McNolo

    McNolo Registered

    Joined:
    Oct 5, 2010
    Messages:
    476
    Likes Received:
    945
    I'm trying to make work the score tower, but it seems the code don't works.

    Is my error or effectively the code don't works?

    Thanks.
     
  2. Marco Bijl

    Marco Bijl Registered

    Joined:
    Dec 23, 2011
    Messages:
    283
    Likes Received:
    8
    Doesnt it work at Malaysia? There is 1 there, and is has some code in it as well I believe. Cant test it now as I dont have my gaming miaching here.
     
  3. McNolo

    McNolo Registered

    Joined:
    Oct 5, 2010
    Messages:
    476
    Likes Received:
    945
    With the new build, the score tower code works with "Viewer", but not in "Developer Mode". I don't tested it in "Single Player"

    Regards.
     
  4. Leonardo Nogueira

    Leonardo Nogueira Registered

    Joined:
    Apr 1, 2016
    Messages:
    260
    Likes Received:
    358
    Hey guys... sorry for re-open the topic, but there is any tutorial about score tower modding? I'd like to create a score board like in kart tracks with the number kart and laptime!
    Thanks
     
  5. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,782
    Likes Received:
    2,243
    It can only show position.
     
  6. Leonardo Nogueira

    Leonardo Nogueira Registered

    Joined:
    Apr 1, 2016
    Messages:
    260
    Likes Received:
    358
    hmmmm... there is any tutorial that you know? mandatory names, codes, etc?
     
  7. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,782
    Likes Received:
    2,243
    In the GDB file:

    ScoreboardFont=Barber_Font.tga // default is scoreboardfont.bmp
    ScoreboardBackground=SCORETOWERBG.tga // default is scoreboardbkg.bmp

    ScoreboardMaxEntries=10 // how many car numbers can be displayed on tower (default is 32)
    ScoreboardStartX=96.0 // x-position in texture to write first car number (default is 0)
    ScoreboardStartY=14.7 // y-position in texture to write first car number (default is 10)
    ScoreboardIncX=0 // increment in x-position for each new car number (default is 0)
    ScoreboardIncY=100.8 // increment in y-position for each new car number (default is 16)
    ScoreboardScaleX=4.58 // scale multiplier for x (default is 1.0)
    ScoreboardScaleY=3.77 // scale multiplier for y (default is 1.0)

    So, you'll need a material that has SCORETOWERBG.tga as the texture. You'll also need to tag it as a render target in the material setting.
     
    Alexandr Meshkov likes this.
  8. Leonardo Nogueira

    Leonardo Nogueira Registered

    Joined:
    Apr 1, 2016
    Messages:
    260
    Likes Received:
    358
  9. Leonardo Nogueira

    Leonardo Nogueira Registered

    Joined:
    Apr 1, 2016
    Messages:
    260
    Likes Received:
    358
    BTW, how can i find the correct numbers for my scoreboard? Trial and error???
     
  10. Coutie

    Coutie Moderator Staff Member

    Joined:
    Oct 5, 2010
    Messages:
    3,782
    Likes Received:
    2,243
    In the viewer, there is a menu where you can adjust it.
     
  11. Leonardo Nogueira

    Leonardo Nogueira Registered

    Joined:
    Apr 1, 2016
    Messages:
    260
    Likes Received:
    358
    ok, thanks again! hehehe
     

Share This Page