• "Bite off more than you can chew and then chew like hell." - Peter Brock
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with projected illumination

Discussion in 'Racer Problems & Fixes' started by AMGfan(BPM), Apr 25, 2010.

  1. AMGfan(BPM)

    AMGfan(BPM)

    Messages:
    804
    Ratings:
    +30
    I am getting strange results. first, i cannot put the beam brighter, it still illumining the same. i want more illumination power from beam (projected light), need i modify something in racer.ini, in car ini section or the tga file? another doubt is how can i put the beam near the car front. it is too far, looks strange again. i tried to modify z value to -300 but it keep in the same place. please , help me.
     

    Attached Files:

  2. FiftyOrange

    FiftyOrange

    Messages:
    492
    Ratings:
    +0
    A temporary solution would be to put two lights in the same place.

    I use this code:

    Code:
    lights
    {
      ; Projected lights
      light0
      {
        texture=light_spray.tga
        ; Field of view (vertical)
        fov=55
        ; Aspect (horizontal)
        aspect=5
        ; Distance to car
        z=2
        ; Pitching with respect to car (in degrees)
        pitch=5
      }
    }

    you could add extra light by putting another set in with the same values:


    Code:
    lights
    {
      ; Projected lights
      light0
      {
        texture=light_spray.tga
        ; Field of view (vertical)
        fov=55
        ; Aspect (horizontal)
        aspect=5
        ; Distance to car
        z=2
        ; Pitching with respect to car (in degrees)
        pitch=5
      }
      light1
      {
        texture=light_spray.tga
        ; Field of view (vertical)
        fov=55
        ; Aspect (horizontal)
        aspect=5
        ; Distance to car
        z=2
        ; Pitching with respect to car (in degrees)
        pitch=5
      }
    }

    I expect you already have a good enough TGA for the job, so I wont bother uploading the one I use.
     
  3. AMGfan(BPM)

    AMGfan(BPM)

    Messages:
    804
    Ratings:
    +30
    thanks 50man, gonna try and post what i found
     
  4. FiftyOrange

    FiftyOrange

    Messages:
    492
    Ratings:
    +0
    Did it work?
     
  5. AMGfan(BPM)

    AMGfan(BPM)

    Messages:
    804
    Ratings:
    +30
    yes and no.. you can add one more layer for the light, and put another color, so it will mix with the another one. But dont increase the light power. It is just the same. But thanks, maybe someday Ruud improve it.