1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Like RaceDepartment on Facebook.

KS2 Dashbord readout update.

Discussion in 'netKar PRO' started by Daniel Ouff, Oct 31, 2012.

  1. this is a how-to on changing the colours on the dash readouts for a better and easier read.
    [​IMG]

    I have changed the KS2's dash lights to show the info in different colours. It allows a quick glance to see the laptime, gear, speed etc, more clearly than the all red readout.
    You can alter the colours in the testdash file to get a range of colours; these are the ones I got after a bit of experimenting.
    Back up your original testDash file before installing.It goes here: your drive/nkpro13/cars/formulaKS2/nkdk/testDash.


    The colours are, in order: Red, Green, Blue. The values are 0-1.
    In my example above I have the RPM on the right as the standard red: R=1.0,G=0.0,B=0.0.
    So that is Full Red as the value is 1.0 and green and blue are at 0 which = black.

    The fuel number on the bottom left is R1.0,G1.0,B1.0 which equals full white.

    The split time on the bottom right is nearly full green which is R0.0, G0.955, B0.0.

    by using fractions below 1.0, you can now mix the 3 colours to arrive at any combo of hues you like.
    Here is my full NKD file which are the colours in the above image:


    BASEFRAME=STEER
    BASEPOS=0.0,0.00,-0.00


    BEGIN CGearDisplay

    TEXTURE=font2.tga
    POSITION=-0.008,0.076,-0.001
    WIDTH=0.02
    HEIGHT=0.02
    COLOR=0.0,0.0,0.840

    END

    BEGIN CTimeDisplay

    TEXTURE=font2.tga
    POSITION=-0.025,0.055,-0.001
    WIDTH=0.015
    HEIGHT=0.015
    COLOR=0.10,0.355,0.541
    TYPE=LASTLAP
    KERN=0.5
    END

    BEGIN CTimeDisplay

    TEXTURE=font2.tga
    POSITION=-0.06,0.055,-0.001
    WIDTH=0.01
    HEIGHT=0.01
    COLOR=0.0,0.955,0.0
    TYPE=PERF
    KERN=0.5
    END

    BEGIN CTimeDisplay

    TEXTURE=font2.tga
    POSITION=-0.058,0.074,-0.001
    WIDTH=0.015
    HEIGHT=0.015
    COLOR=1.0,0.0,0.0
    TYPE=RPM
    KERN=0.5
    END

    BEGIN CTimeDisplay

    TEXTURE=font2.tga
    POSITION=0.025,0.074,-0.001
    WIDTH=0.015
    HEIGHT=0.015
    COLOR=0.0,0.547,0.0
    TYPE=SPEED
    KERN=0.5
    END

    BEGIN CTimeDisplay

    TEXTURE=font2.tga
    POSITION=0.035,0.055,-0.001
    WIDTH=0.008
    HEIGHT=0.008
    COLOR=1.0,1.0,1.0
    TYPE=FUEL
    KERN=0.5
    END





    BEGIN CRpmLight
    OBJECT=LED_0
    LIMIT=1000
    COLORON=1,1,1
    DIFFUSE=0.1,0.1,0.1
    END

    BEGIN CRpmLight
    OBJECT=LED_1
    LIMIT=7500
    COLORON=1,1,1
    DIFFUSE=0.1,0.1,0.1
    END

    BEGIN CRpmLight
    OBJECT=LED_2
    LIMIT=8000
    COLORON=1,1,1
    DIFFUSE=0.1,0.1,0.1
    END

    BEGIN CRpmLight
    OBJECT=LED_3
    LIMIT=8500
    COLORON=1,1,1
    DIFFUSE=0.1,0.1,0.1
    END

    BEGIN CRpmLight
    OBJECT=LED_4
    LIMIT=9000
    COLORON=1,1,1
    DIFFUSE=0.1,0.1,0.1
    END

    BEGIN CRpmLight
    OBJECT=LED_5
    LIMIT=9500
    COLORON=1,1,1
    DIFFUSE=0.1,0.1,0.1
    END

    BEGIN CRpmLight
    OBJECT=LED_6
    LIMIT=9900
    COLORON=1,1,1
    DIFFUSE=0.1,0.1,0.1
    END
     

    Attached Files:

    • Like Like x 2