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.

attempt @ Modding racer and help needed

Discussion in 'Racer' started by ammods, Nov 20, 2010.

  1. ok guys, after a long discussion with you, in my other thread, i thought i'd show you something what i've began working on,

    now here's the problem i've posted screens, one is CG, one is nonCG what am i doing wrong, i could really use some feedback here, i'd like to begin to move to racer, as world racing 2 is old now and i need something else to bring my models to,

    and racer is emerging from the mire of car modding, failing this, i may just retire permanently from game modeling and thats not something i'd like to do..so if anyone can help me out then i'd be greatly indebted to you,

    i've used the dof exporter for 3dsmax, i guess i've got alot to learn any info please, on what i need to do, once i've got my model to dof format,
     

    Attached Files:

  2. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    hmm...for me it looks like the one in first pic is old shader sys and the second is with out any shader...because if you use cg it should look white...
     
  3. ok what line do i need to change in the current shd, file to get my textures to work - the second pic is using nocg
     
  4. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    ok...an example...for a basic shader...

    ...this is from the actual lambo...put for the red colored names your Material- and textur- name....
    then it should work...
     
  5. nup did as you said, still doesnt work,
     
  6. does qlog.txt tell u anything interesting? load the body dof in racer Modeler and see what Racer thinks the material names are.
     
  7. The dof exporter can generate a basic nocg shader for you. Did you check it out?
     
  8. attached is the Qlog,

    if anyone is willing to help me, sort this out, send a pm, i've done everything that i'm supposed to do, at least i thought,

    the nocg isnt working at all now, i'm not sure why

    dof export shows the textures, as does modeler, just not working ingame
     

    Attached Files:

  9. Well, the QLOG is self explanatory - you haven't defined the shaders for your materials!

    For example:
    Code:
    Sat Nov 20 18:32:09 (WARN): [racer/4680] No shader found for material 'wccarbody' in 'data/cars/ve2010/body.dof' (default 'hrt_fade_base.tga')
    
    means that you haven't defined a shader named 'shader_wccarbody'.

    So something like this must be in your car.shd:
    Code:
    vf_standard
    {
       vertex_shader
       {
           file=dyn_standard_v.cg
       }
       fragment_shader
       {
           file=dyn_standard_f.cg
       }
    }
    
    shader_wccarbody~vf_standard
    {
        layer0
        {
            map=hrt_fade_base.tga
        }
    }
    
     
  10. Some1 beat me to it lol
     
  11. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    LoL..yep he forgot to replace the lambobody.tga with his textur....^^
     
  12. haha, was that supposed to be a joke lol

    [​IMG] anyways here it is, i guess i have to do the same for the missing "black" as well, ie missing textures?

    thanks guys sorry but i really want to work this out cheers
     
  13. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    yep, for all materials and textures....
     
  14. Racer is cutting edge graphics, with a blend of 'old school text editing charm...
     
  15. bugger, so where do i insert the lines, do i, do it under the line that i've just put in there, or is it further down?
     
  16. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    yes, look in to the car.shd file from lambo, then you see and understand how it works^^...i hope...
     
  17. yep but that isnt going to help me, this car has 40 odd materials and thats just for body,
    also how does the driver work, is there a driver model, and what of the cockpit view?
     
  18. [​IMG]

    ok here's an update on what i've managed to achieve so far, think i've got the shader things sorted for the most part, just not sure how to set transparency for windows? suggestions welcome
     
  19. Alexander Knoll

    Alexander Knoll
    NEVER GIVE UP!!

    ...

    i control the transparence with the alpha cannel...not sure if there are a other way too...
     
  20. ok so where do i insert that, and dont be rude lol

    cheers

    this is what i've got so far, i've saved as a text file because i cant upload shd files here just need to know where to insert the text, you've given me
     

    Attached Files:

    • car.txt
      File size:
      4.9 KB
      Views:
      83