1. #1
    jook13's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    3,157

    The score board on the motocross track

    Im sure you have seen it in the background of the beginner motocross track, its a giant sign that displays your time during your run. I have scoured the editor and have not found any sign or object that can display numbers like that, anybody know what object that was? Is it something that is not available to us or am I just being dumb here? Would be cool for this skill game I am making...
    Share this post

  2. #2

    Re: The score board on the motocross track

    I've looked too with no success. I almost wanna say they used pipes for the numbers, but that would be absurd.
    Share this post

  3. #3

    Re: The score board on the motocross track

    Originally Posted by bobozilla
    I've looked too with no success. I almost wanna say they used pipes for the numbers, but that would be absurd.
    Nope. Planks.
    Share this post

  4. #4

    Re: The score board on the motocross track

    Originally Posted by pahapertti
    Nope. Planks.
    I've been wondering about that too. Can you give some hints on how it was programmed?
    Share this post

  5. #5

    Re: The score board on the motocross track

    Originally Posted by kamesatlee
    Originally Posted by pahapertti
    Nope. Planks.
    I've been wondering about that too. Can you give some hints on how it was programmed?
    With patience.

    Use the set color event on planks and the game variable to get the time value. Then a interval trigger to color the right planks each tick based on the time.
    Share this post

  6. #6
    RedLynxANBA's Avatar Trials Developer
    Join Date
    Mar 2014
    Posts
    1,796

    Re: The score board on the motocross track

    Maybe PahaP can explain more non coder way?
    Share this post

  7. #7

    Re: The score board on the motocross track

    Ok, here goes:

    -Take game variable datasource (time)

    Time / 60 / 10 % 6 = X0.000 s
    Time / 60 % 10 = X.000 s
    Time / 60 * 10 % 10 = 0.X00 s
    Time / 60 * 100 % 10 = 0.0X0 s
    Time / 60 * 1000 % 10 = 0.00X s

    -Then just set up a system which colors the correct planks according to these numbers. Basically it's sets of ten generic filters comparing to numbers from 0 to 9.

    Sorry if that makes no sense; I'm tired.

    Here's a picture to help understand how it works:
    Share this post

  8. #8

    Re: The score board on the motocross track

    That makes perfect sense. Thanks so much for the detailed answer!
    Share this post

  9. #9
    jook13's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    3,157

    Re: The score board on the motocross track

    Very cool! Thanks for the answer guys.

    PS.... Future DLC object, eh? score board that can display any data source?
    Share this post

  10. #10

    Re: The score board on the motocross track

    It looks to me like they need a future object that would be a grid you could snap all your data items into. All that floating on some random plane in mid-air makes my OCD twitch.
    Share this post